I use Vulkan and DirectX12 via NVRHI, and I am keen to maximize the multi-threaded programming by setting up an asset thread pool and separating the render thread from the main thread. Do some signal-bus system, implementing in-game retained mode UI, and C# Scripting done with hostfxr.
In terms of workflow, I really like the development flow of Unreal Engine 5, but with the lightweight nature of Unity.
I am still learning the Graphics programming to make up the visual, but to get there I need to maximize the engine foundation first so I can have a fast iteration like asset management, clear editor flow and memory management.
You'll absolutely want to look into what makes an engine "production grade". I'd google/AI frame packet builders, and if you want super high performance, the Chase-Lev work-stealing deque for multithreading with a global injector sitting on top of a Reserve/Commit memory model π which is a thing haha. Good luck and keep deflecting the noise. Reddit has a lot of it
Not to generate my engine with copy-paste, but to teach me how real game engines work, explain implementation details, and help me build a roadmap.
I still spent 5,000+ hours typing everything myself instead of blindly copying code. At this point, I probably have more muscle memory for writing ECS boilerplate than for using WASD. Lol
Ah, so it's AI as a research assistant/librarian/google search on steroids rather than ai-assisted coding.
That being said, it would be way more valuable if the AI would return which books/talks it references when coming up with an answer so you can read them yourself and possibly notice other things it hasn't considered.
I'm willing to argue that statement to dust. AI shows you how to get the code from point A to Z. The only part you dont have to think about for yourself is part A and part Z. Nobody who doesn't blindly trust AI would let it implement a single line that they dont agree with.
AI now understands how the big game engines work, so AI just tells me how they work behind the scene. For example once I asked "how unreal engine can handle thousands of crowd animation?" AI: "They do animation caching, and prefer TRS multiplication over Matrix multiplication, because that is very cheap to compute". So by the answer I can check my current implementation and workaround to optimize the animation. So I didn't ask for the Code, I asked for the flow.
It tells me a lot, and I learned a lot, and still learning.
I also hate Vibe coding in this era of programming.
I don't mean "understand" in the human sense. I mean it has learned enough from engine source code, papers, talks, and documentation to explain common engine architecture and implementation patterns
I don't ask it to write my engine I ask it to explain how real engines approach a problem, then I verify the details and implement it myself. That's very different from vibe coding.
That's why you make extremely precise, perfect english, technical commentaries about future use of fields in stuff that isn't yet implemented in the engine I assume?
I'm surprised to learn that TRS is cheaper than matrices. I'd always assumed that one of the motivating reasons for using matrices was that it was all just multiply-and-add, whereas TRS requires sin and cos too. But I've never actually tested it.
You don't need sin and cos if you use quaternions leaving you with just multiplications and additions again. I'm not sure though how well that can be SIMD optimized and how it stacks up to SIMD optimized matrix multiplication.
Funnily OP is using the classic matrix approach without any optimizations at all instead of an optimized TRS approach.
Yep it just PR code review, automatically runs when I opened PR, and I have my student subscription so I asked it to fix in place. But the big code changes I did did alone
There's AI style comments in many places, AI style naming schemes, and classic AI style bloat in others. Also definitely "fixed by AI" style fix commits that just bloat code without affecting the root of the issue.
Finally your level of technical answers on this and the other reddit don't match the level of the codebase.
The OP brags that this was written without AI in a year. This is obvious false advertising. I'm not against AI itself and use it daily. I'm against misleading people for klout.
I really liked your approach to AI and how you are using it to help you understand stuff and learn while still have enough manual approach to your code, great job man, your engine looks great
A lot of AI generated engines use Physics from other libraries without having their own collision, spatial partitioning system, practically making them useless.
23
u/wpsimon Jun 30 '26
This is pretty sick work man ! Very well done !
5
u/YoshiDzn Jul 01 '26
Great work indeed. Your engine is fleshed out in its editor like mine is fleshed out in its data model.
Do you have any work done as far as frame packets or a render graph? Not like a full blown working graph but an organized means to draw shit
7
u/susosusosuso Jul 01 '26
You used ai for this?
3
u/MahmoodMohanad Jul 05 '26
I really liked your approach to AI and how you are using it to help you understand stuff and learn while still have enough manual approach to your code, great job man, your engine looks great
2
u/Left-Locksmith Jul 01 '26
This is insane! Well done.
2
u/Melodic-Candy191 Jul 01 '26
Cool
2
u/Actual-Computer-4917 Jul 02 '26
very cool bro
3
u/Hanzimer Jul 01 '26
A lot of AI generated engines use Physics from other libraries without having their own collision, spatial partitioning system, practically making them useless.
1
u/To4sT_894 Aug 31 '26
Omg, please let me be your disciple
5
u/[deleted] Jul 01 '26
[removed] β view removed comment