Swift for Wasm April 2026 Updates

Notable changes this month: Wasm-compatible swift-tar library, JavaScriptKit 0.50.0–0.51 releases with continued BridgeJS work and a new opt-in pointer-identity mode for SwiftHeapObject wrappers, WasmKit updates unifying WasmKitError typed throws and removing any GuestMemory existentials from *Guest*Pointer types (plus a small 0.2.2 patch release), and ElementaryUI 0.2.0–0.2.2 focused on performance and stability fixes. Many thanks to 0xpablo, @inductor, @kateinoigakukun, Ken Tominaga, @krodak,...

Swift Forums

Webruby: mruby와 Emscripten을 활용한 브라우저 내 Ruby 실행 환경

Webruby는 mruby를 Emscripten으로 컴파일하여 브라우저에서 백엔드 없이 Ruby 코드를 직접 실행할 수 있게 해주는 구현체다.

🔗 원문 보기

Webruby: mruby와 Emscripten을 활용한 브라우저 내 Ruby 실행 환경

Webruby는 mruby를 Emscripten으로 컴파일하여 브라우저에서 백엔드 없이 Ruby 코드를 직접 실행할 수 있게 해주는 구현체다.

Ruby-News | 루비 AI 뉴스
🌗 在 WebAssembly 中將 Tar 封存檔掛載為檔案系統
➤ 透過索引技術實現 WebAssembly 的檔案系統零複製掛載
https://jeroen.github.io/notes/webassembly-tar/
處理網路上的 .tar.gz 檔案時,傳統做法通常需要下載、解壓縮並複製所有檔案,這在記憶體有限的環境中非常耗時且昂貴。本文介紹了一種創新的優化方案:利用 Emscripten 的 WORKERFS,透過生成一個包含檔案偏移量(offset)與大小的 JSON 索引檔,將 .tar.gz 檔案直接掛載為虛擬檔案系統。此方法無需複製原始資料,直接透過記憶體映射(memory-mapping)技術實現零複製讀取,顯著提升了載入效率。
+ 這對於在瀏覽器端載入大型資料庫或語言套件(如 R 語言)簡直是神級優化,原本繁瑣的解壓縮步驟現在幾乎零成本。
+ 很有趣的技巧。利用 Tar 格式本身扁平且具備位元組定址的特性,配合瀏覽器原生的 DecompressionStream,確實將資源利用
#WebAssembly #Emscripten #VFS #效能優化
Mounting tar archives as a filesystem in WebAssembly

How to use a file index to mount a tar.gz archive directly into the Emscripten virtual filesystem without extracting it

ʕ•ᴥ•ʔ Notes from Jeroen
Oh, look! Another attempt to solve the monumental crisis of handling tarballs—this time with #WebAssembly and a sprinkle of #Emscripten magic. 🙄 Instead of just extracting a file like a normal person, let's generate an "index" to mount things because who doesn't love an overengineered solution to save a few bytes? 😂
https://jeroen.github.io/notes/webassembly-tar/ #tarballs #overengineering #techhumor #HackerNews #ngated
Mounting tar archives as a filesystem in WebAssembly

How to use a file index to mount a tar.gz archive directly into the Emscripten virtual filesystem without extracting it

ʕ•ᴥ•ʔ Notes from Jeroen
Windows でしか動かない描画処理をブラウザで動かす OSS を公開した - Qiita

昔の Windows で描画を伴うソフトやゲームでは DirectX や Direct3D という グラフィックスを描画するための API が使われていました。 この DirectX / Direct3D は Microsoft が開発したものであり、基本的に Window...

Qiita

Just posted a new devlog for our C-based web engine, Archimedes!

It's been a long road from Pygame to a custom C/Emscripten stack. I'm breaking down the architectural hurdles of moving away from our Daedalus library and how my collaborator @smattymatty has been stress-testing the engine with a vampire survivors clone and recent game jams.

To celebrate the progress, I've rewritten my old ( and very broken ) Game of Life simulator from the ground up. It's a great feeling to see a legacy project running smoother than ever on new, custom-built foundations.

Check out the devlog: https://jake-ster.itch.io/game-of-life/devlog/1462381/remaking-my-old-game-of-life-clone-with-archimedes

#GameDev #WebAssembly #C #IndieDev #Emscripten #Archimedes #GameOfLife

Remaking my old Game of Life clone with Archimedes - Game Of Life by Jakester

Four years ago, I began developing small games for the web, I started with pygame and pygbag, but quickly found myself wanting more control and performance. This led me to transition to C and discover...

itch.io
GitHub - yume-chan/h264bsd: A WebAssembly H.264 Decoder.

A WebAssembly H.264 Decoder. Contribute to yume-chan/h264bsd development by creating an account on GitHub.

GitHub

Long shot, but is there anyone here who has used SDL3 and Emscripten or is familiar with building Emscripten from source?

I had to get SDL3_TTF from a PR, and managed to build it with embuilder but so far when I try to build with -sUSE_SDL_TTF=3 it doesn't seem to acknowledge the option and if just complaining that it can't find SDL3/SDL_ttf.h

What am I missing?

(also if you don't know, sharing is caring)

#sdl #sdl3 #emscripten #c #gamedev #programming

emsdk-env makes public.

This is a Vite plugin that automatically downloads and manages the Emscripten SDK, and makes it possible to automatically build WASM C/C++ code in your project.

With this plugin, you can easily set up a WASM C/C++ development environment in your Vite project.

https://github.com/kekyo/emsdk-env

#emscripten #npm #wasm #vite

GitHub - kekyo/emsdk-env: Automatically builds WASM C/C++ source code using the Emscripten SDK 🤖

Automatically builds WASM C/C++ source code using the Emscripten SDK 🤖 - kekyo/emsdk-env

GitHub

Git в браузере. Расширяем возможности с помощью LFS

Привет, Хабр! Я Паша, разработчик

https://habr.com/ru/companies/gram_ax/articles/994384/

#git #libgit2 #lfs #webassembly #rust #ffi #emscripten #docsascode #opensource #localfirst

Git в браузере. Расширяем возможности с помощью LFS

Привет, Хабр! Я Паша, разработчик Gramax — Open Source платформы для управления документацией в подходе Docs as Code. В прошлой статье я рассказывал о том, как мы переводили наше приложение с...

Хабр