Hacker News new | ask | show | jobs
by worik 481 days ago
> IMO it's not the right tool for high level stuff

I thought that for a long time. But as time passes and I spend more time in languages like Typescript (Semi-Type Script more accurately) and Swift the more I yearn for Rust.

It is not the right tool for scripting, true.

2 comments

I think most server type software can trade off the borrow checker for a GC while still benefiting from other Rust stuff.

IMO there's still need for a higher level Rust where you don't need that last 20% of the performance and control.

Some people say that OCaml is the high level rust, but I think it's got a lot of gaps which rust doesn't.

Where OCaml lost me was the packaging and building story. Dear Lord am I spoilt by Cargo.

Nice language otherwise.

Are you referring to dune (building) and/or opam?
Yeah absolutely. Cargo is one of the highlights of Rust. Completely no nonsense.
Yeah I feel that, not the entire language but, many of its choices, like error handling, sum types (with exhaustive enum matching) especially when writing in python.
Yeah this is the stuff I meant when I said high level languages should borrow from Rust.

It's also good to remind people that these things were borrowed by Rust from other languages too. Primarily the ML family of languages.