LKL.js just boots Linux kernel and still completely useless. It shows how Emscripten is powerful and how Linux kernel is flexible.
LKL.js requires SharedArrayBuffer for pthread support.
SharedArrayBuffer is disabled by default due to
Spectre mitigation in Mozilla Firefox.
Please enable it. (
The link below is
boot.js demo site.
liblkl.min.js is a compressed version of
boot.min.js is a compressed version of
*.min.js is generated by using
Google Closure Compiler.
The source code is available at retrage/linux branch retrage/em-v2.