четверг, 27 июня 2013 г.

StiX Json - extremely fast Json Parser

StiX Json is extremely fast json parser with nice C++ API.

StiX Json pros:
  • very fast;
  • it is lightweight - only 2 files, totally around 700 lines of code;
  • it allocates memory in huge blocks (ideal for memory pages) using provided allocator;
  • it tries to predict memory requirements to minimize the amount of allocations;
  • it is open source under MIT license.

вторник, 11 июня 2013 г.

Instancing on iOS! Finally!

Yesterday, at WWDC, Apple revealed iOS 7.  Guess what? They introduced new extensions - GL_APPLE_draw_instanced and GL_APPLE_instanced_arrays. So you can omit instancing spikes, the half of this blog is describing.