News for hackers. Stuff that matters.
Re:Modern C by richardwhiuk on Friday September 04, 2020 @01:06PM (#24376768)
You can do this with Rust on godbolt as well.
Re:Modern C by saagarjha on Friday September 04, 2020 @02:07PM (#24377413)
Generally with Rust you're going to get significantly more "junk" in the output.
Re:Modern C by SubjectToChange on Friday September 04, 2020 @10:31PM (#24380943)
Most of the noise in Rust's emitted assembly is just panic code. Without that Rust's assembly looks a lot like C++'s and more like C's.
Re:Modern C by nwmcsween on Saturday September 05, 2020 @02:29AM (#24381742)
Compile both with -o0 see which one is more readable