gx VS aaaaxy

Compare gx vs aaaaxy and see what are their differences.

gx

A Go->C++transpiler meant for data-oriented gameplay and application programming especially for WebAssembly. Using this mostly in the context of specific personal projects and heavily focusing the feature set on those. Used in my Raylib gamejam project: https://github.com/nikki93/raylib-5k -- also being used to develop a private longer term game project and a note-taking app. (by nikki93)

aaaaxy

A nonlinear 2D puzzle platformer taking place in impossible spaces. (by divVerent)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gx aaaaxy
6 5
88 203
- -
4.8 9.7
23 days ago 7 days ago
Go Go
- Apache License 2.0
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.

gx

Posts with mentions or reviews of gx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-24.
  • Making Games in Go for Absolute Beginners
    17 projects | news.ycombinator.com | 24 Nov 2023
    Nice! Ebiten is a super nice API for Go. Lots there to be inspired by in API design. Another API I like a lot is Love for Lua (which also actually can be used from C++).

    Re: the comments on here about the GC etc. -- I've posted about this a couple times before but I've been using a custom Go -> C++ compiler for hobby gamedev, which helps with perf, gives access to C/C++ APIs (I've been using Raylib and physics engines etc.) and also especially has good perf in WebAssembly. Another nice thing is you can add in some reflection / metaprogramming stuff for eg. serializing structs or inspector UI for game entity properties. I was briefly experimenting with generating GLSL from Go code too so you can write shaders in Go and pass data to them with shared structs etc.

    The compiler: https://github.com/nikki93/gx

  • Gx: Go to C++ Compiler
    1 project | news.ycombinator.com | 17 Sep 2022
  • Cppfront, Herb Sutter's proposal for a new C++ syntax
    13 projects | news.ycombinator.com | 17 Sep 2022
    I've been using my own little Go (subset / my own extensions) -> C++ compiler -- https://github.com/nikki93/gx -- and found it to be a fun way to add some guardrails and nicer syntax over C++ usage. You get Go's package system and the syntax analyzers / syntax highlighters etc. just work.
  • Build Pong in Your Terminal with Go for Some Reason
    6 projects | news.ycombinator.com | 26 Jul 2022
    Re: perf for hobby gamedev, I basically agree for native builds, but lately I've felt like Wasm support seems key for hobby gamedev (so you can have more people play your game / without downloading it / it works directly on mobile too without dealing with app or play store). And Go perf in Wasm unfortunately is not so good (I was hitting big GC pauses when trying to make a game with Ebiten and large images).

    I ended up writing a Go -> C++ compiler. The games I've done with it don't use the GC at all but also don't manually manage memory -- they use an ECS api which helps. https://github.com/nikki93/gx -- the README links to development workflow video and complete example game code.

  • GoGCTuner brought CPU utilisation down ~50%
    5 projects | news.ycombinator.com | 12 Jan 2022
    I've written my own Go (subset + extensions) -> C++ transpiler and using it on a game project: https://www.youtube.com/watch?v=8He97Sl9iy0 -- No GC, it does have slices and has access to an entity/component API and with that I think you're basically set and don't need GC for games.

    Example transpiler input / output: https://github.com/nikki93/gx/blob/master/example/main.gx.go... becomes https://gist.github.com/nikki93/97ff376abb6718427387bb9cca2f...

  • I wrote a simple Go->C++ compiler for gameplay programming (gives module system, simple definition-checked generics, static reflection). Here's a demo from my game project. Generated C++ visible at end of video. Compiler source is ~1500 lines, link in description. Will do a public release soon!
    1 project | /r/cpp | 25 Nov 2021
    Hey thanks! The source code for the compiler itself is here: https://github.com/nikki93/gx along with a test / example under the 'example/' directory. This is the C++ output when compiling 'example/': https://gist.github.com/nikki93/b650c551ccb67490d8607980a582c468

aaaaxy

Posts with mentions or reviews of aaaaxy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-24.
  • Making Games in Go for Absolute Beginners
    17 projects | news.ycombinator.com | 24 Nov 2023
    > Your game looks great, congrats on your progress! I especially enjoyed how the zoom works when you're leaving/arrive planets, and the unique propulsion system (also, the anchor made me giggle!).

    Thank you. Feedbacks are very much appreciated. There is still a long was until an eventual release, but it's very fun to work on it.

    > I tend to not need many, so I'd be curious if you can recall any structure in particular which you couldn't find? No biggie if not.

    I had trouble finding basic structures like sets or linked lists, as much as more specific ones like R-tree, M-tree, KD-tree quad-tree or specific kinds of tries.

    When quickly searching on Google, there are pretty much always some results, but when looking at the details it's not that great. Most of the packages have some kind of flaw that was a deal-breaker for me. Most common ones are:

    - The package is something developed by one guy 4 years ago, and has pretty much no stars and is abandoned

    - The structure is somehow backed by the native `map`, meaning that it has the same randomized iteration order

    - There is some kind of logic to try to handle multi-threading, mixed-up with the data structure's logic. Often with mutexes/locks, thus killing the performance. My game is pretty much only mono-thread, and I just need something simple and that does not care about synchronization.

    - The structure is not generic, but only uses `interface{}`

    - The structure lacks tests or have unreadable code made of 1-letter variables

    > I'm not a game dev, but I've seen some larger games such as https://github.com/divVerent/aaaaxy/tree/main/internal (if you haven't played it before—do it!) which seems to be able to place everything into separate packages without issue, so perhaps there's something to gleam from their architecture?

    Thanks for the reference. After looking at it, is seems to me that they are creating really tiny packages made of one or two files. I don't want my codebase to end-up with thousands of 1-file packages, it does not seem very maintainable. I want to keep having packages with clearly defined purposes and domains.

    > Hash map iteration shouldn't be sorted in _any_ language (here's Rust, for example https://play.rust-lang.org/?version=stable&mode=debug&editio... (Python makes it _appear_ as if dicts are sorted hash maps, but that's only because it doesn't only use a hash table, but a vector as well (same as you'd have to do in Go))), otherwise it would cause both portability and security (https://github.com/golang/go/issues/2630) issues. You should probably be using a b-tree if you aren't willing to sort it yourself.

    I think that you didn't understand my message (or I didn't explain clearly enough). I do not need the items to be sorted, I need the iteration order to be consistent.

    Let's say that I insert A, B and C in a map, then want to iterate on it. I will get an unspecified order, maybe ABC, maybe CBA, maybe BAC, which does not matter to me. However, in any language, this order will be consistent across all future iterations unless the data is changed. This is a natural property of any data structure. So if I got CBA in the first loop, I will also get CBA in the second and third loops.

    In golang this is not the case because they actively inserted a random order. It means that even if the data does not change, I may get CBA in the first iteration, but BAC in the second, then ABC... Which created a ton of issues for me.

    > If you don't care about unloading https://github.com/pkujhd/goloader

  • aaaaxy: A nonlinear 2D puzzle platformer taking place in impossible spaces.
    1 project | /r/gogamedev | 2 Nov 2023
  • Aaaaxy is a nonlinear 2D puzzle platformer taking place in impossible spaces
    1 project | news.ycombinator.com | 10 Sep 2022
  • ⟳ 1 apps added, 37 updated at f-droid.org
    9 projects | /r/FDroidUpdates | 26 Aug 2022
    AAAAXY (version 1.2.280+20220822.2294.9ff4b8b7): A nonlinear 2D puzzle platformer taking place in impossible spaces.

What are some alternatives?

When comparing gx and aaaaxy you can also consider the following projects:

printf - Tiny, fast(ish), self-contained, fully loaded printf, sprinf etc. implementation; particularly useful in embedded systems.

osmdroid - OpenStreetMap-Tools for Android

cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler

chaofun-app - 炒饭( https://chao.fun/app )App工程

rotaterm

app - Think fearlessly with end-to-end encrypted notes and files. For issues, visit https://standardnotes.com/forum or https://standardnotes.com/help.

flapioca - A Flappy Bird-inspired terminal game written in Go.

fritter - A privacy-friendly Twitter frontend for mobile devices

go - The Go programming language

NewsBlur - NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.

Vrmac - Vrmac Graphics, a cross-platform graphics library for .NET. Supports 3D, 2D, and accelerated video playback. Works on Windows 10 and Raspberry Pi4.

goloader - load and run golang code at runtime.