Get the latest tech news
My Rust experience after eight years
Soon it will be eight years since I’ve (re)started NihAV development in Rust. And for this round date I’d like to present my impressions and thoughts on the language—from the perspective of applicability in my experimental multimedia framework.
The former means that you start to get an increasing amount of problems if you software grows in complexity and has to manage interactions between various components, countless interfaces and data structures (mind you, it is possible to overcome it, as Linux kernel shows, but even they have to resort to various tricks and tools to keep development running). Beside the normal operations (like.chunks_exact()) that should provide enough hints for the compiler, it is possible to resort to low-level tricks like allocating uninitialised memory for temporary buffer that you know will be written to or transmuting one type to another (and conversion between floating-point number and its integer representation is a part of the standard library). But I also understand that they slow compilation time significantly and feed paranoia of any security specialist (because you end up building a binary—or downloading a precompiled one, like Serde did for some time—that runs on your machine modifying your code and theoretically doing anything else.
Or read this on Hacker News