First Doom, now Linux: an unnamed high school student runs Linux OS in a PDF doc in Google Chrome so what’s next?
- Chromium browsers can turn a PDF into a working Linux environment under emulation
- Chrome’s disabled JIT compiler hampers performance
- High school-aged developer has form for impressive PDF projects, such as running Doom inside one
A high-school student has achieved another coding feat, getting a lightweight Linux distribution to run inside a PDF document.
Ading2210 developed LinuxPDF for Google Chrome and other Chromium-based browsers by leveraging a version of TinyEMU, a RISC-V emulator, that has been modified to run inside a PDF.
Unlike traditional virtual machines, this emulator operates entirely within Chrome’s PDF viewer by utilizing an older version of Emscripten that compiles to asm.js instead of WebAssembly.
How LinuxPDF works
When a user opens the file and agrees to “Start Emulator,” the embedded code loads, launching a minimal Linux environment. The interface consists of a text-based Linux viewport with a soft keyboard made of interactive PDF buttons. Users with a physical keyboard can enter commands in a designated input field.
Despite its ingenuity, LinuxPDF is far from practical for regular use. According to Ading2210, boots takes between 30 and 60 seconds.
This sluggish performance is thanks to Chrome’s disabled Just-in-Time (JIT) compiler, a move which bolsters security but prevents optimizations that could speed up code execution. As a result, LinuxPDF remains more of a technical experiment than a functional operating system.
Those interested in testing LinuxPDF can open it in a Chromium-based browser like Google Chrome or Microsoft Edge. Developers can also explore or modify the source code which is freely available on GitHub.
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
Via TomsHardware
You may also like
Chromium browsers can turn a PDF into a working Linux environment under emulation Chrome’s disabled JIT compiler hampers performance High school-aged developer has form for impressive PDF projects, such as running Doom inside one A high-school student has achieved another coding feat, getting a lightweight Linux distribution to run inside…
Recent Posts
- Nintendo confirms it will sell a new Switch 2 with replaceable battery in the EU
- Apple begins requiring age verification for App Store use in Texas
- The co-creator of Scavengers Reign is working on a new show for Netflix
- Apple is bringing age verification to Texas this week
- How to watch NBA Finals 2026: Free streams, schedule, TV channels for New York Knicks vs San Antonio Spurs
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023