Skip to content

Get On Scoop

  • Advertise with us!
Advertise
  • Home
  • Tech Scoop
  • Mysterious developer shows exceptional skills by getting Linux to start in a PDF doc inside Chrome
  • Tech Scoop

Mysterious developer shows exceptional skills by getting Linux to start in a PDF doc inside Chrome

getonscoop 02/16/2025




  • 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



Source link

Continue Reading

Previous: How this weekend’s ‘Tesla Takeover’ protests against Elon Musk came together on Bluesky
Next: 2025 women’s college basketball projections

Related Stories

B&H gaming monitor sale: Save up to $500 Samsung Odyssey G95C 49-inch Curved Ultrawide Gaming Monitor
  • Tech Scoop

B&H gaming monitor sale: Save up to $500

03/10/2025
Manus probably isn’t China’s second ‘DeepSeek moment’ Manus
  • Tech Scoop

Manus probably isn’t China’s second ‘DeepSeek moment’

03/09/2025
5 underrated movies on Netflix you need to watch in March 2025 Nicolas Cage puts his fists together in The Unbearable Weight of Massive Talent.
  • Tech Scoop

5 underrated movies on Netflix you need to watch in March 2025

03/09/2025

Live Scoop

What the Scoop?

Categories

  • Current Events
  • Food Scoop
  • News Scoop
  • Tech Scoop

You may have missed

Oatmeal Protein Cookies – WellPlated.com Oatmeal Protein Cookies – WellPlated.com
  • Food Scoop

Oatmeal Protein Cookies – WellPlated.com

04/28/2025
Weekly Meal Plan 4.27.25 – WellPlated.com Weekly Meal Plan 4.27.25 – WellPlated.com
  • Food Scoop

Weekly Meal Plan 4.27.25 – WellPlated.com

04/28/2025
Easy Refried Beans – Mel’s Kitchen Cafe Easy Refried Beans - Mel's Kitchen Cafe
  • Food Scoop

Easy Refried Beans – Mel’s Kitchen Cafe

04/28/2025
Easy Spicy Mayo Recipe Easy Spicy Mayo Recipe
  • Food Scoop

Easy Spicy Mayo Recipe

04/26/2025

Terms & Services | Privacy Policy

  • Partners
  • Press
  • About
  • Useful
Copyright © All rights reserved. | DarkNews by AF themes.