C# support
User yowl has an example of C# for wasm4, reporting an output wasm file size of 1283 bytes, so we should add C# to wasm4.
- [ ]
w4 new: Add new project template - [ ]
w4 watch: Add new filename suffix + build/run support - [ ]
w4 png2src: Add new language parameter - [ ] Website: Setup documentation
- [ ] Website: Translated code snippets for all guide pages
- [ ] Website: Add code to Snake tutorial
With so much game dev in C# out there, getting this in before the jam would be awesome.
Happy to help with any bugs that are found in the compiler. At the risk of repeating myself, I just want to point out for the benefit of newcomers, the restrictions imposed in getting C# wasm libs this small, Check https://github.com/MichalStrehovsky/zerosharp and in particular the "no-runtime" section. Its a bit like programming in C without "#include"ing anything, except wasm4 of course :-) . Tag me in this repo or in https://github.com/dotnet/runtimelab/issues
For status, we're still trying to get a docker linux build working for the right branches.
Any info on this? Is C# support still planned?
The windows instructions probably still stand. I never got the linux build going. On the plus side we have some support for the RyuJit optimisations which will help keep the code size down. All still experimental. .Net 7 release mode brings a few other bugs which I'm currently looking at.