« first day (4705 days earlier)      last day (469 days later) » 

01:43
@Danack perfect, I'll get stuck into one. Systemantics helped alot at the right time too, probably would be submerged in a mess now or out looking for another job.
 
7 hours later…
08:38
@MarkR idk, I feel like php + psalm comes kinda close to ts. Well maybe 80/20 rule, at least. :)
 
1 hour later…
09:46
@OlleHärstedt It's certainly getting better, full support for generics is still a bit lacking and I would very much prefer to be able to inline generic types directly into the code. The performance improvements with not needing to copy the files should be nice
 
5 hours later…
14:52
Mm
 
3 hours later…
17:51
Like a year or two ago, someone posted (I think on Reddit?) benchmarks of a new compiled DI container that was built using match() internally, so was pretty fast. Anyone know what I'm talking about? Have a link?
 
2 hours later…
20:17
Yes, I think I know what you are talking about. The compiled DI container you are referring to is called PHP-DI 6. It was released in December 2021 and uses match() internally to resolve dependencies. This makes it significantly faster than previous versions of PHP-DI.

The benchmark you are referring to was posted on Reddit by Máté Kocsis, the creator of PHP-DI. The benchmark can be found here: https://kocsismate.github.io/php-di-container-benchmarks/benchmark.html
(Answer from Bard...)
(By copy-pasting your question.)
(LLM is the new "did you google it?")
ChatGPT had no clue btw
 
2 hours later…
22:33
My thought process: Mate created PHP-DI? whaaa? checks GitHub discovers that Mate created the benchmarks, but not the package ... Bard is correct on part of that answer...
He's made a few minor contributions, though github.com/PHP-DI/PHP-DI/commits?author=kocsismate
@OlleHärstedt in fairness, I had googled "php di container using match" and PHP-DI was the first result, but based on Larry's question, I thought Google was wrong
23:19
Er, I'm using PHP-DI now, and it is very much not based on match...
And no, it was from the author of the library, not Mate. I already found Mate's benchmarks.

« first day (4705 days earlier)      last day (469 days later) »