Hacker News new | past | comments | ask | show | jobs | submit login

Author here, feel free to ask any question :)



I'm not a C or C++ programmer. Well, I know my way around, but I don't write real programs with it.

Here's my potentially dumb question: what's the benefit of header-only libraries versus regular C/C++ code?


The header-only part is actually accidental, I'm using C++ templates which requires to be fully defined at their declaration site (the header).

On top of that, the "Installation" instructions are just "copy the file in your project", no CMake, no Meson, not any kind of build system.


I would like to say thank you for posting this, I am currently building a similar toolkit in Lua and will most likely restart and just port your code instead :)

It is extremely clean and concise.


Thank you for the feedback :)

Feel free to open issues or discussions on the repository if you have any difficulty.


related question to @Jemaclus above - why is C++ the popular language for gamedev? not C# or some other higher level language. is it only for when you're working on console games or does it also matter on desktop games?


IANAPGD (I Am Not A Professional Game Dev) but,

Unreal Engine uses C++. You have boost, SDL, Ogre3D, Irrlicht, EnTT, ImGui, etc... aka: C++ has a good ecosystem for gamedev.

The "Zero Cost Abstraction" philosophy of C++ makes it easier to squeeze out the performance you want.

Unity (and recently Godot 4) uses C# but they are still relatively young in the field. We were making games long before those :)

I would not say it's "THE" popular language, but it does have an history.


And more anciently Godot also uses C++.



It's not an LLM. It's just Finite State Machines, Behavior Trees, Utility AI and Goal Oriented Action Planning.

This should cover all you need to make an NPC a bit smarter (but it is still "scripted").

LLMs are not what you would use to make a bot in Civilization, or Age of Empires.


The number of emojis in that readme is ridiculous. It non-sarcastically makes me doubt the quality of the project. (although having the repo URL point to a LinkedIn page is probably worse)


Emoji in readmes seem to be a fairly consistent trend in the generative AI/ML space.

The generative AI/ML scene seems to be very meme-y, from that, to all of the anime related stuff, to Mistral releasing models as torrents with warez-scene style .nfos, etc.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: