bk99.de entertain the web since 1997

JSLinux boots Linux entirely in the browser

Summary

Fabrice Bellard runs a Linux kernel including a user environment on a JavaScript-emulated CPU directly in the browser. A sufficiently general platform can even run systems it was never designed for. Slow but complete emulation is often more valuable for learning and portability than fast specialised simulation.

Ideas

  • A JavaScript emulator fully reproduces the processor, memory and the necessary devices.
  • Linux boots without a plugin and without executing code outside the browser sandbox.
  • The demonstration combines compiler technology, emulation and the web platform into an interactive system.

Recommendations

  • Use browser emulation for reproducible experiments without sensitive data.
  • Compare the emulated architecture, kernel configuration and limits of persistent storage.

References

Read the original post

Search the Web Archive