18

yes, not a unix os but rather unix-like, and i want to program all of it on python, is that possible?? even the kernel, i want it all python. i know most kernels use c++ or c* but maybe python has a library to turn c* into python?? i'm still sort of a beginner but thanks and i would appreciate the answers

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 7 points 22 hours ago

No, not if you want it to run on the hardware directly at least. If you want it to run as an emulator of sorts under Linux then you could.

Python needs an interpretor to run on and lacks direct memory/hardware access.

[-] MachineFab812@discuss.tchncs.de 2 points 14 hours ago

I'm thinking one would be best off writing a virtual machine hypervisor to run Python code, like facebook did to run their PHP as close to the bare metal as they could get it.

It would still be a beast of a project to start on with the VM already built, of course.

this post was submitted on 09 Jan 2025
18 points (76.5% liked)

Programming

17775 readers
312 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS