473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

If an OS was to be written in Python, how'w it look?

If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?

Some tagged architecture like in Lisp machines?
http://en.wikipedia.org/wiki/Tagged_architecture

What else?
Oct 6 '08 #1
10 2766
On 6 Ott, 06:16, process <circularf...@gmail.comwrote:
If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?

Some tagged architecture like in Lisp machines?http://en.wikipedia.org/wiki/Tagged_architecture

What else?
I would say that a python-processor should have dictionary lookup
(hash tables), garbage collection and dynamic lists implemented by
hardware/firmware.

Maybe in another twenty years ...

Ciao
----
FB
Oct 6 '08 #2
>If an OS was to be written in Python and the hardware optimized for
>it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?

I'm no expert, but this would seem like a good example of something
that python wasn't good for. I have always wondered, though, what a
Linux kernel module would look like that had a python (or java, or
whatever) interpreter running low-level, so the higher level
components on the operating system could be implemented in an
interpreted language. Is there any benefit to something like that?
Or is that crap too? Again, I'm no expert.

Eric
Oct 6 '08 #3
On Mon, Oct 6, 2008 at 11:02 AM, Eric Wertman <ew******@gmail.comwrote:
>>If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?


I'm no expert, but this would seem like a good example of something
that python wasn't good for. I have always wondered, though, what a
Linux kernel module would look like that had a python (or java, or
whatever) interpreter running low-level, so the higher level
components on the operating system could be implemented in an
interpreted language. Is there any benefit to something like that?
Or is that crap too? Again, I'm no expert.
The closest I can think of to that is Singularity, Microsoft's
research OS written in .NET (well, C# specifically I guess). I think
their intent was more to shrink the size of the trusted computing base
though and then make all of the actual OS services and such managed
code.

http://research.microsoft.com/os/Singularity/
Oct 6 '08 #4
"Eric Wertman" <ew******@gmail.comwrites:
I'm no expert, but this would seem like a good example of something
that python wasn't good for. I have always wondered, though, what a
Linux kernel module would look like that had a python (or java, or
whatever) interpreter running low-level, so the higher level
components on the operating system could be implemented in an
interpreted language. Is there any benefit to something like that?
Or is that crap too? Again, I'm no expert.
This was done 20 years ago with the Lisp machine. Really, it was a
bold idea back then, but programming language and systems
understanding have comea long way since then. Best to keep using
Python as a scripting language; it's not the right thing for an OS.
Oct 6 '08 #5
"Dan Upton" <up***@virginia.eduwrites:
The closest I can think of to that is Singularity, Microsoft's
research OS written in .NET (well, C# specifically I guess).
Singularity is almost the exact opposite of this and I don't think it
uses (unmodified) C#. It does away with use of hardware memory
protection in any form, and relies on rigorous, statically enforced
type safety in the compilers and OS to isolate processes from one
another.
Oct 6 '08 #6
En Mon, 06 Oct 2008 01:16:55 -0300, process <ci**********@gmail.com>
escribió:
If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?
There was an experiment ("Unununium"), now abandoned:
http://unununium.org/

--
Gabriel Genellina

Oct 7 '08 #7
On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
<ga*******@yahoo.com.arwrote:
There was an experiment ("Unununium"), now abandoned: http://unununium.org/
Yeah does anyone have or know where one
can get the source code and any other
materials relating to Unununium ? It not only
seems to be abandoned, but it's content also lost :/

cheers
James

--
--
-- "Problems are solved by method"
Oct 7 '08 #8
En Tue, 07 Oct 2008 19:30:24 -0300, James Mills
<pr******@shortcircuit.net.auescribió:
On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
<ga*******@yahoo.com.arwrote:
>There was an experiment ("Unununium"), now abandoned:
http://unununium.org/

Yeah does anyone have or know where one
can get the source code and any other
materials relating to Unununium ? It not only
seems to be abandoned, but it's content also lost :/
web.archive.org contains the site history:
http://web.archive.org/web/*re_/http....unununium.org
Going back to Jan 2007 is enough to discover that their repository was at
http://www.unununium.org/darcs/ - and it's still there.

--
Gabriel Genellina

Oct 8 '08 #9
On Wed, Oct 8, 2008 at 10:40 AM, Gabriel Genellina
<ga*******@yahoo.com.arwrote:
web.archive.org contains the site history:
http://web.archive.org/web/*re_/http....unununium.org
Going back to Jan 2007 is enough to discover that their repository was at
http://www.unununium.org/darcs/ - and it's still there.
Thanks :)

Is anyone still interested in continuing Uuu's efforts ?
I've just checked out the darcs repository and converted
it to Mercurial. I'm going to have a bit of a play wiht it...

Anyone interested in this ?

cheers
James

--
--
-- "Problems are solved by method"
Oct 8 '08 #10
James Mills wrote:
I've just checked out the darcs repository and converted
it to Mercurial. I'm going to have a bit of a play wiht it...

Anyone interested in this ?
I'll be interested to hear of any developments.
Oct 9 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Chris Gray | last post by:
Is there such a beast? In particular, I'm looking for a production-quality proxy server fully compliant with HTTP/1.1 written in Python. If there isn't, is there anything that comes close? ...
7
by: Bo Peng | last post by:
Dear Python group: I am planning on an application that involves several complicated C++ classes. Basically, there will be one or two big data objects and some "action" objects that can act on...
24
by: Jean-Baptiste PERIN | last post by:
Hi, I'm trying to make a windows dll reachable from a python script .. and I'm encountering troubles during link step .. I use "lcc" to compile and link I use python 2.3 under win XP ...
7
by: Franz Steinhaeusler | last post by:
Hello NG, has anyone written such a thing in python? Where could I look for? (I need it for an editor written in wxPython to display function names, include, global variables, classes, ... in...
6
by: Jack | last post by:
Basically I am trying to find a high performance web server. Since Python is installed on all of the servers, It'll be great if the web server is written in Python as well. Otherwise, I will have...
1
by: dwelch91 | last post by:
c.l.p- I am undertaking writing an installer for a software package using Python. It is exclusively for Linux. Because this is an installer and has to run on numerous Linux distros, it is...
14
by: Franz Steinhäusler | last post by:
Hello NG, wWhat are the best programs in your opinion, written entirly in pyhton, divided into categories like: a) Games b) Utilities/System c) Office d) Web/Newsreader/Mail/Browser ....
2
by: =?ISO-8859-1?Q?Michael_Str=F6der?= | last post by:
HI! I had a look on how Doc/ is organized with Python 2.6. There are files with suffix .rst. Hmm... I'm maintaing existing docs for python-ldap which I might have to convert to the new...
61
by: giveitawhril2008 | last post by:
I'm just learning about Python now and it sounds interesting. But I just read (on the Wiki page) that mainstream Python was written in C. That's what I was searching for: Python was written in what...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.