Archive for category Languages

InfoQ: Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers

InfoQ: Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers.

Google Go strikes back with C++ bake-off • The Register

“Benchmarks are only as good as the programs they measure,” Cox said. “We used gopprof to study an inefficient Go program and then to improve its performance by an order of magnitude and to reduce its memory usage by a factor of six. A subsequent comparison with an equivalently optimized C++ program shows that Go [...]

PHP Hacking – Website and Application Intelligence

PHP Hacking – Website and Application Intelligence.

ChartBoost, Running a Modern Startup on PHP

Running a Modern Startup on PHP In the modern world of agile startups and silicon valley, the buzz is all about Ruby, Python, and whatever the latest cool programming language or framework to come out is. Older technologies don’t get much love, and PHP especially has a bad reputation. In this post, I’m gonna go [...]

NGINX + PHP-FPM + APC = Awesome

NGINX + PHP-FPM + APC = Awesome.

CakePHP: Authentication Setup on an Application | Packt Publishing Technical & IT Book and eBook Store

Introduction The first two recipes show us how to set up a basic, yet fully working authentication system. The next three recipes allow our users to log in using different information, have their user details saved after a successful login, and show us how to get this user information. Setting up a basic authentication system [...]

Pygments — Python syntax highlighter

Pygments — Python syntax highlighter.

filter_var() in PHP

PHP’s FILTER_VALIDATE_EMAIL validates email addresses quickly and easily. <?php $email = “marc@somehost.com”; if(filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE) { echo $email.” is invalid”; } else { echo $email.” is valid”; } ?> Read it all at http://www.phpbuilder.com/columns/marc_plotz10012009.php3?page=2

PHP on the JVM

Caucho’s Resin server now has PHP support with the Quercus module. Claiming anything from 4x to 6x performance improvement, and easy writing of extensions in Java (and presumably any JVM based language), it looks like a really great idea.