← Back to context

Comment by andai

14 hours ago

In my experience, what's actually nice is the correctness. The low-levelness is not helpful for most of the software I write, and imposes a constant burden.

Rust, of course superbly achieves its goals within its niche! But it is a niche, is my meaning here.

What I actually want is code that's correct, but ergonomic to write. So my ideal language (as strange as it sounds) would be Rust with a GC.

I don't want to worry about what string type I'm using. I want it to just work. But I want it to work correctly.

Lisette looks like it's in this exact category! It seems to combine the best aspects of both Rust and Go, which is a very promising endeavour. I'll have to take a proper look :)

There are an endless number of modern MLs that do the same thing. That's not a novelty - Rust was novel in making it part of a low-level language.

  • I don't think being low level is the main innovation, really. There are several things Rust did right over traditional ML. Explicitly caring about learnability and the "weirdness budget". Having great error messages that don't require a course in category theory (many ML) or 800kB of scrollback buffer (C++) to understand.

    Having great tools. Excellent documentation. Being friendly to new users.

    Yes, it's also a systems language without a runtime. But that's not the novel part. You could write horrors in C++ that approximate ML even without language support. There are eldritch libraries where some kind of pattern matching is done via generic lambdas.

    The main difference is developper UX. Good tools, good error messages, quality of life. The novelty is making ML not painful.

    • > Yes, it's also a systems language without a runtime. But that's not the novel part.

      Low level strong correctness was absolutely a novel part. In fact it’s exactly why many people glommed onto early rust, and why it was lowered on the stack.

      Although learnability and weirdness budgets were also extremely novel in low level contexts which had been subsumed by C and C++.

      > horrors in C++

      Yes, horrors in C++. Half baked jerry-rigged and barely usable nonsense. Not an industrial strength langage with a reliable type system and a strong focus on safety through types.

      3 replies →

    • These are all great qualities of rust, but they would not have been enough to make a dent.

      Being memory safe without being managed is what makes rust a truly novel and interesting language for which it rightfully gets the hype.