I made a mistake in my original benchmarks: the Docker image I used had internal GCC assertions enabled.
I re-measured everything on a proper build, and times are ~50% faster across the board. The article has been updated with the correct data.
I apologize for the confusion.
Posts by
Fast iteration is the key to developer happiness. 🚀
I took a very early look at C++26 Reflection in GCC 16 to see if it would ruin my "fast compile" workflow.
Here are my findings!
vittorioromeo.com/index/blog/r...
#cpp #gamedev #programming
What if... I combined #tetris and #vampiresurvivors?
www.youtube.com/watch?v=Tb6d...
#gamedev #cpp #sfml
Ever need a profiler but don't want the hassle of a heavy framework?
I wrote about a simple, hierarchical #ImGui profiler I created for my projects. It's thread-local, has minimal overhead, and only ~500 lines of C++.
Check it out! 👇
vittorioromeo.com/index/blog/s...
#cpp #gamedev
I was incredibly fed-up with #powerpoint not supporting proportional text drag-resizing. So after searching hours for workarounds and solutions... I just implemented it myself 😎
#presentation #addin #office #microsoft #slides
If you're curious about how Boost.PFR works, this blog article explains the basics:
akrzemi1.wordpress.com/2020/10/01/r...
It's clever but not too crazy! I definitely see potential uses for it
Yup, another cool thing that is relatively easy to do is automatically set up VBOs and vertex attributes for instanced drawing by reflecting over a struct.
I have created a self-contained version of my #cppcon 2025 keynote demo using @raysan5.bsky.social's excellent #raylib.
The only requirement is CMake, all dependencies are automatically fetched.
➡️ github.com/vittoriorome...
Enjoy! 🚀
#cpp #indiedev #performance #cplusplus #performance
My CppCon 2025 keynote is now available on YouTube -- eager to hear what you think! 🚀
www.youtube.com/watch?v=SzjJ...
#cpp #cplusplus #gamedev #performance #sfml
Thanks for sharing -- it uses Boost.PFR under the hood so it's a similar approach. I did search for "imgui reflection" and similar terms but nothing came up :)
I'm very excited about C++26 reflection. However, people underestimate what you can achieve *today*!
Inspired by Barry Revzin's awesome "Practical Reflection" talk at @cppcon.bsky.social I wrote automatic Dear #imgui generation for structs, including labels! (via Boost.PFR)
#cpp #gamedev
Reflection in C++26...? Who needs that!
With some good old C++17 metaprogramming, you can get type-safe, refactor-proof Struct-of-Arrays transformations today😎
gcc.godbolt.org/z/sd7f4Mjx8
#cpp #gamedev #performance #HPC
This topic is very dear to me. I hope to inspire writing simpler and more efficient code, leveraging Modern C++'s benefits and avoiding its pitfalls.
P.S. I offer private consultations/mentoring on this topic and more -- check out: romeo.training
🤔 What if writing faster C++ code actually meant writing *simpler* code?
I'm incredibly excited to share that I will be giving my first-ever keynote at @cppcon.bsky.social 2025:
➡️ “More Speed & Simplicity: Practical Data-Oriented Design in C++”
cppcon.org/2025-keynote...
#cpp #gamedev #cplusplus
POV: You combine C++23's "deducing this" and C++17's CTAD to implement a vector iterator that propagates constness with no repetition (DRY).
Can you spot the mistake? Every LLM seems to be fine with the code!
#cpp #cplusplus #gamedev #coding
Unfortunately it's a #golang article but it's very valid for #cpp as well. KISS!
rednafi.com/go/di_framew...
Is it possible to write a simple iteration API that hides implementation details *and* lets users `break` and `continue`? 🤔
Here's a new article about a lightweight solution using a `ControlFlow` enumeration!
➡️ vittorioromeo.com/index/blog/c... ⬅️
#cpp #gamedev #cplusplus
What is the proper way of ensuring non-exclusive borderless fullscreen on Windows + OpenGL?
Using windowed + borderless flags in SDL still results in exclusive fullscreen:
github.com/libsdl-org/S...
How do most games implement this sanely?
#cpp #gamedev #sdl #sdl3
globalgamejam.org/news/global-...
So happy for my friend @vittorioromeo.bsky.social representing our hometown in the global game jam with his cute, little game store.steampowered.com/app/3499760/...
#gamedev #gamejam #globalgamejam
Any #opengl wizard interested in helping me demystifying an incredibly weird bug where an innocuous `glGetIntegerv` call causes an unrelated assertion failure? 🤨
forums.developer.nvidia.com/t/weird-beha...
#gamedev #cpp
Exciting news! 📢
I'm now offering bespoke C++ training, mentoring & consulting: romeo.training
While current availability is limited (weekends/off-hours), I'm keen to connect with potential clients for future projects as my schedule evolves.
RTs appreciated! #cpp
As part of my battle against long #cpp compilation times, I've opened a (work-in-progress) PR for Aras Pranckevičius's excellent ClangBuildAnalyzer to add an approximate origin of expensive template instantiations:
github.com/aras-p/Clang...
Thanks! It draws inspiration from:
- Cookie Clicker's addictive progression
- Stardew Valley's laid-back vibes
- Strategic elements reminiscent of Bloons TD
- A hint of Factorio's automation
It's a bit of a mix! But it works 😊
You can try it out here:
store.steampowered.com/app/3499760/...
Released a major update today, adding #speedrun mode to my #indie game BubbleByte! 🫧🐱
store.steampowered.com/news/app/349...
Powered by Modern #cpp, #sfml, #sdl, and #imgui. Fully #OpenSource!
#clicker #gameart #gamedev #idle #incremental #indiedev #indiegame #screenshotsaturday #towerdefense
Here's short #cpp article on a simple yet suprisingly effective implementation of automatic draw batching in my fork of SFML 🚀
vittorioromeo.com/index/blog/v...
#sfml #gamedev #opengl #performance #indiegame #indiedev
The game my girlfriend and I made is going to be played live on stream for the first time -- hope it goes well!🤞
#screenshotsaturday #cpp #gamedev #idle #incremental #indiedev #indiegame #sfml #towerdefense #twitch
Reviews like this remind me why I pour my heart into #gamedev. Every late night was worth it. 🌙
#screenshotsaturday #indiedev #indiegames #indie #Steam #sfml #sdl #cpp
Hey Stephen, it's been a while! Are you still interested in a possible collaboration -- would genuinely love to help make SS2VR a reality!
Today I released the first major update for BubbleByte, reworking prestige scaling and adding a new autocast option for the Wizardcat!
(Pictured: the Wizardcat stops time 🧙)
#screenshotsaturday #cpp #gamedev #idle #incremental #indiedev #indiegame #sfml #towerdefense @sfml.bsky.social