News for hackers. Stuff that matters.
Re:First Rust Code Shows Up in the Windows 11 Kernel by flooow on Saturday May 13, 2023 @05:27AM (#35926867)
The way I have seen it explained before: Rust is not the perfect applications language, but there actually aren't any good mainstream applications languages out there, so Rust is perhaps the best we've got.

What I want:

    * Powerful, strict typesystem (typeclasses, sum types, type-inference, closures)
    * Constrained mutation, no 'spooky action at a distance'
    * Safe multithreading
    * Fast
    * Memory-safe
    * Native binaries
    * Large, deep ecosystem
    * Great tooling
    * Jobs
Rust comes closer than most.
Re:First Rust Code Shows Up in the Windows 11 Kernel by kaba0 on Saturday May 13, 2023 @07:35AM (#35927404)
Funnily enough, Haskell also fulfills all the listed qualities.
Re:First Rust Code Shows Up in the Windows 11 Kernel by codethief on Saturday May 13, 2023 @08:04AM (#35927563)
How many jobs are out there where they expect you to know Haskell?
Re:First Rust Code Shows Up in the Windows 11 Kernel by pjmlp on Saturday May 13, 2023 @09:01AM (#35927965)
More than for Rust, given its age.
Re:First Rust Code Shows Up in the Windows 11 Kernel by flooow on Saturday May 13, 2023 @12:57PM (#35930242)
Not sure that this is true now, but willing to bet my career that this won't be true in 3 years.
Re:First Rust Code Shows Up in the Windows 11 Kernel by pjmlp on Saturday May 13, 2023 @01:51PM (#35930819)
Depends on how much people feel like writing userspace code with the usability of a language designed for kernel, drivers and GPPGU programming.

https://wiki.haskell.org/Haskell_in_industry

Re:First Rust Code Shows Up in the Windows 11 Kernel by flooow on Saturday May 13, 2023 @12:54PM (#35930201)
That is not a coincidence :) I like Haskell a lot but at this point I am willing to bet that I will never be paid to write it. It fells like community of 'people like me' have collectively decided that Rust, not Haskell, is their best bet for a better life, and I'm fine with that.
Re:First Rust Code Shows Up in the Windows 11 Kernel by pharmakom on Saturday May 13, 2023 @09:16AM (#35928064)
Rust is awesome but the ecosystem and job market are tiny.