sgroveon Hacker News • Recommends
On “Nectar: A Native JavaScript Compiler Inspired by Crystal Lang and Nim Lang”
#php#phc#ahead-of-timecompilation
349K subscribers • 56 videos on Hallway
Advanced. Deep dive for people who know the field.
20K views17 years ago1 recommendation
Programming languagesSystems programmingCompilers and interpretersPerformance and optimizationLanguage design and type systems
Paul Biggar discusses the challenges of compiling PHP and explains why ahead-of-time compilation can compete with JIT compilers.
Google Tech Talks March 18, 2009 ABSTRACT Presented by Paul Biggar, Department of Computer Science and Statistics, Trinity College, Dublin. Scripting languages offer unique challenges to compiler writers. Challenges to compilation include undefined and changing language semantics, and run-time code generation. However, optimizing compilers face greater challenges still. Scripting languages offer many run-time features which are difficult to optimize, including run-time typing, run-time aliasing, run-time class and function definitions and run-time code generation. I discuss these problems, and a great number of their solutions, in relation to phc (phpcompiler.org), our optimizing ahead-of-time compiler for PHP.What people say. Recommended for its insights into the challenges of ahead-of-time compilation for dynamic scripting languages like PHP.
sgroveon Hacker News • Recommends
On “Nectar: A Native JavaScript Compiler Inspired by Crystal Lang and Nim Lang”
nickikon Hacker News • Mentions
On “Facebook releases HHVM, 60 percent faster than its current PHP interpreter”
agumonkeyon Hacker News • Mentions
On “PHP gets Generators”
ookon Hacker News • Mentions
On “Why Dark didn't choose Rust”