C++ for PHP/Drupal Developers

darrenmothersele

Compared to previous versions, PHP 7 is fast. But, nothing can ever be as fast as native code.

C++ can be dangerous, but it's lots of fun, and not as difficult as you might think.

If you're a PHP developer, you can very easily learn to write C++ code. In this session you will see how it's done. You will learn some basic C++11, and see how to access functionality written in C++ from your website code by building it into a PHP extension. I will share the "a-ha" moments that I've had while re-learning C++11 and C++14 so, if you chose to learn more about C++, you will have a headstart.

We'll write an algorithm in PHP, and C++ and then create a web page that uses both to compare the difference.

We'll also look at how the vast plethora of C++ libraries can be integrated into PHP.

You'll need some PHP knowledge. Knowledge of other programming languages would be useful, but knowledge of C++ is not required. After this session you will be excited about building your own PHP extensions with C++, and have clear next steps to learn more about C++11.

Session Track

PHP

Experience Level

Intermediate

Drupal Version