sxpp 0.6 has been released.
This major release features improved error diagnostics, a new API function to stacklessly walk SX trees, as well as small optimizations and fixes.
sxpp 0.6 has been released.
This major release features improved error diagnostics, a new API function to stacklessly walk SX trees, as well as small optimizations and fixes.
New blog post: https://mergiraf.org, a syntax-aware merge driver for #Git.
Supports #Java, #Rust, #Golang, #javascript, #cpp, #csharp, #html, #json, #yaml and #xml so far, and it's quite easy to add support for more thanks to #treesitter.
https://antonin.delpeuch.eu/posts/mergiraf-a-syntax-aware-merge-driver-for-git/
Get it on #Codeberg: https://codeberg.org/mergiraf/mergiraf
Just performed a technical interview and during one of the discussions the candidate end up with the following code in codepad: struct S { int x = x; };
A bit to my surprise it compiled successfully with the codepad built-in GCC 12.
Then I was wondering what does that even mean.
It turns out that in C++20 this is a syntactically correct designated initializer for a non-union aggregate. And no one explicitly forbids it from being self-referential!
So basically that's attempt to assign the x value to the same x. Before it was initialized. And yes, that's possible, and yes, that's UB.
The more I see C++ code the more I grow an opinion "You can type any random string into modern C++ compiler and it would compile successfully. And it will contain at least one UB."
sxpp 0.7 has been released.
This major release features an experimental LSP server, simple JSON parsing and generation with `--json`, binary output with `--cat`, a new API function to specify search paths, as well as small optimizations and fixes.
Lazy Kickers is a soccer management incremental game that can run in the corner of your screen!
https://store.steampowered.com/app/4613890/Lazy_Kickers/
I'm a solo dev of 25 years and I made this gaem myself, including the engine written from scratch in C/C++ (yes, both) and a software renderer!
Thanks to that it can render thousands of sprites in 120FPS, uses 100MB of RAM and will work even on the lowest tier CPU! (I recorded this on my N100 laptop)
#indiegame #gamedev #indiedev #cprogramming #cpp #gameengine #incremental