It is also really fast, booting up takes 7 seconds in Firefox 4 for me, and all the other operations don’t take much longer than they would on a real system. Supposedly, Chrome 11 is also supported but for me it hangs up near the end of the boot process. Also, Chrome 11 is noticeably slower (Fabrice Bellard himself made this observation as well). There are plenty of command line tools available, including a compiler. I first had my doubts — but they all work as you expect them to. I can even ping 127.0.0.1 (pinging other addresses or using wget fails because the emulated hardware lacks a network interface). Update: Even better: run
telnetd, change root password with
passwd, then telnet to 127.0.0.1 and log in as root — it actually works.
Talk about desktop applications moving to the web…
Interesting. Gnome 3 applications can run in the browser as well. And I think the Document Foundation is trying to make LibreOffice web friendly. Linux is well positioned for the inevitable transition to the “cloud”, although I shutter to use that word. :)
“ERROR: your browser is too old to run JS/Linux.
You should use a recent browser such as Firefox 4.x or Google Chrome.”
LOL…I’m running the latest version of Opera, I’m not using an outdated version…
It is using typed arrays, Opera doesn’t support them yet.
@Charles, you need a browser that supports typed arrays. Otherwise it’s “too old”.
:-( On Nightly I get:
Error: invalid arguments
Source File: http://bellard.org/jslinux/cpux86.js
mozResponseArrayBuffer(Firefox 4, older version of the standard?) or
response(WebKit and V8, per standard) XMLHttpRequest property. Nightly builds no longer have
mozResponseArrayBufferbut they have
responseType), this is the usual approach for experimental implementations. A trivial change to the script should do.
Fabrice Bellard fixed this issue now, it works correctly in Firefox nightlies.
@Charles: Opera has some catching up to do with gradients also
It’s fascinating! It’s immediately the fastest and easiest environment for learning the Linux command-line. If it ever gets networking support it’s a killer network utility. I wonder if it can run Google Native Client binaries, or the planned Pinnacle portable native client format (really portable portable clients!).
@dspace: “Interesting. Gnome 3 applications can run in the browser as well.”
Not quite true. Gtk 3 has a backend that allows applications to render to a buffer that gets sent to a browser for display. But that’s just a remote desktop like VNC – the application isn’t actually running in the browser…
Impressive! The most interesting thing I’ve seen in a while.
Fabrice Belland is a freaking genius at this kind of thing.
Fabrice has added support for Opera and ie9, and an easy way to upload “C” source programs.
==> We can easily compare the performance of each browser :
1- paste some C program in the clipboard aera (just use #include <tcclib.h> instead of usual ones)
2- type “cat /dev/clipboard >toto.c;tcc -run toto.c”
3- measure start time – end time
On a mandelbrot test :
-ie9 is 10% slower than firefox,
-both are very slow (probably due to the lack of “fpu”).
It loaded in 3 secs but don’t know what to do now… :p
1 week ago for first time in my life I installed Ubuntu 11.04 through “Wubi” in pararell with Win7 but after 2-3 times, bored entirely. Now I’ve it as secondary OS but propably I’ll delete it.