gx VS jakt

Compare gx vs jakt 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)
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 jakt
6 31
88 2,750
- 0.1%
4.8 9.3
23 days ago 5 days ago
Go C++
- BSD 2-clause "Simplified" License
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

jakt

Posts with mentions or reviews of jakt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-20.
  • The Jakt Programming Language
    1 project | news.ycombinator.com | 29 Jan 2024
  • "Useless Ruby sugar": Pattern matching (Pt. 1)
    3 projects | news.ycombinator.com | 20 Oct 2023
  • Essence: A desktop OS built from scratch, for control and simplicity
    8 projects | news.ycombinator.com | 27 Sep 2023
    SerenityOS is doing exactly that:

    https://github.com/SerenityOS/serenity/tree/master/Ladybird

    I also like their Jakt programming language:

    https://github.com/SerenityOS/jakt

    Though I'm more enthusiastic about Redox (doing it in Rust):

    https://gitlab.redox-os.org/redox-os/redox/

  • Jakt (Programming Language)
    1 project | news.ycombinator.com | 9 Sep 2023
  • Will Carbon Replace C++?
    14 projects | news.ycombinator.com | 27 Feb 2023
    It's very opinionated and SerenityOS-focused, but the language Jakt ( https://github.com/SerenityOS/jakt ) transpiles to C++, has memory safety and some very neat ideas for readability.
  • Ask HN: Are people still using Pascal in 2023?
    6 projects | news.ycombinator.com | 26 Feb 2023
    I love Rust, but its model and specifics would make it difficult to learn how to write code in other languages.

    For low-level code, I think Carbon may fill that niche in the future. If it doesn't, C++ may be a good candidate once up-to-date books have been written and compilers actually support the modern spec. Classrooms/guides would need to move away from the still-lingering "C++ is C with classes" approach and use the standard library before that can be a reality, but this book[0] by Bjarne Stroustrup himself demonstrates the future C++ _could_ have if all the modern language features become usable.

    In business, C++ will still be the domain of ancient clusterfucks compiled by MSVC++ 6 in many areas, similar to how most Java code is still built around Java 8 because that was the most recent stable version for many projects' lifecycle (and Oracle's decision to only ship JRE 8 to consumers doesn't help) and how .NET 4 is still taught in schools because the new and scary dotnet tool doesn't map 1-to-1 with the old way of working. I can't imagine microcontroller toolkits supporting a modern version of _any_ language in the first place.

    However, if more people would learn modern C++ (or a replacement, like Carbon), I think this class of programming languages can have the same growth and hype Rust has enjoyed for the past years.

    I'm keeping my eye on Carbon and Zig. Google's influence has managed to push Go to the forefront despite its many quirks, and Zig seems to be focused on doing "C, but right" rather than "C++, but right" which so far is looking pretty promising.

    It's also fun to see Jakt[1] being developed in real time; I don't think it's a language that will be useful for production software any time soon, but on the other hand it's a language that actually produces binaries reliably (unlike pre-alpha Carbon or pre-release Zig, the latter exposing many problems after switching to a self-hosted compiler).

    [0]: https://www.stroustrup.com/tour3.html

    [1]: https://github.com/SerenityOS/jakt

  • The Zig programming language has been ported to SerenityOS
    1 project | news.ycombinator.com | 12 Dec 2022
  • Multiplayer counter strike like game without game engine - just php 8.1, fully open sourced
    6 projects | /r/PHP | 30 Nov 2022
    About php, I have no problem of rewriting whole game for performance reasons once it is done and popular in low level language like https://github.com/SerenityOS/jakt but I think for now php is good and sufficient.
  • ☘️ Good luck Rust ☘️
    2 projects | /r/rust | 16 Nov 2022
    Jakt, pretty well designed (lots of ideas stolen from ML/Rust), but very immature
  • SerenityOS author: "Rust is a neat language, but without inheritance and virtual dispatch, it's extremely cumbersome to build GUI applications"
    8 projects | /r/rust | 14 Nov 2022
    I think this thread might be interesting to the people here. The guy eventually started working on his own safe language, Jakt: https://github.com/SerenityOS/jakt

What are some alternatives?

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

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

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

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

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

rotaterm

Rust-for-Linux - Adding support for the Rust language to the Linux kernel.

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

hylo - The Hylo programming language

go - The Go programming language

ionide-vscode-fsharp - VS Code plugin for F# development

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