News for hackers. Stuff that matters.
Re:Moonbit: The fast, compact and user friendly language for... by afavour on Saturday August 19, 2023 @10:50AM (#37189374)
> one can't help but imagine a Rust-but-with-GC world

Rust with reference counting gets you a long way there. I’ve leaned in Rc<> a ton in some projects and had a pretty great experience.

Re:Moonbit: The fast, compact and user friendly language for... by mmastrac on Saturday August 19, 2023 @11:12AM (#37189578)
I built https://github.com/mmastrac/keepcalm/ to specifically give "permission" to use ref-counting to make your life easier. For a webserver, references don't make any sense and really don't add anything measurable from a performance perspective.
Re:Moonbit: The fast, compact and user friendly language for... by afavour on Saturday August 19, 2023 @12:01PM (#37190087)
That’s awesome. I do think someone smarter than me needs to write a “Pragmatic Rust” book, or something. The complexities around references and lifetimes put a lot of people off but really aren’t necessary a lot of the time.