Developer blogs

Discussion about everything. New games, 3d math, development tips...
Post Reply
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Developer blogs

Post by CuteAlien »

Found a very nice blog about advanced c++ topics related to game and 3d programming: https://molecularmusings.wordpress.com/
Stuff like efficient implementations of entity-component systems, writing platform independent simd code (interesting for Irrlicht...), memory systems and so on. If you work on any of that it's worth a look!

If you know more great blogs - post 'em!
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Re: Developer blogs

Post by sudi »

Nice find. Thank you so much
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
AReichl
Posts: 270
Joined: Wed Jul 13, 2011 2:34 pm

Re: Developer blogs

Post by AReichl »

SIMD and "fast Quaternion-Vector multiplication" are the only things i found interesting at a first glance.
For example i don't understand why anyone today is writing his own delegate solution. Or avoid strings
"at any cost". Too slow? - well, go back to pure C.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Developer blogs

Post by CuteAlien »

Avoiding memory allocations at runtime is one problem game programmers faces constantly and strings are one of the worst offenders. He's a little extreme, but people who are not careful about strings can mess up the speed of their game. We have places in Irrlicht where we were not careful enough (collada loading is for example slow - thought partly because we have no streams).

About own delegates - don't know. Maybe it's not that much code and so no point in adding another library dependendy to his library just for that. Also some other solutions (boost...) are rather slow (and horrible when debugging as they cause a fat stack-trace).

If you don't need that stuff - OK. But the blog is nice if you code those things as it goes into details. And he works on problems which are common in the game industry. Right now a lot of game studios work on figuring out problems as:
- Effective entity-component solutions (what is an entity really, how to make systems work in parallel, communication between components, handling update-order dependencies).
- Improving the asset pipeline (editors, serialization, avoiding loss of type safety when working with json or similar formats).
- And how to get code fast is the all time classic (avoiding cache misses, avoiding memory allocations).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Re: Developer blogs

Post by sudi »

The most interessting thing i saw was atually Using runtime-compiled C++ code as a scripting language: under the hood. Looks really interessting. Besides the component-entity topics i did not really see. Maybe they are named strangely? Especially the communication part.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Developer blogs

Post by CuteAlien »

The "Adventures in data-oriented design" series is mainly about component entity system implementations (especially 3rd and 4th part).

Not sure yet about communication - haven't read it all yet. But the delegates article mentions his event system a little. And I hope when I get to the task-scheduler series it might have more info.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Re: Developer blogs

Post by sudi »

I wrote my own delegate system not really in the need of a new one and works pretty much like his one with static types and typechecking during compile time.

I will check out the "Adventures in data-oriented design"
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
sunnystormy
Posts: 105
Joined: Mon Jun 02, 2014 2:32 am
Location: Washington, D.C.
Contact:

Re: Developer blogs

Post by sunnystormy »

Cool. Lots of purdy words and such. :P

Just finished reading the article about thread-local storage... pretty advanced topic, if I do say so myself.
My blog: http://fsgdp.wordpress.com "The Free Software Game Development Pipeline"
MobileGameGraphics
Posts: 7
Joined: Tue Nov 24, 2015 10:15 am

Re: Developer blogs

Post by MobileGameGraphics »

Nice find. Thanks for sharing
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Re: Developer blogs

Post by REDDemon »

using 16 bit index for mesh buffers ids. with mantle or wulkan that limit will just reduce possible number of drawcalls. (Actually 20k possible, the 16 bit limit to 65k with vulkan 100k is likely without ever touching drawcall limit, just a premature optimization that ends in a bottleneck).
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Post Reply