rochegmr
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Linux@programming.dev · 3 months ago

Here's Linux running inside a PDF, running inside a browser, running on a Windows PC

www.pcgamer.com

external-link
message-square
12
link
fedilink
119
external-link

Here's Linux running inside a PDF, running inside a browser, running on a Windows PC

www.pcgamer.com

cm0002@lemmy.world to Linux@programming.dev · 3 months ago
message-square
12
link
fedilink
Linux-ception.
alert-triangle
You must log in or register to comment.
  • hellofriend@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    3 months ago

    BUT CAN IT RUN DOOM?

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      26
      ·
      3 months ago

      You missed last week’s news.

      • andioop@programming.dev
        link
        fedilink
        English
        arrow-up
        16
        ·
        3 months ago

        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
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        Not even last week’s

    • kubica@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      deleted by creator

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    25
    arrow-down
    2
    ·
    3 months ago

    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
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      3 months ago

      Video without the “article”: https://www.youtube.com/watch?v=cWnN-FA3zRM

      Sourcecode: https://github.com/ading2210/linuxpdf

      It’s TinyEMU under the hood:

      TinyEMU is a system emulator for the RISC-V and x86 architectures. Its purpose is to be small and simple while being complete.

      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
        link
        fedilink
        arrow-up
        7
        ·
        3 months ago

        Why is this “win-11” pdf 70GB? Win eleven of what?

        • Septimaeus@infosec.pub
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          Why is this “win-11” pdf 70GB? Win eleven of what?

          Eleven. This OS was released in the time before the war. There never was a Windows Twelve.

      • sik0fewl@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I would be more impressed if it was written in Postscript.

  • RmDebArc_5@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    3 months ago

    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
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    3 months ago

    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
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      3 months ago

      * Laughs in Firefox where this doesn’t work *

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system

Also check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 510 users / day
  • 1.67K users / week
  • 4.34K users / month
  • 8.23K users / 6 months
  • 1 local subscriber
  • 7.27K subscribers
  • 1.21K Posts
  • 9.17K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • adr1an@programming.dev
  • dwraf_of_ignorance@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org