787
STOP WRITING C
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Let's rewrite Linux kernel in Python
Nobody's built a supercomputer powerful enough to run a python version of even Linux Lite Edition.
Redstone it is, then.
I mean, someone made a barebones Linux work in scratch
Like... Kernel written in scratch?
Holy fuck yeah
Yeah, it uses Ed as it's text editor
Fun fact!
The Asahi Linux drivers for the Apple M1 GPU were originally written in Python: https://asahilinux.org/2022/11/tales-of-the-m1-gpu/
Good for testing and iterating, but what about performance? Though I guess getting everything right is more important right now, translating it into another language will probably require less work that way
It has already been translated into rust. Python wasn't ever intended to be used in the "real" driver, but I thought it was a fun anecdote none the less.
No in JavaScript
The prophets have foretold it: https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
Yes and let us build the environment with conda, it's going to be a fun time!