[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Can I write an OS in Python ?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 41
Thread images: 2

File: pepe the pepe.jpg (190KB, 500x598px) Image search: [Google]
pepe the pepe.jpg
190KB, 500x598px
Can I write an OS in Python ?
>>
>>59837279
Can you build a car out of paper?
>>
>>59837279
You can't do anything, you depressed sack of shit.
>>
>>59837301
Yes. That's what Toyota has done.
>>
>>59837279
no, it doesn't have the low level control necessary
>>
>>59837279
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
>>
>>59837279
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?".
>>
>>59837309
underrated post
>>
>>59837309
Huh. I remember that Lexus.
>>
>>59837279
If your l337 enough then yes if no then no
>>
>>59837513
C# is not a language in the same category as C or C++
IT DOES NOT COMPILE to raw machine code.
>>
>>59837279
yes

>>59837308
excessively rude
>>
Sorta, not really, but do checkout https://micropython.org/
>>
>>59837279
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.
>>
>>59838816
Why not just rewrite the kernel in Python?
>>
>>59837279

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.
>>
>>59837279
anon, you can do anithing if you believe in yourself just dont give up on your dreams
>>
>>59837279
it'll be slower than bogo sort chump
>>
>>59837279
Is it Turing complete?
>>
>>59837513
Neo/g/: The Future Ain't What It Used To Be
>>
>>59837279
You can write an OS in brainfuck if you really want.
>>
>>59841979

I doubt that.
>>
>>59838816
NetBSD actually has plans to run a Lua interpreter in the kernel
The future is now
>>
>>59841905
>Python has to be interpratated to be ran.

Any language can (in theory) be both interpreted or compiled.
>>
Yes.
see Amoeba OS.
>>
>>59842010
The write a python compiler, optimize it and then write an entire OS with it
>>
>>59841846
Too many syllables. How about slOS
>>
>>59842024
Note how I said "in theory"?

I'm way too occupied with shitposting on 4chan to do all that.
>>
>>59837279
Yes. Windows 10 is written entirely in python.
>prove me wrong.
>>
>>59837309
isis says otherwise
>>
Lol what? You cannot. The cpu cannot execute python code.
>>
>>59843490
[citation needed]
>>
>>59843490
I will just look at the source code...
Oh, wait...
>>
>>59837513
>>59838476
Horry shit, stop sperging. C# is definitely a C language.
>>
>>59841846
Let's write an Operating System in Java and call it Just Fuck My Shit Up OS or FuckShitOS for short.
>>
>>59843490
it sure feels like it
>>
؜>>59837279
you should post marie and make a javascript kernel instead
>>
Why not? LISP is also an interpreted language yet there were LISP machines
>>
File: Singularity_v1.png (2KB, 640x400px) Image search: [Google]
Singularity_v1.png
2KB, 640x400px
>C# operating systems don't exi-
>>
>>59843759
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.
Thread posts: 41
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.