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.

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.

Insights

  • Slow but complete emulation is often more valuable for learning and portability than fast specialised simulation.

References

Read the original post

Search the Web Archive

Found a mistake or have something to add? Get in touch.