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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • process

    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?


    What else?
  • bieffe62@gmail.com

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

    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

    Comment

    • Eric Wertman

      #3
      Re: 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?

      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

      Comment

      • Dan Upton

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

        On Mon, Oct 6, 2008 at 11:02 AM, Eric Wertman <ewertman@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.

        Singularity was a multi-year research project focused on the construction of dependable systems through innovation in the areas of systems, languages, and tools.

        Comment

        • Paul Rubin

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

          "Eric Wertman" <ewertman@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.

          Comment

          • Paul Rubin

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

            "Dan Upton" <upton@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.

            Comment

            • Gabriel Genellina

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

              En Mon, 06 Oct 2008 01:16:55 -0300, process <circularfunc@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:


              --
              Gabriel Genellina

              Comment

              • James Mills

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

                On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
                <gagsl-py2@yahoo.com.a rwrote:
                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"

                Comment

                • Gabriel Genellina

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

                  En Tue, 07 Oct 2008 19:30:24 -0300, James Mills
                  <prologic@short circuit.net.aue scribió:
                  On Tue, Oct 7, 2008 at 4:02 PM, Gabriel Genellina
                  <gagsl-py2@yahoo.com.a rwrote:
                  >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:

                  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

                  Comment

                  • James Mills

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

                    On Wed, Oct 8, 2008 at 10:40 AM, Gabriel Genellina
                    <gagsl-py2@yahoo.com.a rwrote:
                    web.archive.org contains the site history:

                    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"

                    Comment

                    • Greg Ewing

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

                      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.

                      Comment

                      Working...