Dev tools · alternatives · 2026
24 alternatives to Rust compiler in PHP emitting x86-64 executables
Hi! I put together a Rust compiler written in PHP. It takes Rust source code and outputs x86-64 Linux binaries directly. No LLVM, no assembler, no linker. It has a working ownership checker, borrow checker, type checker, structs, functions, control flow, and mutable references. The test suite has 80+ cases. The whole thing is around 2,500 lines of PHP.
This is a Rust compiler implementation written in PHP that generates x86-64 executable files. It is designed for developers who need to compile Rust code using a PHP-based toolchain. The project targets systems running… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.
- 1

A terminal renderer written in pure PHP. Contribute to soloterm/screen development by creating an account on GitHub.
2025 · github.com · its alternatives →
- 2

- 3

An implementation of a dynamic programming language in Rust. Includes: Parser/Compiler, REPL, Virtual Machine, Bytecode Disassembler This started out as a learning project to teach myself Rust. It has grown into a decently substantial piece of software and I've learned quite a bit in the process! Some neat things: + A garbage collector that can store dynamically sized types without any double-indirection (i.e. I have my own Box implementation with manual alloc/dealloc) + The smart pointer used to reference GCed data is a thin pointer. The ptr metadata needed for DSTs is stored in…
2022 · github.com · its alternatives →
- 4

A little help for programmers, who wants to run C/C++ code in the browser. (This is my second attempt to show it, first time I got banned bcoz of my personal page domain, I don't really understand it why is is suspicious.)
2022 · github.com · its alternatives →
- 5

A PHP parser written in PHP. Contribute to nikic/PHP-Parser development by creating an account on GitHub.
2012 · github.com · its alternatives →
- 6

A Rust macro that parses Java-like syntax and runs it as a Rust program
2018 · gitlab.com · its alternatives →
- 7

Common data structures and algorithms in Rust. Contribute to EbTech/rust-algorithms development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 8

- 9

Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way - rust-shell-script/rust_cmd_lib
2020 · github.com · its alternatives →
- 10

This project is inspired by some of the asserts in Unreal engine. Due to reliance on core_intrinsics it is necessary to develop using nightly Rust, but there are stubs in place so a production build will not require nightly. I recently released version 0.2 which includes no_std support and adds optional log message arguments to the ensure macro.
2024 · github.com · its alternatives →
- 11

Rust debugger for Linux x86-64. Contribute to godzie44/BugStalker development by creating an account on GitHub.
2025 · github.com · its alternatives →
- 12PA
I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…
2025 · blog.fxn.ai · its alternatives →
- 13

Hi HN — I’m learning Rust and decided to build a universal CLI for running code in many languages. The tool, Run, aims to be a single, minimal dependency utility for: running one-off snippets (from CLI flags), running files, reading and executing piped stdin, and providing language-specific REPLs that you can switch between interactively. I designed it to support both interpreted languages (Python, JS, Ruby, etc.) and compiled languages (Rust, Go, C/C++). It detects languages from flags or file extensions, can compile temporary files for compiled languages, and exposes a unified REPL…
2025 · github.com · its alternatives →
- 14

Make your PHP arrays sweet'n'safe. Save your mental energy on type casting. - zakirullin/mess
2020 · github.com · its alternatives →
- 15AF
Serialization framework with some interesting numbers: 10-20x faster on nested objects than json/protobuf. Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs. Unique features that other fast serializers don't have: - Cross-language without IDL files (Rust ↔ Python/Java/Go) - Trait object serialization (Box) - Automatic circular reference handling - Schema evolution without coordination Happy to discuss design trade-offs. Benchmarks:…
Oct 2025 · fory.apache.org · its alternatives →
- 16

As a personal project I wrote a really tiny Wat 2 Wasm compiler in Go. Mainly for demonstrative and educational purposes. It was tough: I didn't know anything about WebAssembly internals and I'm a newbie with Go... so I tried to document it as much as I could for anyone that would like to approach the quest in the future! It misses a lot of features (that will be gradually implemented). Any feedback is welcomed!! Demo: https://luna-demo.vercel.app
2022 · github.com · its alternatives →
- 17

compile rust code into memes. Contribute to mattsse/cargo-memex development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 18

PHP does Meta Programming too! (Requires PHP 5.4). GitHub Gist: instantly share code, notes, and snippets.
2011 · gist.github.com · its alternatives →
- 19

"Game" is a stretch, but I put together this repo containing a pure Rust app which uses SDL2 and compiles to WASM (and can be run in a browser). Older resources were a bit out of date and a bit too verbose for my purposes, so here's a minimal working example.
2024 · github.com · its alternatives →
- 20

An example GraphQL server written in Rust. Contribute to lucperkins/rust-graphql-juniper-actix-diesel-postgres development by creating an account on GitHub.
2020 · github.com · its alternatives →
- 21PC
2019 · peachpie.io · its alternatives →
- 22

I've created cppmatch, a lightweight, header-only C++ library that brings Rust-inspired pattern matching and error handling to C++. It tries to imitate the functionality of the questionmark (?) operator in C++ by using a macro that uses the gcc extension https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html This allows to create exceptionless code with non-intrusive error-as-value that unlike Exceptions, makes it clear which kinds of error a function can generate and forces you to handle (or ignore) them. The ? operator translates to *expect* To handle the errors I…
2025 · github.com · its alternatives →
- 23PC
2014 · about.asika.tw · its alternatives →
- 24

Ever since childhood I've wanted to play around with modular synthesis, so now I'm building an application to do just that!
2023 · github.com · its alternatives →
Also compare
- A terminal emulator in pure PHP alternatives
- PHP Secure alternatives
- I'm making a dynamic language in Rust alternatives
- How to compile C/C++ for WASM, pure Clang, no libs, no framework alternatives
- A PHP parser written in PHP alternatives
- A Rust macro that parses Java-like syntax and runs it as a Rust program alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →