Re: [PHP-DEV] Zephir, and other tangents

2024-09-20 Thread K Sandvik
Personally, for me, wasm becomes very interesting when we have dedicated CPU architectures that handle the wasm op codes natively in server farms. Otherwise, wasm is nice for mix-and-match language use or cleaning up systems with poor memory handling but not super-critical. Just my own personal

Re: [PHP-DEV] Protected destructors

2024-10-01 Thread K Sandvik
> On Oct 1, 2024, at 5:12 AM, Arnaud Le Blanc wrote: > > Some use-cases of destructors could be replaced with patterns like > Python's with() [3], Java's try-with [4], or Go's defer [5]. defer would be neat in PHP. --Kent

Re: [PHP-DEV] [Pre-RFC Discussion] User Defined Operator Overloads (again)

2024-09-17 Thread K Sandvik
Operator overloading is indeed a very overloaded topic concerning computer languages. But my 0.02 cents is that it's a good thing to have provided it solves one or more of the problems such as: * Will the code be easier to write, maintain, and read? * Will this help with optimizations? * Will