5 ms·
I was hoping to see a good review of rust that would convert me from Go/C#/Java but alas this was not it. Seems like the writer finally experienced an errors a
by jpc0 2y ago
I was hoping to see a good review of rust that would convert me from Go/C#/Java but alas this was not it.
Seems like the writer finally experienced an errors as values statically typed language which doesn't have a ton of legacy in it. Many of the issues OP mentioned (CJS vs MJS, configuration file changes) comes from being around for a while, Rust just hasn't had the time in the saddle yet to show how they would deal with that. Don't get me wrong, I'm not saying they won't deal with it well but Python 2-3, Vue, JS CJS to MJS etc all show that a fundamental change to some core part of the language / framework is very tough to navigate and quite frankly Rust hasn't needed to do that yet.
- satvikpendem 2y agoRust simply has the best toolchain dev experience of any ML. OCaml for example is notoriously bad with its toolchain compared to cargo, although OCaml compiles insanely quickly.
- dathinab 2y agobut Rust isn't a ML, it has ML aspects (and not few) but that's it Many ML patters do not work well in rust at all, and trying to force them will lead to a lot of unnecessarily complex code i.e. hard to write, maintain and potentially even read. And to be clear I mean rust specific issues, not issues due to not being familiar with ML. The issue is with ML in Rust you very easily hit some of the corners where Rust isn't yet fully flushed out, corners you tend to rarely run into if you write non-ML code with some ML aspects instead of ML code.
- satvikpendem 2y agoTrue, I should have said ML-like language, not strictly an ML.
- pjmlp 2y agoAs F# user I don't think so.
- satvikpendem 2y agoF# is pretty good but the language has so few users, while Rust strikes the balance of best in class toolchain and also a growing user base.
- pjmlp 2y agoSo it is about toolchain or counting users? Change of speech when it doesn't fit?
- satvikpendem 2y agoIt's about both, the toolchain and language is used by users, so there's no need for a toolchain (or indeed, any piece of software) that has no users. Or rather, I should amend my earlier point to be, of the languages that are generally used by people, ie are not niche, Rust has the best toolchain of them. I consider most MLs these days to be niche, for lack of multiple high profile projects in those languages.
- pjmlp 2y agoSo Rust also has a debugging experience at the same level as Rider and Visual Studio. The ability to hot load code dynamically, fast compile-debug cycle thanks to a JIT and REPL, in addition to a native code compiler. Being able to plug into OS events like ETW, Instruments and perf. Cloud infrastructure tooling for container orchestration. Being able to be hosted inside SQL Server for writing stored procedures.
- jjtheblunt 2y agoF# is great, but what toolchain is your favorite? (i'm in a Rust phase as an old C person for work the last couple years, so am out of date with F#'s world)
- pjmlp 2y agoVisual Studio, mostly. Otherwise go for Rider.
- deleted 2y ago[deleted]