News for hackers. Stuff that matters.
Re:Moving from TypeScript to Rust / WebAssembly by wtetzner on Friday July 10, 2020 @10:17AM (#23791684)
> OCaml is definitely much nicer to use than C and C++. But I don't find it that much nicer to use than Rust TBH.

I find OCaml quite a bit nicer to use than Rust, though in a lot of ways that's due to my preference for structuring code using modules and functors.

However, due to Cargo and the fact that Rust has good Windows support, I end up reaching for Rust much more often than I do for OCaml.

Re:Moving from TypeScript to Rust / WebAssembly by fluffything on Monday July 13, 2020 @03:55AM (#23818253)
Modules is pretty much the only OCaml feature I miss in Rust. I can work around functors with some effort in Rust, and hopefully GATs will make this even simpler (although I don't expect GATs to give Rust functors).