Suddenly came across this amazing project.. Linux running ‘on’ the web browser. It’s a virtual machine written in JavaScript, it can boot a small linux image supporting basic commands, file system, vi, and even.. a C compiler!
URL: http://bellard.org/jslinux/
You can edit, compile and run the sample hello.c program using the compiler called tcc.
To compile: tcc -o hello hello.c
To run: ./hello
All that running on top of JavaScript!.. absolutely mind blowing!
By the way, only the following browsers are supported:
URL: http://bellard.org/jslinux/
You can edit, compile and run the sample hello.c program using the compiler called tcc.
To compile: tcc -o hello hello.c
To run: ./hello
All that running on top of JavaScript!.. absolutely mind blowing!
By the way, only the following browsers are supported:
- Firefox 4.x
- Chrome 11
- Opera 11.11
- Internet Explorer 9