perry
tsts
| perry | tsts | |
|---|---|---|
| 12 | 1 | |
| 3,610 | 0 | |
| 38.2% | - | |
| 9.9 | - | |
| 7 days ago | 13 days ago | |
| Rust | TypeScript | |
| MIT License | MIT License |
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.
perry
-
Perry Compiles TypeScript directly to executables using SWC and LLVM
On other sites, like github and reddit. This exchange was funny though. He eventually gets called out by the other commenter to stop responding with an LLM: https://github.com/PerryTS/perry/issues/139#issuecomment-429...
- I am worried about Bun
- Perry compiles TypeScript to native GUI and CLI apps on 10 platforms
- Perry – TypeScript → Native
- PerryTS: Compile TypeScript to native executables with LLVM
-
Show HN: Pry – TypeScript compiled to native code, no Electron or V8
Hey HN — I've been building Perry, a compiler that takes TypeScript and emits native binaries. No V8, no runtime, no Electron. It maps to platform-native UI widgets: AppKit on macOS, UIKit on iOS, Android Views on Android, GTK4 on Linux, Win32 on Windows.
Pry is the first real app built with it — a JSON viewer, deliberately small.
It's in the iOS/macOS App Store and Google Play right now. Linux build works, Windows is waiting on code signing.
The compiler itself is written in Rust. It handles TypeScript parsing, type checking, and lowers to native code. The UI bindings aren't a wrapper library — the compiler generates the actual platform API calls.
This is a building-in-public thing. Pry is the proof-of-concept. The bigger goal is a full IDE. Happy to answer questions about the compiler architecture, the app store submission process, or anything else.
Compiler repo: https://github.com/PerryTS/perry
tsts
-
Perry Compiles TypeScript directly to executables using SWC and LLVM
> such as this project which is converting tsgo to Rust
If you'd like to follow, here's my attempt at converting tsgo to typescript (called tsts [1]). Admittedly there's AI involved, but it's a very mechanical job. Going from golang to ts is not a very difficult problem, the other way around would have been way harder. The plan is to then compile tsts to binary via tsonic.
[1]: https://github.com/tsoniclang/tsts
What are some alternatives?
rustc_codegen_cranelift - Cranelift based backend for rustc
lumina - Lumina is an eager-by-default natively compiled functional programming language with the core goals of readibility, practicality, compiler-driven development and simplicity.
wasmtime - A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
cranelift-jit-demo - JIT compiler and runtime for a toy language, using Cranelift
macmon - 🦀🌡️ Real-time system monitor for Apple Silicon Macs (M1–M5). No sudo. TUI, JSON/Prometheus metrics server, and Rust library.