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

Tried to rewrite the Javascript 3D library three.js to make it smaller and more specialized for my game. Today I’m ending that and instead starting to write a 3D engine from scratch with the knowledge I learned from this rewrite process. Less object orientation and code organization, in order to get to the core of what happens in the machine (the phone/computer). There is enough complexity in the OS+browser to get through to use the device’s full power, so I at least try to remove all complexity possible from the code. Make it use less memory, download time and CPU time, and also make it go through the Javascript parser and bytecode converter as smoothly as possible. Then minimize the number of draw calls (that’s often what takes most time in the GPU) so I can render more varied graphics at the same speed (if less time is spent on sending data back and forth to the GPU, more time can be spent doing cool stuff in the shader code, I guess?).



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

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

Search: