Hacker News new | past | comments | ask | show | jobs | submit login

I love Rust but it is accidentally in the position of trying to serve two disparate camps of people. Developers who just want a modern ML-ish language with good tooling and some actual lessons learned from PL theory, and developers who need near-total control over the hardware but are tired of working with C & C++ and manually solving decades-old problems with memory safety. The former are a very large audience, but have to deal with requirements imposed by the latter which are irrelevant for their use case.



This a million times. I love working with Rust because it's - from my point of view - an ML language disguised in C-syntax (with a package manager and unit testing etc. etc). Most of the time I'd be served well by a GC version of Rust.


Rust with gc by default and higher kinded traits being sane and supported would be my fave


Same. I wished for this many times. I don't need incredibly detailed on-the-metal precision and most of the time, I do not want to think about stack, heap or lifetime parameters. I enjoy the language for its syntax.


> Most of the time I'd be served well by a GC version of Rust

You've just described Scala which inspired many of Rust's features.


That would be Standard ML, Haskell and OCaml, not Scala.


>Most of the time I'd be served well by a GC version of Rust.

Swift I suppose although it doesn't make much sense outside of the Apple ecosystem.


When using automatic memory management is an option, there are a couple of Rust alternatives with ML influence.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: