Writing text editor from scratch in D & Raylib

Kapendev alexandroskapretsos at gmail.com
Mon Apr 6 08:37:14 UTC 2026


On Monday, 6 April 2026 at 08:24:18 UTC, Kapendev wrote:
> On Monday, 6 April 2026 at 01:06:37 UTC, madwebness wrote:
>>> Recently I found an interesting project in C + Clay + SDL
>>> Could be interesting for you to check 
>>> https://dylancobb.github.io/sev/
>>
>> Yep, thank you, interesting project. One thing I wish I could 
>> do is to be able to ship to WASM and the browser - which this 
>> editor can do because it's in C, but ick cannot. Raylib itself 
>> supports WASM, but D with GC doesn't, correct? Does anybody 
>> know if D + GC + maybe parts of stdlib will ever be compiling 
>> for wasm?
>
> Parin includes some information about compiling raylib-d 
> projects that use the GC and std to Wasm: 
> https://github.com/Kapendev/parin?tab=readme-ov-file#how-do-i-make-a-web-build
>
> Just ctrl-f raylib and you will find the part I'm talking 
> about. Feel also free to make an issue if it does not work and 
> I will try to help.

This might also help: https://github.com/crazymonkyyy/raylib-2024

Just a small last note: anything sdl or raylib related on the web 
is not really the most stable thing **in my opinion** in any 
language. It's better than not being able to have a web build, of 
course. Also worth trying.


More information about the Digitalmars-d mailing list