News for hackers. Stuff that matters.
Re:Why am I writing a Rust compiler in C? by modevs on Sunday August 25, 2024 @06:48PM (#41352210)
Rewrite it in C. Great idea. Just do not tell it to rust community...

I like to see that programmers like you still exist and belive in what they do.

Remembered this article... https://drewdevault.com/2019/03/25/Rust-is-not-a-good-C-repl...

Re:Why am I writing a Rust compiler in C? by samsartor on Sunday August 25, 2024 @08:09PM (#41352690)
The community has been very supportive of the gccrs (https://github.com/Rust-GCC/gccrs) project, which is the main project to write a Rust compiler written in C.
Re:Why am I writing a Rust compiler in C? by Narishma on Sunday August 25, 2024 @08:23PM (#41352740)
I wouldn't say very supportive at all. It often gets bashed whenever some news about it is posted on r/rust for example.
Re:Why am I writing a Rust compiler in C? by jenadine on Sunday August 25, 2024 @11:50PM (#41353857)
It's in C++, not C
Re:Why am I writing a Rust compiler in C? by mustache_kimono on Sunday August 25, 2024 @07:55PM (#41352628)
> Remembered this article... https://drewdevault.com/2019/03/25/Rust-is-not-a-good-C-repl...

Remembering Drew Devault is the Fox News of programming bloggers. He exhibits the same sort of bad faith obtuseness, and knee-jerk neck beard tech conservatism, that makes me/many want to scream.

First, his thesis is risible. "Rust is not a good C replacement". Note, he does not mean replace C code with Rust code, but Rust, the language, literally replacing C, the language. Ignoring, perhaps, Rust doesn't want to "replace" C, because we have C!

Next, see the bulleted text. Upon each topic something interesting might be said re: Rust, but instead they all serve a garbage thesis that Rust is not the 50 year old language that the world is currently built upon.

My favorite, though, is the final bullet:

> Safety. Yes, Rust is more safe. I don’t really care. In light of all of these problems, I’ll take my segfaults and buffer overflows.

And everyone wants to be a cowboy when they are 8 years old.

Re:Why am I writing a Rust compiler in C? by Ar-Curunir on Sunday August 25, 2024 @07:32PM (#41352490)
What does that article have to do with this article? The author of the latter article even says that they don’t enjoy writing C, which is kind of the opposite of what your article says