r/programming • • Apr 14 '21

[RFC] Rust support for Linux Kernel

https://lkml.org/lkml/2021/4/14/1023
730 Upvotes

308 comments sorted by

View all comments

Show parent comments

24

u/hou32hou Apr 15 '21 edited Apr 15 '21

The part that Rust done right but Haskell did not is familiarity, the syntax of rust is so familiar to C-family language that it’s much more easier to pick up than Haskell, although both of them shared similar concepts underneath (sum types, default immutability, trait/typeclass etc).

When I started learning Haskell, I spent way too much time parsing the code than actually understanding it (fortunately I managed to get pass it already), but when I learn Rust I just imported my JavaScript parser from my brain and it works most of the time, leaving me more time to actually understand the concept beneath (borrow checkers etc).

7

u/[deleted] Apr 15 '21

The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn.

Alvin Toffler

1

u/[deleted] Apr 15 '21

[removed] — view removed comment

3

u/[deleted] Apr 15 '21

Haskell for the masses

More like a mix of Haskell and C for the masses