HNHacker News
TopNewBestAskShowJobs

cohani

0 karma · joined October 10, 2026

submissionscomments
cohani··on C for Rust programmers
It is easier to write a C compiler from scratch than a Rust compiler from scratch. No usage of LLVM or anything like it.

That also reflects in that many embedded systems offer C support and do not offer Rust support.

cohani··on C for Rust programmers
Focusing narrowly on memory safety is frequently a distraction that incompetent developers use to excuse their buggy code. "Sure, my Rust code might cause deaths and cause millions of dollars lost; and my code might be unsafe, insecure and incorrect; but at least my code is memory safe and easy to debug when I fuck it up!". And then it often turns out that Rust is not memory safe in practice. https://news.ycombinator.com/item?id=49697392

The real value of Rust is likely pattern matching and tagged unions. Apart from modules/packages that are not a disaster, like Gabriel Dos Reis the saboteur's disaster with modules in C++.

cohani··on C for Rust programmers
Maybe the author was given monetary support from the Rust Foundation, they have given money to people to write blog posts https://rustfoundation.org/media/introducing-our-newest-proj... . They love media instead of technical work.