gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
165 stars 10 forks source link

Additional Language Example & Binding Requests #61

Closed RobDavenport closed 1 year ago

RobDavenport commented 1 year ago

Since one of Gamercade's core features is being language agnostic, we need more examples, bindings, for other popular WASM languages.

Language Bindings Example
Rust gamercade_rs list
Nelua nelua-gamercade nelua-gamercade
Zig zig-template zig-template
C / C++ none none
AssemblyScript gamercade-as gamercade-as
Go via TinyGo none none

Feel free to request any more languages, and I'll add them to this list.

Some other "nice to have" languages could also be:

RobDavenport commented 1 year ago

Took a look at Zig, it doesn't look to bad: https://ziglang.org/documentation/0.9.0/#toc-WebAssembly

Zig has been added!

RobDavenport commented 1 year ago

AssemblyScript Imports (from Gamercade): https://www.assemblyscript.org/concepts.html#module-imports

And Exports (example on homepage): https://www.assemblyscript.org/

Bindings has been started @ https://github.com/NEARworld/gamercade-as

Updated the sheet to reflect AS bindings!

RobDavenport commented 1 year ago

C also doesn't look too bad: https://aransentin.github.io/cwasm/

I might be able to get this one done as well through Zig.

RobDavenport commented 1 year ago

Go bindings have been started at: https://github.com/zyellowhorse/go-template

But they aren't finished yet.

This might be blocked since TinyGo requires some WASI things which is currently blocked by this issue: https://github.com/tinygo-org/tinygo/issues/3068

RobDavenport commented 1 year ago

going to close this for now and re-open individual issues at a later date with target langs.