Optimizing CGO handles
I work on FrankenPHP quite a bit, which is a PHP SAPI written in Go. For the uninitiated, PHP is written in C, so FrankenPHP uses cgo to interface with PHP. This also means that it uses Handles.
I work on FrankenPHP quite a bit, which is a PHP SAPI written in Go. For the uninitiated, PHP is written in C, so FrankenPHP uses cgo to interface with PHP. This also means that it uses Handles.
In today’s rapidly evolving software development landscape, increasingly complex systems present new challenges in code reviews. As projects grow in size and scope, efficient code review processes become essential to...
This guide will allow you to use value objects in PHP without a special $obj->equals() method. Instead, you can use the === or == operator to compare two value objects. This guide will also show you how to use a...
If you’ve ever tried to use an array as a queue or stack (via array_pop , array_push , array_unshift and array_shift ), you may have discovered they are slow, particularly array_unshift which requires shifting the...
I was born on a Wednesday, and for some reason, when my birthday falls on a Wednesday, I always consider it a “special” birthday: a Birthday Day.
Durable PHP is a framework for writing arbitrarily complex code that scales. It’s still under active development, but I thought I’d write a few blog posts about it before I release the documentation on how to use it....
Durable PHP is a framework for writing arbitrarily complex code that scales. It’s still under active development, but I thought I’d write a few blog posts about it before I release the documentation on how to use it....
From the beginning, I knew Event Sourcing would be a big part of Durable PHP , and I learned from several Event Sourced projects I’ve built or worked on over the years. Specifically, I knew what issues any project...
I’m fascinated by event-driven systems. In these systems, everything happens for a reason, which is just as important as its effect on the system. In my perfect universe, everything is built to be event-driven… but...
If there is one moment I’ll never forget, it was the little box hovering a few feet in the air. When my girlfriend walked in, she thought it was a clever piece of art, made to look as though held up by some wires...
Get fresh posts, experiments, and updates straight from the workbench. One click to unsubscribe whenever you like.