Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Take a stress test of your browser... Run a pc emulator

Take a stress test of your browser... Run a pc emulator

Scheduled Pinned Locked Moved The Lounge
javascripthtmldatabase
35 Posts 12 Posters 38 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A AlphaDeltaTheta

    Just browsing and got this[^]. JavaScript PC emulator! :wtf: I couldn't believe what I saw, but indeed it worked... and pretty much like a good system! :omg: I could no way imagine such extreme js can be done... Check out... it's amazing

    D Offline
    D Offline
    DaveAuld
    wrote on last edited by
    #3

    The new window ^ link just takes you to the same message, you need to click "this" for it too work...

    Dave Find Me On: Web|Facebook|Twitter|LinkedIn


    Folding Stats: Team CodeProject

    A 1 Reply Last reply
    0
    • S SoMad

      Somewhat suspicious I followed the link...on my Windows Phone 8... It took a while for it to complete its boot process (or whatever you might call that). Then when it was finished I was trying to open my on-screen keyboard to start typing, but fatfingered it and hit something that opened up a version history or something. I pressed the back button and it began the boot process all over again... :doh: I did not quite have the patience to go through that again, so I closed the page and came back here. Maybe I will try it out on my PC in the morning. Soren Madsen

      "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

      A Offline
      A Offline
      AlphaDeltaTheta
      wrote on last edited by
      #4

      SoMad wrote:

      Somewhat suspicious I followed the link...on my Windows Phone 8...

      It won't work in wp8 it doesn't allow you to run any native elf binary code directly on your CPU (it's completely managed, right??) And the code is x86, not ARM, not even compatible with it. It works in Firefox 4+, IE 9+ and Chrome 12+.

      S M 2 Replies Last reply
      0
      • A AlphaDeltaTheta

        Just browsing and got this[^]. JavaScript PC emulator! :wtf: I couldn't believe what I saw, but indeed it worked... and pretty much like a good system! :omg: I could no way imagine such extreme js can be done... Check out... it's amazing

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #5

        I just tried it on my Nexus7 and it appears to boot linux perfectly happily. I can't do anything with it, because there is no soft keyboard, and I can't find a way to bring one up, but it even appears to work on that! :omg:

        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        A 1 Reply Last reply
        0
        • D DaveAuld

          The new window ^ link just takes you to the same message, you need to click "this" for it too work...

          Dave Find Me On: Web|Facebook|Twitter|LinkedIn


          Folding Stats: Team CodeProject

          A Offline
          A Offline
          AlphaDeltaTheta
          wrote on last edited by
          #6

          DaveAuld wrote:

          The new window ^ link just takes you to the same message, you need to click "this" for it too work...

          Oh... I left the href blank! :doh:

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            I just tried it on my Nexus7 and it appears to boot linux perfectly happily. I can't do anything with it, because there is no soft keyboard, and I can't find a way to bring one up, but it even appears to work on that! :omg:

            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

            A Offline
            A Offline
            AlphaDeltaTheta
            wrote on last edited by
            #7

            AAMOF, Android is Linux!

            OriginalGriffO 1 Reply Last reply
            0
            • A AlphaDeltaTheta

              AAMOF, Android is Linux!

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #8

              No, it's because the link takes you to a linux boot in javascript - if you run in on my Win7 PC in IE, Chrome or FF, you get an identical linux boot. Just they work, because I have a keyboard...:laugh:

              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              A 1 Reply Last reply
              0
              • A AlphaDeltaTheta

                SoMad wrote:

                Somewhat suspicious I followed the link...on my Windows Phone 8...

                It won't work in wp8 it doesn't allow you to run any native elf binary code directly on your CPU (it's completely managed, right??) And the code is x86, not ARM, not even compatible with it. It works in Firefox 4+, IE 9+ and Chrome 12+.

                S Offline
                S Offline
                SoMad
                wrote on last edited by
                #9

                Well, it does something, spitting out lines and lines of information as it is loading until it gets to Booted in 142.837 s Welcome to JS/Linux /var/root # But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support. Soren Madsen

                "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                A OriginalGriffO 2 Replies Last reply
                0
                • S SoMad

                  Well, it does something, spitting out lines and lines of information as it is loading until it gets to Booted in 142.837 s Welcome to JS/Linux /var/root # But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support. Soren Madsen

                  "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                  A Offline
                  A Offline
                  AlphaDeltaTheta
                  wrote on last edited by
                  #10

                  SoMad wrote:

                  Booted in 142.837 s

                  that's too much, expect fast times on computers, mine 8.294 ms on IE10

                  SoMad wrote:

                  But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support.

                  Ah!... The dev designed it for computers with keyboards, not for mobiles! And the quy was the one who started the infamous FFMpeg... I don't need an description for it. Do I ?

                  L S 2 Replies Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    No, it's because the link takes you to a linux boot in javascript - if you run in on my Win7 PC in IE, Chrome or FF, you get an identical linux boot. Just they work, because I have a keyboard...:laugh:

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    A Offline
                    A Offline
                    AlphaDeltaTheta
                    wrote on last edited by
                    #11

                    But there some real emulation takes place... not a joke, you can get the source code of binary images, squashfs ramdisk files etc.. assemple them in one piece and boot them in an el-torito compatible pc

                    OriginalGriffO 1 Reply Last reply
                    0
                    • A AlphaDeltaTheta

                      But there some real emulation takes place... not a joke, you can get the source code of binary images, squashfs ramdisk files etc.. assemple them in one piece and boot them in an el-torito compatible pc

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #12

                      No, that's what I was saying: my PC does not contain any Linux images, but the link boots a Linux VM within the browser. It does the same thing under Android - it is completely irrelevant that Android is a (heavily modified) Linux fork. It's pretty impressive stuff. Now, if it booted PrimeOs, or RSX-11M I'd be amazed! :laugh: (And very nostalgic :-O )

                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      1 Reply Last reply
                      0
                      • A AlphaDeltaTheta

                        Just browsing and got this[^]. JavaScript PC emulator! :wtf: I couldn't believe what I saw, but indeed it worked... and pretty much like a good system! :omg: I could no way imagine such extreme js can be done... Check out... it's amazing

                        M Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #13

                        I could type in some *nix commands, but nothing that required a space. For some reason, the spacebar doesn't do anything. So even navigating to the "dos" directory was impossible. Marc

                        Testers Wanted!
                        Latest Article: User Authentication on Ruby on Rails - the definitive how to
                        My Blog

                        OriginalGriffO A 2 Replies Last reply
                        0
                        • A AlphaDeltaTheta

                          SoMad wrote:

                          Booted in 142.837 s

                          that's too much, expect fast times on computers, mine 8.294 ms on IE10

                          SoMad wrote:

                          But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support.

                          Ah!... The dev designed it for computers with keyboards, not for mobiles! And the quy was the one who started the infamous FFMpeg... I don't need an description for it. Do I ?

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #14

                          Interesting. On my mac - Chrome = 6.205 seconds Safari = 3.493 seconds Firefox = 4.272 seconds Who'd have thunk it?

                          MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                          1 Reply Last reply
                          0
                          • A AlphaDeltaTheta

                            SoMad wrote:

                            Booted in 142.837 s

                            that's too much, expect fast times on computers, mine 8.294 ms on IE10

                            SoMad wrote:

                            But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support.

                            Ah!... The dev designed it for computers with keyboards, not for mobiles! And the quy was the one who started the infamous FFMpeg... I don't need an description for it. Do I ?

                            S Offline
                            S Offline
                            SoMad
                            wrote on last edited by
                            #15

                            Amitosh Swain wrote:

                            And the quy was the one who started the infamous FFMpeg... I don't need an description for it. Do I ?

                            I am familiar with Bellard's work. :|

                            "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                            1 Reply Last reply
                            0
                            • M Marc Clifton

                              I could type in some *nix commands, but nothing that required a space. For some reason, the spacebar doesn't do anything. So even navigating to the "dos" directory was impossible. Marc

                              Testers Wanted!
                              Latest Article: User Authentication on Ruby on Rails - the definitive how to
                              My Blog

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #16

                              Works ok on mine: Chrome 27.0.1453.94 on Win7 64bit

                              sh: cd: can't cd to /dos
                              /var/root # cd dos
                              ~/dos # ls
                              asm-1.9 asm.com debug.com hpigot.com hpigot.s
                              ~/dos # ls -l
                              total 35
                              drwxr-xr-x 2 root root 1024 Aug 20 2011 asm-1.9
                              -rwxr-xr-x 1 root root 7297 Apr 21 2009 asm.com
                              -r-xr-xr-x 1 root root 15224 Aug 20 2011 debug.com
                              -rwxr-xr-x 1 root root 77 Aug 20 2011 hpigot.com
                              -rw-r--r-- 1 root root 4043 Aug 20 2011 hpigot.s
                              ~/dos #

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              1 Reply Last reply
                              0
                              • S SoMad

                                Well, it does something, spitting out lines and lines of information as it is loading until it gets to Booted in 142.837 s Welcome to JS/Linux /var/root # But then it just sits there, mocking me. :^) Like OG I can't do anything because there is no soft keyboard support. Soren Madsen

                                "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                                OriginalGriffO Offline
                                OriginalGriffO Offline
                                OriginalGriff
                                wrote on last edited by
                                #17

                                That's slow! On my Nexus it boots in 44.087s (which is a whole load faster than my desktop boots in the morning). On my desktop, it boots in 6.105s I'm guessing that if I had a bluetooth keyboard, I could use it as a linux box - if I could remember anything about unix other than: 1) Basic commands to change directory, list files, and so forth. 2) I hate "vi" (but I can still remember how to get out of it, which is worrying since it's been twenty five years since I last used an unix command line)

                                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                S A 2 Replies Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  That's slow! On my Nexus it boots in 44.087s (which is a whole load faster than my desktop boots in the morning). On my desktop, it boots in 6.105s I'm guessing that if I had a bluetooth keyboard, I could use it as a linux box - if I could remember anything about unix other than: 1) Basic commands to change directory, list files, and so forth. 2) I hate "vi" (but I can still remember how to get out of it, which is worrying since it's been twenty five years since I last used an unix command line)

                                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                  S Offline
                                  S Offline
                                  SoMad
                                  wrote on last edited by
                                  #18

                                  I just tried it using UC Browser (the only other browser I have on my phone) and it was also able to get it started, but it took 144s. It seems to take a long time to get through the following steps: Starting Linux (initial load) Memory configuration/identification (scrolls out of view, so not really sure) Checking if CPU honors the WP bit Freeing unused kernel memory Soren Madsen

                                  "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                                  1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    That's slow! On my Nexus it boots in 44.087s (which is a whole load faster than my desktop boots in the morning). On my desktop, it boots in 6.105s I'm guessing that if I had a bluetooth keyboard, I could use it as a linux box - if I could remember anything about unix other than: 1) Basic commands to change directory, list files, and so forth. 2) I hate "vi" (but I can still remember how to get out of it, which is worrying since it's been twenty five years since I last used an unix command line)

                                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                    A Offline
                                    A Offline
                                    AlphaDeltaTheta
                                    wrote on last edited by
                                    #19

                                    Oh, that doesn't include pretty anything other than coreutils, no vi / vim Get busybox or bash for your Nexus.. PS: Requires rooting

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • A AlphaDeltaTheta

                                      Just browsing and got this[^]. JavaScript PC emulator! :wtf: I couldn't believe what I saw, but indeed it worked... and pretty much like a good system! :omg: I could no way imagine such extreme js can be done... Check out... it's amazing

                                      V Offline
                                      V Offline
                                      vinclaro001
                                      wrote on last edited by
                                      #20

                                      Tried it on the iPad for a laugh - and it worked! :omg: (Hint: to get the onscreen keyboard you have to tap in the text edit box to the right of the virtual PC screen).

                                      A 1 Reply Last reply
                                      0
                                      • A AlphaDeltaTheta

                                        Just browsing and got this[^]. JavaScript PC emulator! :wtf: I couldn't believe what I saw, but indeed it worked... and pretty much like a good system! :omg: I could no way imagine such extreme js can be done... Check out... it's amazing

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #21

                                        Wow! 51 seconds on iPad gen 1 That's not too bad at all!

                                        MVVM # - I did it My Way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

                                        R 1 Reply Last reply
                                        0
                                        • A AlphaDeltaTheta

                                          Oh, that doesn't include pretty anything other than coreutils, no vi / vim Get busybox or bash for your Nexus.. PS: Requires rooting

                                          OriginalGriffO Offline
                                          OriginalGriffO Offline
                                          OriginalGriff
                                          wrote on last edited by
                                          #22

                                          Run it again. Type "vi" then ENTER and see what happens... :laugh:

                                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                          A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups