Hacker News new | ask | show | jobs
by Gotttzsche 5245 days ago
hmm, what exactly does he mean by data-oriented programming?

iirc that's something where you don't store data chopped up into objects, but have arrays that keep all the data of one "aspect" of all "objects"... or something like that. something game programmers would use, helps avoid cache misses.

is that what he was talking about? if so, what does it have to do with macros?

1 comments

I meant data-driven programming.

http://www.faqs.org/docs/artu/ch09s01.html

More data (and data structures) and less code. It's very common in Lisps and other homo-iconic languages.

thanks :)