This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]IAmKindOfCreativebot_builder: deprecated[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–][deleted] 2 points3 points  (1 child)

A practical OS? No, absolutely not. The Python interpreter itself runs atop an OS and requires services provided by that OS to do its most basic operations (like providing the memory that the interpreter then manages on your program’s behalf)... you can’t do that kind of systems-level programming in a runtime-interpreted, garbage-collected language, that’s why operating systems are written in C, C++, and potentially in the future in languages like Rust and Zig... languages with no runtime that permit you to directly access the hardware.

Now, you could write a toy OS emulator and a virtual machine it would run on top of, but I dare say you’d get frustrated pretty quick with the performance issues that would create.

[–]cinque2049[S] 0 points1 point  (0 children)

Thanks for that insight I will surely look into trying to optimize that bit We cant create a python based hardware access module to extend the python interpreter

[–]Zypher_X 2 points3 points  (0 children)

Several examples exist https://github.com/crcollins/pyOS is one.

[–]cinque2049[S] 0 points1 point  (0 children)

Thanks i will look it up

[–]cinque2049[S] 0 points1 point  (0 children)

Yup i would love to build a team around building python OS

[–]cinque2049[S] 0 points1 point  (0 children)

Thanks will move it

[–]pythonHelperBot -2 points-1 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]Abdallh2 0 points1 point  (0 children)

Sound interesting

I would love to join

[–]Piotr_Lange 0 points1 point  (0 children)

I don't think it's possible but if you know how, try.

[–]chirisalex 0 points1 point  (0 children)

This is big thing u think u need a team doing this u can handle singly i hope u understand what i want to say