Latest / Developer tools

rustc-php

github.com · Open source · Active

Rust compiler with ownership checking, written in PHP, emitting x86-64 binaries

Visit github.com ↗Share

  • x86 64
  • rust compiler
  • php compiler
  • ownership checking
  • borrow checker
  • x86 64 binary
Stars
367
Forks
10
Open issues
4
Last commit
Found
9 months ago

GitHub figures as of . They are context, not a ranking.

rustc-php is a Rust compiler with ownership checking, written in PHP, that emits x86-64 executables. It is an experiment in building a compiler in an unusual language, and the repository is the main place to explore it. It suits people curious about compiler internals and the Rust ownership model.

Repository description on GitHub: “A Rust compiler with ownership checking, written in PHP”

What it does

  • Rust compiler written in PHP that emits x86-64 Linux ELF binaries
  • Performs ownership, borrow and type checking
  • Supports generics, traits, closures and iterators
  • Needs no LLVM, assembler or linker

Good for

  • Compile a small Rust program on a server that only has PHP
  • Study how ownership and borrow checking work in a compiler

Suits: Compiler enthusiasts curious about Rust ownership internals.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw rustc-php on , when mrconter11 posted it to Show HN. GitHub listed no published releases for mrconter1/rustc-php when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 66 points, 50 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 66 points, 50 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: mrconter1/rustc-php
  2. Found: mrconter11 posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was rustc-php released?
No dated release record is available. Kip found it on Show HN on 1 Mar 2026.
Is rustc-php open source?
Its source is public on GitHub at mrconter1/rustc-php; check the repository for licence terms.
What does rustc-php run on?
Command line, Linux.
Is rustc-php free?
It is open source, so the code is free to read and run; check the licence for terms.
Is rustc-php still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymrconter1/rustc-php
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-47205650. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.