moss: a Rust Linux-compatible kernel in about 26,000 lines of code
Posted by hexagonal-sun@reddit | linux | View on Reddit | 11 comments
Posted by hexagonal-sun@reddit | linux | View on Reddit | 11 comments
WaitingForG2@reddit
Distributed under the MIT License
hieroschemonach@reddit
And?
WaitingForG2@reddit
And companies like Google(and many others android related companies) will be happy to see it succeed, considering recent locking down of the platform
Fupcker_1315@reddit
If you were thinking about GPL, then Rust fundamentally doesn't play well with it because GPL/LGPL are very C-centric while Rust heavily relies on monomorphization and inlining. A much better license would be MPL-2 if you wanted something "copyleft".
ausstieglinks@reddit
Just because rust originated at Mozilla doesn’t mean you have to use the mpl with it…
Fupcker_1315@reddit
MPL just plays much better with non-C languages than LGPL.
ausstieglinks@reddit
What specific aspects?
stylist-trend@reddit
LGPL requires that the library is limited on at runtime (which allows it to be swapped out). At the moment rust does not have a stable ABI, so everything is statically linked, breaking the LGPL and making it act instead like the regular GPL.
ppp7032@reddit
this is a fun fact but not particularly relevant to the discussion of the downsides of MIT.
hieroschemonach@reddit
Runs on Pi4 🥰.
hexagonal-sun@reddit (OP)
Yep! I should really write a guide on how to get it booting on various bits of hardware.