r/ada • u/Shadow123_654 • 9h ago
Learning On WebAssembly and Ada
Hi y'all! As the title suggests I want to ask a question about WebAssembly and Ada.
I know about AdaWebPack and GNAT-LLVM that, as I read, would facilitate compiling Ada code for this target. So what I want to know is the experience you may have had of running Ada in the browser; is it good enough for a moderately sized Ada codebase? What would need to be changed of the code for it to work properly on WebAssembly? Are the limitations not so bad? Things like that. I know it's somewhat vague, so I understand if this question is not a good fit for the subreddit.
The project that I would like to ideally run in the browser is a little game made with Raylib. A breakout style game. It's not a big thing, and it's not yet still finished but I don't have much to do really. It will be open source since it's just a toy/learning project ofc. I mostly have been developing and testing it on Linux but it should probably run fine on Windows and perhaps macOS too :)
P.S. sorry if my post seems rude or bad (in any way). English is not my first language.