digitalmars.D - WASI P1 + Joka: Looking for (unpaid) CLI testers
Hey. I've been working on basic WASI P1 support for my library, [Joka](https://github.com/Kapendev/joka). It's a "no GC" library. This post exists because I wanted to ask if anybody wants to write a CLI with it to test if things work correctly. Example: ```d // File: app.d import joka.wasip1; import joka.types; extern(C) void _start() { auto value = 40 + 29; auto text = "Value is: {}\n".fmt(value).toCiovec(); fdWrite(stdout, &text, 1, null); } ``` Compile and run with [Wasmtime](https://wasmtime.dev/): ``` ldc2 -betterC -i --mtriple=wasm32-wasi --checkaction=halt --d-version=JokaTypesStubs app.d wasmtime app.wasm ``` You will need the latest commit to get things working. Any feedback is welcome.
Mar 17
On Tuesday, 17 March 2026 at 10:43:36 UTC, Kapendev wrote:This post exists because I wanted to ask if anybody wants to write a CLI with it to test if things work correctly.I added [WASM-4](https://wasm4.org/) support for the gamers. No wasi-libc needed because both the string and math modules of Joka work without it. A basic [project template](https://github.com/Kapendev/joka/tree/main/scripts/wasm4_template) is available in Joka's scripts folder. To get started, copy the contents of that folder into your project folder. A project should follow this structure: ``` my_wasm4_project/ ├── app.d ├── joka/ └── run ```
Mar 19








Kapendev <alexandroskapretsos gmail.com>