News for hackers. Stuff that matters.
Re:Things you can’t do in Rust (and what to do instead) by dathinab on Saturday May 15, 2021 @01:37PM (#27167224)
> Haskell -- arguably a simpler language than Rust

From a PL research point of view maybe.

But from a POV of what is simpler to use for a average or new programmer, Haskell is far worse as far as I can tell.

> due to much more prevalent reliance on unsafe as well as FFI

Where? In embedded programming? Or programming from primitives (which I would argue a average programmer never should do, there are existing libraries)?

In some use-cases you always end up with a FFI, but that is also true for other languages.

Besides that usage of unsafe is both strongly discouraged and uncommon.

There are a lot of rust use cases where using unsafe code is never necessary to a point where people simple ban any direct usage of unsafe code in their project.

There are no comments on this comment yet.