logoalt Hacker News

voidwalker0 • yesterday at 6:02 PM • 2 replies • view on HN

Don't really get the hype over Rust... I, personally, like C more. It would be much more smarter to make another server on simple and clean C, rather than using a language that already has a big toolchain and also compiles longer.


Replies

rescbr • yesterday at 7:04 PM

Considering that LLMs more often than not forget stuff when writing code, I definitely prefer Rust's automatic memory management system compared to balancing mallocs and frees throughout the code.

You could do RAII in C++, but the compiler won't warn on unsafe code.

BadBadJellyBean • yesterday at 6:26 PM

C is a loaded gun pointed at your foot regarding memory management. Rust directs your gun somewhere safer. That is why.