3 ms·
Small nit: Data oriented != data driven (Jon Blow was talking about the former). There are some nice posts about using Data Oriented Design in Lua on the bitsq
by yoklov 11y ago
Small nit: Data oriented != data driven (Jon Blow was talking about the former).
There are some nice posts about using Data Oriented Design in Lua on the bitsquid blog, and I have used it once or twice in JS using Typed Arrays (It's awkward though). Still valuable, and one of the few ways of getting reliable performance out of VMs.
Also, if you haven't seen it, look up Mike Acton's CPPcon talk on it.
I'd link to it (and the bitsquid posts) but I'm on mobile right now.