473,785 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2797
On 6 Ott, 06:16, process <circularf...@g mail.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**********@g mail.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*******@yaho o.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******@short circuit.net.aue scribió:
On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
<ga*******@yaho o.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*******@yaho o.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

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

Similar topics

8
11791
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? Thanks for any help you can throw my way, Chris Gray "Okey dokey.. free my mind. Right, no problem, free my mind, free my mind,
7
2399
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 the data. I would like to use a script language to control the interaction between these c++ objects. I become interested in Python since it can load C++ objects and can even extend C++ classes. However, I am not quite sure to what extent can...
24
3150
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 Here's the compile command which seems to work well : -----------------------------------------------------
7
2372
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 a sidepanel). kind regards, --
6
2149
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 to install lighttpd or other web servers. Then the largest issue with Python-based web servers is performance. That's why I start to look into medusa or twisted-based servers. Twisted seems too big and complicated for what I really want to do...
1
2008
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 presenting some unique challenges. First off, I have begun this project by writing a text mode only interface. I would like to provide a GUI as an alternative, but I ran into problems in my early tests. Thinking that Tkinter would be the
14
10452
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
1662
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 concept in the long run. What's the recommended procedure for doing so? Any pointer? Ciao, Michael.
61
6967
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 other language? See, my concern was something like: OK, if Python is so hot, then, hopefully someone is writing it in assembly language for each MPU chip out there. Otherwise, if, say, they've written it in C#, then it looks like the REAL,...
0
9646
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9483
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.