Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust is becoming the chosen language for those that would have previously used Haskell, OCaml, Scala, but now get to use something with more mainstream mindshare.

It isn't very hard to find folks misusing unsafe to mean something else other than memory safety, or their own ZIO like frameworks.



Not sure I understand the point you're trying to make. Can you rephrase?


Easy, some folks write Haskell or Scala in Rust, because it allows them to reach a wider mindshare.

So they write their monadic and effects frameworks in Rust instead, and use unsafe to mark methods that might be dangerous, regardless of related to possible memory corruption or not.


Any examples? I haven't seen this personally.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: