Hacker News new | ask | show | jobs
by PaulHoule 1554 days ago
The LISP comparison doesn’t ring true to me or even the ‘ergonomic ML’. There is nothing ergonomic about Rust at all compared to managed languages, but if you are willing to fight with the borrow checker you can get managed language safety with C speed. (I wonder though if we’d be better off with a closely integrated assembler and theorem prover if portability was not so important.)
3 comments

You don't really end up fighting the borrow checker after a while. At that point it approaches the ergonomics of managed languages, and particularly it's ML roots really shine.
I write Python professionally and Rust in my limited spare time, and Wow! do I miss the borrow checker when I go to work in the morning.

And of course: the enums, match, Option/Result, performance and a handful of other great stuff.

Rust has AST level macros, i.e. the real ones that lisp is fond of, albeit with more awkward syntax.