Re: Previous discussions about generics syntax only?

From: Date: Fri, 03 Nov 2023 19:31:51 +0000
Subject: Re: Previous discussions about generics syntax only?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-121571@lists.php.net to get a copy of this message
On 3 November 2023 16:05:52 GMT, daniil@daniil.it wrote: > (of course this would be somewhat of a breaking change, PHP 9-worthy). I think this is rather an understatement. This would be a HUGE change for many users of the language, and expect a lot of pushback for any such proposal. There are still a lot of people who use a cheap shared host, edit a file directly on the live environment, and expect it to just work without needing any kind of rebuild or restart step. >This is a different, unrelated matter, and it would actually be super cool to generate a single >executable using function JIT, bundling both the compiled php code and php itself; I've >actually already done this as an experiment with another JIT language based on dynasm, it's >quite simple really. When I talk about "compiling PHP", I mean the existing compilation to op codes! maybe stabilising them for deployment, maybe just using the existing OpCache preloading. If you use the JIT in advance, it becomes a very different tool - the point of JIT compilation is to make use of runtime information about hot paths, the actual types of dynamic arguments, etc Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#121571) next »