It's interesting that there's a number of blog posts which seem to assert that folks have had great results using PHP's FFI to speed up some intensive and slow processes using Rust. However, the official docs don't really support this.
"it makes no sense to use the FFI extension for speed"
@Girgias very interesting, thanks. So using Rust to build a PHP extension using something like ext-php-rs would be faster than Rust via FFI presumably then?
@robjmills I would expect this to be the case, yes. But I have never written a PHP extension in Rust, so I don't know how the FFI (/unsafe Rust) binding would impact performance.
The @phpfig PSRs should also define the names of the packages that include the interfaces, as well as the name used to indicate implementations of the PSR.
i.e., PSR-17 would include psr/http-factory and psr/http-factory-implementation, so I don’t have to go searching for these names every time.
>Never good enough. Never strong enough. Never smart enough. Never clever enough. Never fast enough… You name it, I’ve heard it be used against me. And I can assure you, words to matter.…
Blöde Frage: Ich baue gerade einen neuen Blog in #Wordpress. Videos von #Youtube werden ja ganz nett embedded. Wenn ich aber möglichst Cookie-frei arbeiten will, würde ich ja auch gerne Videos über #Yewtube oder irgendeiner anderen Fedi-Plattform einbinden. Richtiges Embedding klappt so nicht. Kennt da jemand einen Trick oder Tipp?
@droidboy Ja, das habe ich gesehen. Aber dann muss man den kompletten iFrame einbauen und kann nicht so ohne weiteres das Embedding von #Wordpress‘ Gutenberg-Editor nutzen.