Can I write an OS in Python ?
Can I write an OS in Python ?
Other urls found in this thread:
Can you build a car out of paper?
You can't do anything, you depressed sack of shit.
Yes. That's what Toyota has done.
no, it doesn't have the low level control necessary
yes but run it through a python to C# crosspiler first. the C languages are all basically assembly so they'll run faster as an OS
if you are a masochist, yes.
I would recommend C though. It's fast and does memory handling, something that python lacks.
In all of seriousness though before even begin trying anything, ask yourself the following question "Are you masochistic enough to literally reinvent the wheel?".
underrated post
Huh. I remember that Lexus.
If your l337 enough then yes if no then no
C# is not a language in the same category as C or C++
IT DOES NOT COMPILE to raw machine code.
yes
excessively rude
Sorta, not really, but do checkout micropython.org
Sure. Create your own Python interpreter in the kernel implementing all the raw I/O necessary mapping to Python commands, then go ahead and make your OS.
Why not just rewrite the kernel in Python?
Yeah.
Call it "Slow OS".
If the language is Turing complete, then yes, you can. Python has to be interpratated to be ran. That makes the entire process slow. I mean, up to 100x slower than a compiled language.
user, you can do anithing if you believe in yourself just dont give up on your dreams
it'll be slower than bogo sort chump
Is it Turing complete?
Neo/g/: The Future Ain't What It Used To Be
You can write an OS in brainfuck if you really want.
I doubt that.
NetBSD actually has plans to run a Lua interpreter in the kernel
The future is now
>Python has to be interpratated to be ran.
Any language can (in theory) be both interpreted or compiled.
Yes.
see Amoeba OS.
The write a python compiler, optimize it and then write an entire OS with it
Too many syllables. How about slOS
Note how I said "in theory"?
I'm way too occupied with shitposting on Sup Forums to do all that.
Yes. Windows 10 is written entirely in python.
>prove me wrong.
isis says otherwise
Lol what? You cannot. The cpu cannot execute python code.
[citation needed]
I will just look at the source code...
Oh, wait...
Horry shit, stop sperging. C# is definitely a C language.
Let's write an Operating System in Java and call it Just Fuck My Shit Up OS or FuckShitOS for short.
it sure feels like it
you should post marie and make a javascript kernel instead
Why not? LISP is also an interpreted language yet there were LISP machines
>C# operating systems don't exi-
C# is not even remotely C or C++. It's VB.NET with C syntax rules. And I laugh when C# guys try to pass themselves off as "C programmers."
It's as bad as Pajeet claiming he's white.