Someone on reddit joked that Rust is becoming the new Crossfit meme;
"How can you tell when someone programs in Rust?" "Don't worry, they'll tell you."
Someone on reddit joked that Rust is becoming the new Crossfit meme;
"How can you tell when someone programs in Rust?" "Don't worry, they'll tell you."
I’m really not big fan of Rust, but I love that’s it’s always looking over my shoulder for stupid mistakes.
What are you building with Rust?
I’m Rust I’m found various side projects. An all in one PiHole like dns server, a distributed key value store based on raft and an openwrt module.
But nothing interesting or revolutionary enough to share.
How about you?
Except DJB, of course.... ;-)
> "This claim is denied. Nobody gives gigabytes of memory to each qmail-smtpd process, so there is no problem with qmail's assumption that allocated array lengths fit comfortably into 32 bits."
Years later it turns out that well, "nobody" was lots of people. Not DJB of course, DJB can claim that DJB's software works exactly the way DJB intended, but for everybody else not so much.
I maintain a very large C++ project used to run airlines around the world that hasn’t had a bug in production for 5+ years. No crashes. No memory leaks. No production shutdown. Not even once. So no it most definitely is possible to write solid code in C++. However I do agree that it is hard :) I managed to do it by having 9000+ tests testing all aspects of the code.
Another (more public) example is SQLite. I am sure there are more examples out there. Airbus avionics software is written in C for example.
List of SQLLite exploits,
https://www.cvedetails.com/vulnerability-list/vendor_id-9237...
But if I wanted to let loose these days and write some code without worrying about the safety that rust has to offer, I’d reach for Zig. It seems to solve a lot of C’s problems while being a much cleaner, well thought through language for low level code. Im a fan!