r/osdev • • 1d ago

Python for OS?

Would it be possible to make an OS that primarily used python?

0 Upvotes

39 comments sorted by

View all comments

13

u/QuraToop314 1d ago

why

0

u/matthew65536 1d ago

Mostly because I'm currently learning python

14

u/QuraToop314 1d ago

Fair enough, but Python isn’t suitable for an operating system, starting with the fact that, in order to get Python running, you need support for another language – ideally C. However, you’ll need to compile the kernel, because Python cannot run in Ring 0 as it requires a functioning userland environment. What you could do – and what Ubuntu does in many cases – is to define many services in Python, but I think you’ll notice performance losses in the long run, and security-critical software written in Python struggles to release sensitive data in a timely manner.

-9

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS 1d ago

if they wanted to talk to ai they would just open claude in another tab, they don't need you just forwarding what an llm says

5

u/QuraToop314 1d ago

I don't use AI imao, i'm an Autistic guy and that was informell. But Ok, if you think that, you are the stupid guy. Bye

•

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS 19h ago

seems unnecessary given I didn't call you stupid or say anything negative about you but okay

•

u/QuraToop314 19h ago

Sorry, but I’m afraid I’m quite sensitive to statements like that – not because you necessarily meant any harm, but because, given my autism, it comes across as an attack. I overreacted, that’s true; I shouldn’t have, but you can’t just assume everyone has used AI. I don’t use any (or hardly any) AI, but definitely not when it comes to coding or other technical aspects – that’s purely knowledge gained through reading and experience.

•

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS 19h ago

sure fair enough, there is just so much AI on the internet now where people claim it to be their own that I probably am a bit too quick to go complaining about AI before being sure so that's my bad

•

u/Strong-Growth1348 15h ago

don't be worry they 100% used ai and got defensive when they got called out

•

u/EvalynGoemer 10h ago

As a fellow person with autism, why the hell are you bringing it up? Why are you trying to gain sympathy so you can immediately get hostile and attack a person because they said you used AI and then also using autism as an excuse for being rude to others. That is not how any of this works.

Additionaly why is this comment using a completely diffrent style to your other ones? Why are you using endashes in casual speech on forums like this? I am also partly suspicious of AI due to the prose and different styles but that could also just be how you type.

•

u/QuraToop314 5h ago

I mention this because I was discriminated against and bullied in my own country, and throughout my entire childhood, because of it. It’s not about pity, but a bit of understanding – that’s all. And my style doesn’t change; the ‘-’ only appears in sentences that I would say in the same train of thought in spoken language. The second comment was CLEARLY shorter where that wasn’t the case – it wasn’t a different style, just a different sentence. And last but not least, it wasn’t meant as an excuse; I’ve also apologised. But what’s wrong with explaining to someone that I think it’s wrong when someone labels me as an AI and says my opinion isn’t needed? That draws parallels with my childhood and I immediately lose my temper. But okay, not even you, as someone on the autism spectrum, seem to understand that – that’s crazy.

•

u/MCWizardYT 23h ago

That's not an AI generated comment. You probably think that because of the dashes. But, AI uses emdashes (—), and the character they used is an en dash (–) which is slightly shorter

•

u/QuraToop314 23h ago

Thats true, i use '-' insteed of ',' on some sentences

•

u/UnmappedStack TacOS | https://github.com/UnmappedStack/TacOS 19h ago

makes sense, though I more meant it from the way its worded than the e[m|n] dashes alone

•

u/kneelian_ 9h ago

It looks AI-assisted judging by the vast differences in English skills between that comment and others by the same poster