go2cpp
zig-wasm-test
Our great sponsors
go2cpp | zig-wasm-test | |
---|---|---|
2 | 2 | |
236 | 49 | |
- | - | |
6.9 | 5.0 | |
over 2 years ago | 5 months ago | |
Go | Zig | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go2cpp
-
Compiling a Go program into a native binary for Nintendo Switch™
I'll continue polishing this so that a proper game can be released for Nintendo Switch. As I described first, there is a high level of uncertainty in this project. Until a game is released, I cannot anticipate what kind of issues will occur, and I always have to be on high alert. Even in the worst case scenario, however, I know we can continue to release the game with the help of go2cpp, which is reassuring. Still, with all the hard work I’ve put into this already, I really want to release a game with Hitsumabushi and see it achieve some actual results.
-
I wrote a simple Go->C++ compiler to use for gameplay programming. Here's a demo of its use for my game project (along with an editor tool). I show the generated C++ in the end of the video. Compiler source code is ~1500 lines, link in video description. Will do a deeper public release soon!
not sure exactly about OPs use case, but for Ebiten a go to c++ conversion was done for Nintendo Switch support -- https://github.com/hajimehoshi/go2cpp
zig-wasm-test
-
Zig and WASM
Wow, this just straight rips off my (not very great) example I've been maintaining for a while:
https://github.com/meheleventyone/zig-wasm-test
Thanks for the credit yurivish! :(
-
Will Zig interop with JavaScript/Web at all?
Here’s a ridiculously over simple example of doing just this: https://github.com/meheleventyone/zig-wasm-test
What are some alternatives?
zig-wasm-test
book - The Rust and WebAssembly Book
coc-go - Go language server extension using gopls for coc.nvim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
asyncrun.vim - :rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
Dodgeballz - A mini game using Zig, WASM and JS
Azul3D - Azul3D - A 3D game engine written in Go!
liwords - A site that allows people to play a crossword board game against each other
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
minimal-zig-wasm-canvas - A minimal example showing how HTML5's canvas, wasm memory and zig can interact.
hitsumabushi - Run Go programs (almost) everywhere
zig-wasm-logger - A simple implementation of console.log() in Zig + JS + Wasm