And the circle is complete

Monkey Archive Forums/Monkey Discussion/And the circle is complete

skid(Posted 2011) [#1]
http://bellard.org/jslinux/

Linux on a js virtual machine, bottleneck is download time.

The c compiler is called tcc so you can build and run the hello world.

No nano or pico so not sure what else you can do at present.


Roger Lockerbie(Posted 2011) [#2]
I think it has Qemacs, another of Mr Bellard's projects.

The guy is s wizard, he uses VGA cards to generate composite TV signal, tcc is his compiler (fast enough that you can call it with #!/usr/bin/tcc -run, and write C 'scripts'. So his ideas are different but pretty cool none the less.

I wonder if X would be a possibility, so

Chrome/Native -> Linux/JS -> X -> Firefox 4 -> Linux/JS -> (Head explodes).


skid(Posted 2011) [#3]
TCC says it can build the linux kernel, I wonder if the vm is setup to do so?


Neuro(Posted 2011) [#4]
Vi is apparently available for this. Though i have a hard time trying to use it though.


charlie(Posted 2011) [#5]
Haha, amazing! it's got regular emacs in /usr/bin as well as qemacs. I just edited the hello.c source to say "charlie was here", then happily compiled and ran a.out!

I'm imagining someone getting it to run X, and having a login item that opens the emulator up in a browser, creating infinite Linux.

Cheers
Charlie