←
Albert Chen343 posts
Albert Chen avatar

Albert Chen

@albert_cht

Software architect, Laravel artisan and the creator of @hypervelphp

◷ Joined October 2016▧ 38 Photos and videos
Albert Chen avatar
Albert Chen@albert_cht·Aug 10

We were delighted to provide live translation for COSCUP x UbuCon Asia 2026! 🎉 Rozeta AI supported 5,000+ attendees across 22 concurrent tracks with uninterrupted live translation. Need live translation for a conference or meeting? Try it! rozeta.app/ #COSCUP

Raj Siva-Rajah avatar
⟳ Albert Chen retweeted
Raj Siva-Rajah@binaryfire·Nov 4

Excited to announce I've joined the Swoole team! I've contributed ~80 PRs for things we've needed for the @HypervelPHP rewrite. Expect lots of synergy between the 2 projects going forward. Hypervel 0.4 has been cooking for almost 2 yrs now. Big things are coming 🚀 #asyncphp

Post attachment
Albert Chen avatar
Albert Chen@albert_cht·Oct 26

PHP developers have long worked within a synchronous, blocking model, largely because native PHP lacks first-class async I/O support. But PHP can offer much more if we are willing to rethink that traditional model and embrace new ways of building modern applications.​‌

Just watched a talk from @nicolasgrekas, Symfony's core maintainer, about his new FrankenPHP work. I was excited to check it out, then I heard this: "This is not about re-inventing the way we do PHP. Swoole is not PHP. Swoole is something else. With a language that looks like PHP. Nobody is talking about moving an existing PHP application to Swoole because it doesn't fit the model." As a Swoole team member and co-author of a coroutine framework, I find this disappointing. The implication that Swoole isn't "real PHP" is just unnecessary divisiveness. Options are great. Innovation is great. Personally, I prefer using an async coroutine runtime. You prefer something different. And that's fine. There's no need to disparage other parts of the ecosystem.

Laravel News avatar
⟳ Albert Chen retweeted
Laravel News@laravelnews·Sep 15

The Swoole team has open sourced TypePHP, a compiler that turns PHP source code into native machine code. I saw Albert Chen post about it on X, noting it landed earlier than the October release the project had planned. TypePHP is an Ahead-Of-Time (AOT) compiler that translates PHP source code into C++ and then into native machine code. Unlike a bytecode cache or a VM, it does not interpret opcodes at runtime: it generates optimized native binaries that run directly on the CPU. It keeps familiar PHP syntax and adds compile-time type information, so the compiler can emit fast, statically-typed C++ for hot paths. Dynamic PHP values, internal functions, reflection, and object metadata continue to interoperate with the Zend runtime through PHPX; user functions are not executed as Zend opcodes after they have been compiled. TypePHP is written entirely in PHP and is fully self-hosting: the tpc compiler binary is built by compiling the compiler's own PHP source code with TypePHP. The bootstrap chain is pure PHP — no C or C++ glue in the compiler itself.

1:22
Albert Chen avatar
Albert Chen@albert_cht·Sep 12

My fourth visit to this ramen shop this year already, and the sea urchin ramen is absolutely incredible! 🍜 - Marcy Land Omotesando Ramen Bar

Post attachmentPost attachmentPost attachment
Albert Chen avatar
Albert Chen@albert_cht·Sep 1

4. More importantly, TypePHP brings PHP beyond the web and enables native distribution without shipping source code.

Albert Chen avatar
Albert Chen@albert_cht·Sep 1

2. Most web apps are I/O-bound, so compiling the whole framework offers limited gains. Without async I/O, concurrency won’t improve by an order of magnitude. 3. The practical use case is compiling CPU-heavy code into a PHP extension for existing web apps.

Albert Chen avatar
Albert Chen@albert_cht·Sep 1

A few facts about TypePHP: 1. You can’t compile an existing Laravel or Symfony app as-is. Their dynamic behavior, such as closure rebinding, flexible argument counts, and references in dynamic calls, means some framework code generally needs to be excluded. #php #typephp

Albert Chen avatar
Albert Chen@albert_cht·Jun 21

PHP's async ecosystem is fragmented. Only a native core implementation like TrueAsync or Swoole can truly fix this divide. Huge respect to the author for their relentless work on TrueAsync! I genuinely hope PHP embraces a native async solution in the future. 🐘⚡️

TrueAsync @Edmondif143061 Jun 21 Article Future of the TrueAsync Project This week I began a round of outreach to the #PHP community with the goal of promoting the project and raising awareness of it. I sent messages to key developers of frameworks, libraries, and