Here's Linux running inside a PDF, running inside a browser, running on a Windows PC
https://www.pcgamer.com/software/operating-systems/heres-linux-running-inside-a-pdf-running-inside-a-browser-running-on-a-windows-pc/
115 points · 12 comments · view on lemmy.world
12 Comments
hellofriend@lemmy.world · 27 pts · 1y
BUT CAN IT RUN DOOM?
bjoern_tantau@swg-empire.de · 24 pts · 1y
You missed last week's news.
andioop@programming.dev · 14 pts · 1y
for people out of the loop, unironically this
https://www.gamespot.com/articles/someone-ported-doom-to-run-inside-a-pdf/1100-6528790/
https://github.com/ading2210/doompdf
Sorse@discuss.tchncs.de · 2 pts · 1y
Not even last week’s
kubica@fedia.io · 1 pts · 1y
30p87@feddit.org · 21 pts · 1y
Considering it just exploits the fact that PDFs can execute JavaScript, it's much more "here is Linux running in JavaScript, containered in a PDF"
infeeeee@lemm.ee · 16 pts · 1y
Video without the "article": https://www.youtube.com/watch?v=cWnN-FA3zRM
Sourcecode: https://github.com/ading2210/linuxpdf
It's TinyEMU under the hood:
It has a javascript version, JSLinux, that's embedded in the pdf. You can run other OS-es in the browser with that, see link. It has X window support, so it should be possible to run a full GUI operating system in a pdf.
thefartographer@lemm.ee · 7 pts · 1y
Why is this "win-11" pdf 70GB? Win eleven of what?
Septimaeus@infosec.pub · 2 pts · 1y
Eleven. This OS was released in the time before the war. There never was a Windows Twelve.
sik0fewl@lemmy.ca · 2 pts · 1y
I would be more impressed if it was written in Postscript.
RmDebArc_5@sh.itjust.works · 11 pts · 1y
If your not running Linux inside a PDF, inside a browser, inside WSL, inside Windows, inside the Linux version of virtualbox, inside FreeBSD jails, on a Arm System inside a x86 emulator than what are you even doing
Gsus4@programming.dev · 7 pts · 1y
Wtf...pdfs allow js to execute? Who thought that was a good idea? How about it runs flash too while we're at it?
ms5K8oWx@programming.dev · 0 pts · 1y
* Laughs in Firefox where this doesn't work *