News for hackers. Stuff that matters.
Re:Running PHP fast at the edge with WebAssembly by kennethallen on Thursday May 23, 2024 @06:36PM (#40460708)
When Cloudflare Workers launched, they said V8 isolates had some great properties for serverless-style compute:

5 ms cold starts vs 500+ ms for containers

3 MB memory vs 35 MB for a similar container

No context switch between different tenants' code

No virtualization overhead

I'm sure these numbers would be different today, for instance with Firecracker, but there's probably still a memory and/or cold start advantage to V8 isolates.

https://blog.cloudflare.com/cloud-computing-without-containe...

Re:Running PHP fast at the edge with WebAssembly by tambourine_man on Friday May 24, 2024 @10:40AM (#40466738)
But in this case, it's running PHP, which doesn't have a long-running model, it always cold starts, and it does so really fast natively. I can't see how it could be faster in WASM.