tomlrs-php VS ext-php-rs

Compare tomlrs-php vs ext-php-rs and see what are their differences.

tomlrs-php

Rust extension to bring fast TOML parsing to PHP (by jphenow)

ext-php-rs

Bindings for the Zend API to build PHP extensions natively in Rust. (by davidcole1340)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tomlrs-php ext-php-rs
1 5
5 533
- -
3.6 9.2
about 2 years ago 2 months ago
PHP Rust
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tomlrs-php

Posts with mentions or reviews of tomlrs-php. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-23.

ext-php-rs

Posts with mentions or reviews of ext-php-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-27.
  • Symfony 7 vs. .NET 8 - same-same but different?
    1 project | dev.to | 3 May 2024
    I started with Rust a while ago. It's a beautiful language. My problem with it was the problem space it's good at addressing. I ended up not only trying to learn Rust but also wholly new paradigms related to writing low-level code, libraries, or even trying to write a PHP extension in Rust (that was way before https://github.com/davidcole1340/ext-php-rs). I learned a lot about PHP and Rust/C/PHP interoperability ;) But the learning curve was steep. In my opinion, it isn't easy to learn more than one thing simultaneously. A new language is enough. If, on top of that, you need to learn entirely new paradigms - it can be cumbersome.
  • PHP-Tokio – Use any async Rust library from PHP
    7 projects | news.ycombinator.com | 27 Aug 2023
    The PHP <-> Rust bindings are provided by https://github.com/Nicelocal/ext-php-rs/ (our fork of https://github.com/davidcole1340/ext-php-rs with a bunch of UX improvements :).

    php-tokio's integrates the https://revolt.run event loop with the https://tokio.rs event loop; async functionality is provided by the two event loops, in combination with PHP fibers through revolt's suspension API (I could've directly used the PHP Fiber API to provide coroutine suspension, but it was a tad easier with revolt's suspension API (https://revolt.run/fibers), since it also handles the base case of suspension in the main fiber).

  • OK so whose gonna tell them
    5 projects | /r/rustjerk | 12 Mar 2023
    Real chads write PHP websites and extend it with Rust
  • Bindings for the Zend API to build PHP extensions natively in Rust
    2 projects | /r/PHP | 23 Apr 2022
  • ext-php-rs - Writing PHP extensions in Rust
    2 projects | /r/rust | 10 Nov 2021

What are some alternatives?

When comparing tomlrs-php and ext-php-rs you can also consider the following projects:

wasmer-php - πŸ˜πŸ•ΈοΈ WebAssembly runtime for PHP

phanalist - Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.

Azuriom - Azuriom is a complete open-source web solution for game servers. Enjoy dozens of extensions for endless possibilities. Already trusted by over 1,800 servers.

unixstring - An FFI-friendly null-terminated byte string

ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.

rust-php-ext - Rust library integrated into a PHP extension

linux - Linux kernel source tree

php-tokio - Use any async Rust library from PHP!

PyO3 - Rust bindings for the Python interpreter

php-async - Experimental asynchronous components for PHP

phabel - PHP transpiler - Write and deploy modern PHP 8 code, today.

Psalm - A static analysis tool for finding errors in PHP applications