Your code, compiled.
Not interpreted.

Drop in a PHP, JavaScript, TypeScript, or Python codebase. U transpiles it, compiles it to C, and GCC produces a native binary. What you get back is not an interpreter running your code — it's a compiled program that starts in microseconds, uses 2MB of RAM, and comes with a 20-point security audit, auto-generated docs in 20 languages, and GDPR compliance maps. No rewriting. No new framework. Your existing code, at native speed.

98.7%
PHP files transpile
cleanly (943 tested)
335
JS/TS/Python patterns
tested (7 rounds)
2–6x
faster request
handling
3,000x
faster array ops
(auto-vectorized)

The pipeline

PHP / JS / Python source
    ↓ transpile (98%+ automatic)
U source
    ↓ u2c --suggest-caps
    ├── 20 security analyses (SQL injection, data flow, credentials)
    ├── DB GRANT generation (minimum privilege per handler)
    ├── boundary tests (auto-generated, 23 from 6 files)
    └── GDPR data lineage (where PII enters, flows, exits)
    ↓ compile
native C binary (gcc -O3 -mavx2)

Benchmarks

Dynamic JSON API: 50 users × MD5 + sin() + filter → JSON. 1000 concurrent requests.

Request handling (throughput + latency)

Server Req/sec Avg (ms) P99 (ms) vs U/C
U/C (compiled) 4,959 1.94 4.18 baseline
PHP 8.3 3,762 2.59 3.90 1.3x slower
Node.js 22 1,367 7.26 20.96 3.6x slower
Python 3.12 848 6.31 4.01* 5.8x slower

*Python P99 looks OK but has a 1,019ms max outlier from GC pauses

Array operations (auto-vectorized)

Operation U/C AVX2 Node.js Python U/C vs Python
a[i] + b[i] 0.02ms 1.8ms 68.9ms 3,444x
a[i] * 2.5 0.01ms 1.5ms 21.5ms 2,147x
sum(a*b) 0.78ms 9.5ms 50.8ms 65x
max(0, x) 0.31ms 1.8ms 136.4ms 440x

1M float32 elements, 100 iterations. gcc -O3 -mavx2 auto-vectorizes the C that U emits.

Security analysis finds bugs in your original code

Warnings point to the original PHP/JS/Python line numbers. No U knowledge needed.

admin_panel.php (original)
3  $setting = $request->body("setting");
4  $value = $request->body("value");
5  $conn->execute("UPDATE ... '" . $value . "' ...");
6  $conn->execute("INSERT INTO audit_log ...");
7  $password = Q_Config::get("db.password");
8  $result = file_get_contents("...?pw=" . $password);
9  Cache::$lastAdmin = Users::loggedInUser();
Compiler output
CRITICAL SQL Injection (line 5)
  SQL via string concat — use parameterized query

CRITICAL Injection (line 5)
  untrusted req.body → SQL execute

HIGH Credential exfiltration (line 7→8)
  reads db.password, sends to external URL

MEDIUM Global state (line 9)
  Cache.lastAdmin leaks between requests

MISSING No auth check on write handler
MISSING No input validation

20 mechanical analyses. No LLM. Every warning names the line, the variable, and the risk.

Three ways to use it

1. Browser

Paste code in the Playground. See U instantly. No install, no server. Upload a .zip and get a security report.

2. Watch mode

node u-watch.js ./web
Watches your source files, transpiles on change, tracks a manifest. Drop-in for existing projects.

3. Full compile

u2c compile src/ -o server
Transpile → analyze → compile to native binary. Ship a 200KB executable instead of a runtime.

What the compiler generates

20 Security Analyses

SQL injection, credential exfiltration, data flow taint tracking, sensitive column classification, unbounded queries, TOCTOU, N+1 detection, hardcoded secrets, global state leaks, response over-exposure, missing auth checks, unused queries, unhandled errors.

Risk Scores (0–100)

Every function gets a numeric score. Pure functions score 0. A function that reads SSN + sends to external HTTP scores 87. Prioritize review by score — the LLM auditor only looks at functions above threshold.

DB GRANT Generation

GRANT SELECT(email, display_name) ON users TO role_get_user; — exact minimum-privilege SQL, generated from the queries in your code. No manual role configuration.

Boundary Tests

Auto-generated tests that verify capability boundaries: "get_user does not write to database", "export never calls delete()", "handler only accesses expected tables." 23 tests from 6 files.

GDPR Data Lineage

Machine-generated Article 30 report: which PII columns are read, where they flow, where they exit (email, logs, response). Compliance documentation from code analysis.

Container Hardening

"No outbound HTTP → drop CAP_NET_RAW. No file writes → mount root read-only. No email → remove sendmail." Minimum-privilege container spec generated from capability analysis.

What compiled U unlocks

Things that are impossible with interpreted languages, free with compiled U.

Runs on a phone

A 200KB binary with a webview replaces Electron (300MB) or React Native. Your web app becomes a native app on iOS, Android, Mac, Windows — same code, no framework. The HTTP server runs on localhost; the webview is the UI.

On-device AI inference

Link ggml and run quantized LLMs at native speed — Metal on Apple, Vulkan on Android, CUDA on Nvidia. The same binary that serves your UI runs 7B models at 30 tokens/sec. No TensorFlow.js, no WASM overhead.

Auto-vectorized math

Array operations compile to AVX2/NEON/WASM SIMD automatically. A loop that takes 69ms in Python takes 0.02ms in compiled U. Data science, signal processing, game logic — anything with arrays gets 3,000x faster without changing a line.

Zero-dependency deployment

Copy one binary. No apt install, no pip install, no node_modules, no Docker image layers. The binary IS the deployment. A serverless function that cold-starts in 1ms instead of 500ms. An embedded system with 4MB of flash.

Compliance from code

The compiler traces where PII enters, flows, and exits your program. It generates Article 30 GDPR reports, minimum-privilege DB grants, and boundary tests — all mechanically, from the code itself. Your compliance documentation is always in sync because it's derived, not written.

LLM-ready documentation

UDoc generates docs in 20 languages from the type signatures. Not comments — the types ARE the docs. An LLM auditor reads function signatures and reasons about security without reading the body. The documentation compiles — if it's wrong, the code doesn't build.

Try it with your codebase

Upload a .zip of PHP, JS, TS, or Python files. The transpiler runs entirely in your browser — your code never leaves your machine.

Open Playground (with zip upload)

Try it now

Paste your code in the playground, or download the CLI tools.

Open Playground Get the CLI