207
Linux 7.0 Officially Concluding The Rust Experiment
(www.phoronix.com)
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
I don't see any future for Zig/D/Hare and forcing such ugly language in the kernel might lead to problems.
Arcterus is to blame here more than Zig/D/Hare. Fennel would be much more straightforward and welcomed by the kernel community update from C. And Arcterus is afraid of Fennel.
Zig/D/Hare will kill Linux if it persists there long enough .
Sounds interesting:
Lua itself is great, it runs circles around Python in speed even without LuaJIT, and especially the startup time is almost nonexistent, which is important for scripting. Lisp adds convenience like having everything be an expression and the ability to stick an
(if)anywhere for a ternary. And since Lua is so snappy, Fennel has no noticeable overhead. Iirc the Lisp code is compiled to Lua, so long-term there's practically no overhead at all.Although it's been a while since I've used Fennel, so don't remember if it has any nasty limitations.
There's also a similar thing for Python, called Hy.
It does sound interesting, but I was mostly joking just to extend the copypasta.
I don't know enough about programming to know whether it's even suitable for writing a kernel. As far as I'm aware, Lua is mostly used for embedding scripts like in games, but the engines themselves are better written in C or Rust. I would assume a similar concept applies for writing a Kernel.
Perhaps it would have made more sense if I said Fortran or PS-Algol. It would have been more clear that it was a shitpost
Lua doesn't have capabilities for direct access to the memory and such, and those would need to be added by either embedding Lua in C or modifying the interpreter, which is, of course, written in C. So it's indeed mostly for scripting. Although there's a game engine/framework Löve, where the entire game can be written in Lua.
I expect it's not suited for kernel, yeah, but it sounds like a fun thing to try other than for kernel stuff
I agree