cxgo
Tool for transpiling C to Go. (by gotranspile)
physac-go
Small demo of using physac 2d physics engine in golang (by koteyur)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
cxgo
Posts with mentions or reviews of cxgo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
-
Transpiling 2d physics engine from C to Go
Today I remembered for some random reason that Go compiler was initially written in C and then was mostly transpiled into Go. So, I was curious, which projects exist to do something like this. And after some googling I've found very interesting project called cxgo.
physac-go
Posts with mentions or reviews of physac-go.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
-
Transpiling 2d physics engine from C to Go
Apparently, it was pretty easy! After some small fixes it started working. So, I added ebiten to see how it works in practice. And finally, I created a small wasm demo. It was harder, because of some strange bugs, which I could fix by getting rid of unsafe from transplited code. But it wasn't too much hard (actually - nothing, comparing to writing physics engine from scratch).
What are some alternatives?
When comparing cxgo and physac-go you can also consider the following projects:
c4go - Transpiling C code to Go code
Physac - 2D physics header-only library for videogames developed in C using raylib library.
c2go - ⚖️ A tool for transpiling C to Go.
Ebiten - Ebitengine - A dead simple 2D game engine for Go