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
- I just saw the renter-friendly dishwasher I’ve been dreaming of for the past decade
- I didn’t think any analog keyboard could outperform my beloved SteelSeries — but then I tried Razer’s new magnetic Huntsman
- How to see what’s taking up space on your Windows PC
- Anker’s S2000 is the smallest 2kWh home backup power station around — and it just dropped to $650 in Amazon’s Labor Day sale
- The Tetris Company wants nothing to do with the White House’s new copycat game
Archives
- September 2026
- August 2026
- July 2026
- 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