Previously, we designed a vector in Rust whose length is known at
compile-time, but then how can we construct an instance of it from a
Vec<T> whose length is only available at run-time?
[Read More]
This is the (1 of N) installment of a series of short posts where I list some “smaller” features of Haskell that I’ve found neat and valuable.
[Read More]
A type-system imposes discipline on programs. And we can make the best out of it by employing correct, precise, and expressive types; ultimately even letting the type-system assisting us in our design. Equipped with well-crafted user-defined types, we can then make some illegal states unrepresentable. Additionally, types are great to...
[Read More]
Cross-compilation has a huge impact on the development of cross-platform C++ embedded software.
Therefore we have plenty of tools to help us, and dockcross is one of them, which we will briefly discuss.
[Read More]
Phantom types are useful to encode information about how, when, and where values are supposed to be used, which can catch a class of bugs early.
[Read More]