Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python Operating System???

Reply
Thread Tools

Python Operating System???

 
 
David Brown
Guest
Posts: n/a
 
      01-06-2005
Hello. I recently came across a free operating system called Unununium (or
something like that) and it was developed in Python and Assembly.

Now, I have been looking for a way to make an operating system for a long
long time and the only possibilities I could find were C++ and assembly. I
don't mind assembly so much if I don't have to use it very often. But C++ is
so complicated and errors are pretty much impossible to find in the code for
me.

So, I was wondering if it would be possible to find a bootloader that loads
a python file at startup or something...

Is there an example somewhere of a Python OS?

Thanks!


 
Reply With Quote
 
 
 
 
Lucas Raab
Guest
Posts: n/a
 
      01-06-2005
David Brown wrote:
> Hello. I recently came across a free operating system called Unununium (or
> something like that) and it was developed in Python and Assembly.
>
> Now, I have been looking for a way to make an operating system for a long
> long time and the only possibilities I could find were C++ and assembly. I
> don't mind assembly so much if I don't have to use it very often. But C++ is
> so complicated and errors are pretty much impossible to find in the code for
> me.
>
> So, I was wondering if it would be possible to find a bootloader that loads
> a python file at startup or something...
>
> Is there an example somewhere of a Python OS?
>
> Thanks!
>
>


Hasn't there been numerous discussions about this in the past??
 
Reply With Quote
 
 
 
 
Arich Chanachai
Guest
Posts: n/a
 
      01-06-2005
David Brown wrote:

>Hello. I recently came across a free operating system called Unununium (or
>something like that) and it was developed in Python and Assembly.
>
>Now, I have been looking for a way to make an operating system for a long
>long time and the only possibilities I could find were C++ and assembly. I
>don't mind assembly so much if I don't have to use it very often. But C++ is
>so complicated and errors are pretty much impossible to find in the code for
>me.
>
>So, I was wondering if it would be possible to find a bootloader that loads
>a python file at startup or something...
>
>Is there an example somewhere of a Python OS?
>
>Thanks!
>
>
>
>

People don't make Python OSs because it's a serious pain in the
Deng-Xiao-ping. J/k, I am half kidding. Go to google groups, and
search for Python OS. You will find that this topic has been discussed
numerous times. There was another project other than Unununium which
was Python based, but it is not being developed any longer and I fail to
remember what it was called. So search away, you will find many
results! Alternatively you could contact the Unununium folks for help.

Note also that there are Java OSs as well (and probably others). But
then again, if you don't like C++, you probably won't like Java. They
can be very different languages, but in my experience, the reasons why
one does not like C++ is usually due to a quality/flaw that can also be
found in Java.
 
Reply With Quote
 
Carl Banks
Guest
Posts: n/a
 
      01-07-2005
Arich Chanachai wrote:
> But
> then again, if you don't like C++, you probably won't like Java.

They
> can be very different languages, but in my experience, the reasons

why
> one does not like C++ is usually due to a quality/flaw that can also

be
> found in Java.


Oh, brother.

The Zen of Python says that "simple is better than complex" and
"complex is better than complicated". Java does pretty well here. C++
didn't even get "complicated is better than convoluted" right. There's
are a ton of flaws in C++ not found in Java.


--
CARL BANKS

 
Reply With Quote
 
Fuzzyman
Guest
Posts: n/a
 
      01-07-2005
The bootloader would have to be a 'python-core'. Ideally a fast
implementation of just the python syntax and language features. Now
*that* would be an excellent basis for a restricted mode python
interpreter - which could make 'python applets' closer to a reality. It
would also make python for embedded systems and embedding python in
larger programs easier as well. A purely 'core language' implementation
with no libraries.....

Obviously you'd need file systems, drivers, and something to create the
functionality of the os and sys libraries. Basing it on the existing
Linux kernel would seem like a much more sensible idea....

There is/was a project (Peter Hansen ?) to produce a pure python file
system. that could be an interesting component.

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml



David Brown wrote:
> Hello. I recently came across a free operating system called

Unununium (or
> something like that) and it was developed in Python and Assembly.
>
> Now, I have been looking for a way to make an operating system for a

long
> long time and the only possibilities I could find were C++ and

assembly. I
> don't mind assembly so much if I don't have to use it very often. But

C++ is
> so complicated and errors are pretty much impossible to find in the

code for
> me.
>
> So, I was wondering if it would be possible to find a bootloader that

loads
> a python file at startup or something...
>
> Is there an example somewhere of a Python OS?
>
> Thanks!


 
Reply With Quote
 
Christopher Koppler
Guest
Posts: n/a
 
      01-07-2005
On Thu, 06 Jan 2005 16:12:54 -0800, Carl Banks wrote:

> Arich Chanachai wrote:
>> But
>> then again, if you don't like C++, you probably won't like Java.

> They
>> can be very different languages, but in my experience, the reasons

> why
>> one does not like C++ is usually due to a quality/flaw that can also

> be
>> found in Java.

>
> Oh, brother.
>
> The Zen of Python says that "simple is better than complex" and
> "complex is better than complicated". Java does pretty well here. C++
> didn't even get "complicated is better than convoluted" right. There's
> are a ton of flaws in C++ not found in Java.


Still, Java feels like C++ done right, while being more wrong >:-[

--
Christopher

If there was a scheme for Lisp world domination...

 
Reply With Quote
 
Roose
Guest
Posts: n/a
 
      01-07-2005
What exactly do you mean by an operating system?

If you don't want to program in C/C++ then you're going to have a hard time.
I don't want to be too discouraging, but with that attitude I doubt you
would get very far.

It sounds like you want to make more of an OS shell -- no? You can
implement a shell on top of any OS and probably do it in a language like
Python.

But if it is going to be a complete OS in pure Python, uh, it won't be!
You'll have to do a lot of stuff in C, at the least interface with the
hardware.



"David Brown" <> wrote in message
news:...
> Hello. I recently came across a free operating system called Unununium (or
> something like that) and it was developed in Python and Assembly.
>
> Now, I have been looking for a way to make an operating system for a long
> long time and the only possibilities I could find were C++ and assembly. I
> don't mind assembly so much if I don't have to use it very often. But C++

is
> so complicated and errors are pretty much impossible to find in the code

for
> me.
>
> So, I was wondering if it would be possible to find a bootloader that

loads
> a python file at startup or something...
>
> Is there an example somewhere of a Python OS?
>
> Thanks!
>
>



 
Reply With Quote
 
Peter Hansen
Guest
Posts: n/a
 
      01-07-2005
Fuzzyman wrote:
> There is/was a project (Peter Hansen ?) to produce a pure python file
> system. that could be an interesting component.


Good memory... uh, sort of. It was probably me you're
thinking of, but the point of the project was solely a
"virtual" file system, to be used exclusively as a tool
for supporting automated testing. It has no concept of
persistence, no support for it in the design, and wouldn't
be what would help anyone in this respect. Sorry.

(Work on it has actually not progressed lately, because
there is no additional requirement driving the work.
The primitive initial state of the tool suffices so far.)

-Peter
 
Reply With Quote
 
Arich Chanachai
Guest
Posts: n/a
 
      01-07-2005
Roose wrote:

>What exactly do you mean by an operating system?
>
>If you don't want to program in C/C++ then you're going to have a hard time.
>I don't want to be too discouraging, but with that attitude I doubt you
>would get very far.
>
>

Indeed, this is very true.

>It sounds like you want to make more of an OS shell -- no? You can
>implement a shell on top of any OS and probably do it in a language like
>Python.
>
>

He should just build around a linux core or use OS kit (if he is
serious/determined).

>But if it is going to be a complete OS in pure Python, uh, it won't be!
>You'll have to do a lot of stuff in C, at the least interface with the
>hardware.
>
>
>
>

He could use something like O' caml or Oz no? I might be confused, but
I understood them to be C/C++ comparable in terms of power and in that
they both compile vs. VMs and interpreters (for O' caml this is optional
I think). Or what about D?
 
Reply With Quote
 
John Roth
Guest
Posts: n/a
 
      01-07-2005

"David Brown" <> wrote in message
news:...
> Hello. I recently came across a free operating system called Unununium (or
> something like that) and it was developed in Python and Assembly.
>
> Now, I have been looking for a way to make an operating system for a long
> long time and the only possibilities I could find were C++ and assembly. I
> don't mind assembly so much if I don't have to use it very often. But C++
> is
> so complicated and errors are pretty much impossible to find in the code
> for
> me.
>
> So, I was wondering if it would be possible to find a bootloader that
> loads
> a python file at startup or something...
>
> Is there an example somewhere of a Python OS?


As far as I know, there's no working example. Unununium is still
very early development, and it's going off in a quite interesting
direction that is hardly standard.

Writing an operating system is a lot of work. The approach I'd
take would be to start out with an existing micro-kernel and
enhance it with a kernel level Python system so that you wouldn't
need any C or Asm level code in a typical process.

Then I'd pursue a restricted subset of Python that could be
compiled directly to machine code, and start recoding the
various C and Asm parts in that. See the PyPy project for
the direction they're taking for writing the Python system in
Python.

Have fun with the project!

John Roth


>
> Thanks!
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Operating System PythonUsr Python 3 12-11-2006 08:50 PM
connecting both computers with different operating system together naderbd Wireless Networking 1 07-29-2005 12:47 AM
Sun to Give Out Operating System for Free Rich Firefox 7 11-16-2004 07:47 PM
How to get the Operating System info like ( Wireless info, Wireless connection) Vasanth Perl 0 06-28-2004 08:56 AM
Re: 32 bit operating system Consultant MCSE 0 01-08-2004 02:58 PM



Advertisments