Querying Posts Without query_posts | Developer Resources

June 8th, 2012

Just what does the query_posts() function do, and why is it probably *not* the function you want to use?

Good explanation of how the main post query is setup, and the proper way to manipulate it in themes.

Querying Posts Without query_posts | Developer Resources

mraleph – Explaining JavaScript VMs in JavaScript

June 7th, 2012

Interesting article which explains some of the basics of how virtual machines for programming languages work, and how some of the optimizations are done to help make them performant.

The author walks through a simple program in lua, then uses JavaScript to build a VM which implements the ‘objects are tables’ semantic of the lua language. The example is small enough to serve as a good basis for instruction, while illustrating the deconstruction the kinds of things a VM actually does under the hood.

mraleph – Explaining JavaScript VMs in JavaScript