llkabaltimore.blogg.se

Tor project replace fragile rust
Tor project replace fragile rust












tor project replace fragile rust tor project replace fragile rust

dylib? What are the differences between Linux and macOS? o?), maybe? What's the difference? How does this work on Windows (. A ".c" file can be compiled into a "static library" (sometimes.Here are things I generally believe to be true or true-ish: But I want my robot and Phabricator to call some of the same MQTT code, and PHP is bad for robots.Ī general challenge is that I have no idea how building things works. precompile all the native code into a single binary to sweep PHP under the rug.Ī personal motivation here is that I want to make a robot that has a blinking light, and that might be simpler if I could just build an MQTT server on top of Phabricator.decorate the PHP/C FFI stuff into easy C extension support.build the compiler toolchain required to produce a static bin/arc, which is just "PHP in an Arcanist costume" and make it work on macOS and Windows.Hypothetically, Arcanist can be compiled into a native binary which has a statically linked PHP runtime and is hard-coded to run Arcanist.Ī simple version of this is to replace bin/arc with a copy of php which just hard-codes the runtime arguments -f path/to/arcanist.php - This is obviously kind of goofy, but then we get this pathway forward: Various extensions and runtime changes (see T2312) could benefit Phabricator.Likewise, Phabricator would probably benefit from having a native webserver (no Apache dependency) and notification server (no Node dependency).Phabricator would benefit from having access certain services (full-text search, full-codebase search, repository graph storage) that very likely aren't practical to write in PHP because they are too sensitive to performance, control over data in memory, or both.It's hard for users to install PHP, and they don't want to install PHP - and macOS will stop shipping with PHP soon, and Windows doesn't ship with PHP (and never has).These are documented elsewhere, but for completeness: Although PHP does a lot of good for Phabricator, it also creates some tough problems.














Tor project replace fragile rust