News for hackers. Stuff that matters.
Re:Speed of Rust vs. C by amluto on Saturday March 13, 2021 @10:37AM (#26447235)
In C you can access pointers to memory mapped files effortlessly in ways that are often extremely unsafe against the possible existence of other writers and against the making being unmapped and mapped elsewhere. It’s also traditional to pretend that putting types like int in a mapped file is reasonable, whereas one ought to actually store bytes and convert as needed. Rust at least requires a degree of honesty.

There are no comments on this comment yet.