Monthly Meeting - May/2014


Details
April's topic will be: Compilers! This month, Emiel Bruijntjes will tell us how to write your own JIT compiler.
Schedule
19:00: Welcome Drinks
19:30 - 20:30: JIT Compilers
20:30 - 20:45: Raffle
20:45: Social, drinks and food.
Talk: JIT Compilers
The alternative PHP engine by Facebook (HHVM) and many Javascript engines use Just-In-Time (JIT) compilers to turn user space scripts into native executable code that runs directly on the CPU. Even the original Zend engine now has an experimental branche (PHPNG) in which JIT technologies are being used to speed up PHP.
How does this work under the hood? Emiel Bruijntjes gives a crash course 'how to write your own compiler' in which the whole process from writing a tokenizer and a parser, building an abstract syntax tree up to generating machine instructions is being explained. These concepts are demonstrated with a simple compiler that turns Smarty/Twig template files into native machine instructions.
Speaker: Emiel Bruijntjes
Emiel Bruijntjes lives in Amsterdam and is a member and frequent visitor of the PHP Amsterdam user group. In 2013 he initiated the open source PHP-CPP (http://www.php-cpp.com/) project to create a bridge between PHP and C++, and is CTO of Copernica BV (https://www.copernica.com/). He studied computer science at the Vrije Universiteit in Amsterdam.
Raffle
We got some awesome stuff to give away this month, so make sure you attend another awesome meetup!

Monthly Meeting - May/2014