News for hackers. Stuff that matters.
Re:Notes on a Smaller Rust by 0815test on Thursday July 18, 2019 @08:26AM (#20469013)
> a more smalltalk-like "everything is just values and functions" syntax

Can you do that sort of thing without a GC? Some functional languages use tailcall as their control flow primitive, but that's just a glorified GOTO.

Re:Notes on a Smaller Rust by lmm on Thursday July 18, 2019 @09:26AM (#20469498)
I don't see why not? Rust has first-class functions and its lifetime support is supposed to be a big selling point, so it ought to be possible to implement things like "if" and "for" as userspace functions - and if not, then that suggests important limitations to its lifetime/ownership model.