#emscripten

2025-05-03

I released an Emscripten port of Dawn, which is an open-source and cross-platform implementation of the WebGPU standard.

github.com/pongasoft/emscripte

#WebGPU #Emscripten #wasm #WebAssembly #cpp

st1nger :unverified: 🏴‍☠️ :linux: :freebsd:st1nger@infosec.exchange
2025-04-21

Proof-of-concept project, showing that it's possible to run an entire Large Language Model in nothing but a #PDF file.

It uses #Emscripten to compile #llama.cpp into asm.js, which can then be run in the PDF using an old PDF JS injection.

Combined with embedding the entire #LLM file into the PDF with base64, we are able to run LLM inference in nothing but a PDF

github.com/EvanZhouDev/llm.pdf

2025-04-06

Запуск Linux внутри PDF

По мнению некоторых пользователей, PDF — простой формат для обмена документами. На самом деле это очень сложный стандарт, который поддерживает выполнение практически любого кода. Неудивительно, что в прошлые годы энтузиастам удалось успешно запустить Doom внутри PDF и провести ряд других интересных экспериментов. Оказалось, что на этом возможности движка по рендерингу PDF не ограничиваются. Он способен запустить даже эмулятор полноценного процессора, а в нём — целую операционную систему .

habr.com/ru/companies/globalsi

#PDF #Linux #RISCV #LinuxPDF #Doom #DoomPDF #TinyEMU #Emscripten #asmjs #JSLinux #pdfsyntax

2025-03-23

I've ported Empty Clip, a 2D role-playing shooter #game from 2006, for the web with #Emscripten. Needs WebGL2!

midzer.de/wasm/emptyclip/

Jun Nergahak 🌺🌺🌺nergahak
2025-03-09

Boxedwine - Emulator that can run 32-bit Windows programs/games on multiple platforms via Wine.
github.com/danoon2/Boxedwine

2025-03-07

My latest contribution to the Emscripten project is now live with 4.0.4: a contrib port to easily embed Lua in any project

emscripten.org/docs/compiling/

#Lua #Emscripten #cpp #wasm #webassembly

A screenshot showing an example usage of Lua with Emscripten
2025-02-09

Released emscripten-glfw 3.4.0.20250209:

* Added support for touch (mobile)
* Added support for wasm64 (-sMEMORY64 Emscripten option)

github.com/pongasoft/emscripte

#wasm #wasm64 #GLFW #Emscripten

卡拉今天看了什麼ai_workspace@social.mikala.one
2025-02-02

GitHub - ading2210/linuxpdf: Linux running inside a PDF file via a RISC-V emulator

Link
📌 Summary: 本文介紹了一個名為 LinuxPDF 的專案,該專案使得 Linux 系統可以在 PDF 檔案內透過 RISC-V 模擬器運行。此技術運用到 PDF 檔案格式中所支持的 Javascript,並透過 Emscripten 將 C 程式碼編譯成 asm.js,進一步載入修改過的 TinyEMU 模擬器。雖然在 PDF 中運行 Linux 存在性能問題,但這一創新仍能展示 PDF 檔案的多元性及其潛力。

🎯 Key Points:
- LinuxPDF 專案能讓 Linux 在 PDF 內運行,基於 RISC-V 模擬器。
- PDF 格式支持 Javascript,但瀏覽器的 API 限制了其功能。
- 提供了 32 位和 64 位的根檔案系統,默認使用 32 位版本。
- RISC-V 模擬器運行速度較慢,Linux 核心啟動時間約需 30-60 秒。
- 使用者可透過克隆專案並運行指定指令來建置系統。

🔖 Keywords: #Linux #PDF #RISC-V #Emscripten #TinyEMU

Thomas Steiner :chrome:tomayac@toot.cafe
2025-01-31

📢 Scaling multithreaded #WebAssembly applications with mimalloc and WasmFS, by @kripken:
web.dev/articles/scaling-multi. If you have a multithreaded #Wasm application that does lots of allocations or uses files, then you may benefit greatly by using WasmFS and/or mimalloc. Usage in #Emscripten:

```bash
emcc -sWASMFS -sMALLOC=mimalloc
```

2025-01-16

I've ported Atomiks, remake of a classic puzzle game from 1990, for the web with #Emscripten. Even mobile friendly!

midzer.de/wasm/atomiks/

Thomas Steiner :chrome:tomayac@toot.cafe
2025-01-15

A port of Doom (1993) that runs inside a PDF file
github.com/ading2210/doompdf. Made possible through asm.js and #Emscripten. 🤯

2025-01-06

I have a new #programming playground: #WASM with #Emscripten
emscripten.org/

I explored this platform some time ago, but had no practical use for it.

But #HTML5 #canvas elements can act as a "screen" for stuff generated or managed in c or #cpp.
Posting user events to a "native" WASM worker and posting back images to the browser's thread makes the browser a virtual machine for classic C programs.

It's not very performant, but sufficient.
And it's pure fun to see that it just works 😁

2024-12-29

I've ported Simple Sokoban for the web with #Emscripten. Mobile friendly!

midzer.de/wasm/sokoban/

2024-12-29

I've ported Starfighter, a side-scrolling shoot 'em up space game for the web with #Emscripten. Even (somewhat) playable on mobile!

midzer.de/wasm/starfighter/

2024-12-29

I maintain the #Emscripten port of Brogue, a minimal roguelike game, now.

midzer.de/wasm/brogue/

2024-12-26

I've ported Powermanga, an oldschool shoot 'em up, for the web via #Emscripten. Works also on mobile!

midzer.de/wasm/powermanga/

2024-12-26

I've ported Help Hannah's Horse, a Pacman clone with ghosts, music and powerups for the web with #Emscripten. Even mobile friendly!

midzer.de/wasm/hannah/

I've been experimenting with emscripten lately, so I created a skeleton cmake project that prepares emsdk and use it to compile C code instead of using a C compiler #cmake #emscripten #webassembly github.com/pvmm/skeleton-emsdk

2024-12-25

I've ported Gilbert and the doors, a 2D platformer, for the web via #Emscripten. Even mobile friendly!

midzer.de/wasm/gilbert/

2024-12-25

I've ported a Pacman clone for the web via #Emscripten. Even mobile friendly!

midzer.de/wasm/pacman/

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst