How php-ext-wasm has migrated from wasmi to Wasmer and now enjoys a 29x speedup, is faster than PHP itself, and is closer to native speed.
From Rust to beyond: The PHP galaxy
This blog post is part of a series explaining how to send Rust beyond earth, into many different galaxies. Rust has visited: Prelude, The WebAssembly galaxy, The ASM.js galaxy, The C galaxy, The PHP galaxy (this episode), and The NodeJS galaxy. The galaxy we will explore today is the PHP galaxy. This post will explain … Continue reading From Rust to beyond: The PHP galaxy
One conference per day, for one year (2017)
My self-assigned challenge for 2017 was to watch at least one conference per day, for one year. That's the first time I try this challenge. Let's dive in for a recap. 267 conferences In some way, I failed the challenge because I've been able to watch only 267 conferences. With an average of 34 minutes … Continue reading One conference per day, for one year (2017)
Random thoughts about `::class` in PHP
The special `::class` constant is pretty useful in PHP. Let's go through some useful and strange examples.
atoum supports TeamCity
atoum is a popular PHP test framework. TeamCity is a Continuous Integration and Continuous Delivery software developed by Jetbrains. Despites atoum supports many industry standards to report test execution verdicts, TeamCity uses its own non-standard report, and thus atoum is not compatible with TeamCity… until now.
Result is: `['times2' => $mul] = require 'foo.php'`, and it works.
Finite-State Machine as a Type System illustrated with a store product
This article presents a way to implement a Finite-State Machine with the PHP Type System. The goal is to simply avoid impossible states and transitions.
Tagua VM, a safe PHP virtual machine
https://www.youtube.com/watch?v=Ymy8qAEe0kQ PHPTour Nantes 2017 (in French): PHP est un langage extrêment populaire. En 2015, PHP était utilisé par plus de 80% de tous les sites Web. Cependant, 500 vulnérabilités sévères sont répertoriées. Bien qu'inhérent à tous langages populaires, cela reste très dangereux. L'objectif du projet Tagua VM est de fournir une VM PHP qui garantie … Continue reading Tagua VM, a safe PHP virtual machine