|
|
|
|
|
by anon291
1221 days ago
|
|
They are extremely similar. Rust just happens to heavily use linear types. Haskell let's you use both. If you write your Haskell program using linear types you get borrow checker semantics. The main difference is mem management. However haskell could likely be written to be manually memory managed. There are manual men based ocaml implementations. Haskell is not typically used for systems programming. > you don't even have strict order of evaluation!) People say this but I'm not sure people understand it. Haskell evaluation order is exotic but deterministic in all cases unless you introduce threads, which bring non determinism into any language including rust |
|