@ading.dev @ading.dev · Jan 31

I got Linux running in a PDF file using a RISC-V emulator. PDFs support Javascript, so Emscripten is used to compile the TinyEMU emulator to asm.js, which runs in the PDF. It boots in about 30 seconds and emulates a riscv32 buildroot system. linux.doompdf.dev/linux.pdf github.com/ading2210/li...

312 likes 12 replies

?

Replies

Jerry Chen · Jan 31

your scientists were so preoccupied with whether or not they could

Marcellus Wallace · Feb 1

Sooo the next question is probably : can it run doom ?

@tpo-asd.bsky.social · Feb 1

📌

Jeremy Page · Apr 24

@darkglade.bsky.social · Feb 1

Truly cursed *tips hat*

Alsciende · Feb 1

Extremely cool!

Amias Channer · Feb 1

Very impressive, you made it sound easy but I bet it wasn't

Grant Faulkner · Feb 1

I have only the faintest idea of what this means but it looks awesome nonetheless

Deran 🏳️‍🌈 · Jan 31

Hey that's pretty cool. If you enjoyed the process, why not. Do you have any info on what type of security risks this poses? Does PDF software run the JavaScript in a container or something like a container?

Will ~ Data Center Drainer · Feb 1

wait, PDF supports WHAT?

Robert Freudenreich · Feb 1

@steipete.bsky.social Doom was just the beginning 🐧🫠

@mcrognale.bsky.social · Feb 2

This is how a certain middle eastern spy agency was able to pop some many ‘secure’ phones.