News for hackers. Stuff that matters.
Re:Why Not Rust? (2020) by adgjlsfhk1 on Sunday December 19, 2021 @03:12AM (#29612298)
One thing that has been discovered over the past 50 years and applied over the last 30 or so is that writing a bootstrapping compiler for a young language tends to strongly bias the language towards being good at writing compilers (potentially to the detriment of other features). Compilers are essentially graph algorithms on loosely typed data. I think a lot of the reason it took so long for Rust and Julia to be invented is that they are both not very good languages for writing a compiler in, so in the era where all the new languages had bootstrapping compilers, no one would write a language with the sets of tradeoffs they have.
Re:Why Not Rust? (2020) by surajrmal on Sunday December 19, 2021 @06:22AM (#29613088)
I very much agree. In fact, taking it a step further, OS which self-host development also have this problem where they over optimize for an OS good at compiling and not necessarily good at other things.