3 ms·
Does Rust offer much of the same language features as F#?
by chrischen 6y ago
Does Rust offer much of the same language features as F#?
- penagwin 6y agoDisclaimer: not a rust of .net dev, but my impression is they’re very different in what they’re trying to. It’d would be like comparing C to Python (as an example, not as an analogy). Rust is closer to a super fancy C, compiles natively and was made with a heavily focus on certain types of memory safety. F# has syntax more like Haskell/ML, and is compiled to a bytecode instead of an executable. It runs on .NET and everything that entails.
- chrischen 6y agoThat's actually why I'm asking about that since the OP is transitioning backend logic from F# to Rust. So either Rust can cover a lot of the language features or he has a use case that really warrants that performance (and F# on .NET is not exactly non-performant).
- mamcx 6y agoNear. Exist some fancy features that are not present, but the practical side is covered...