News for hackers. Stuff that matters.
Re:Perry Compiles TypeScript directly to executables using S... by evil_buzzard on Friday May 29, 2026 @11:49PM (#48332365)
the claim of "no runtime" is a bit dubious... you're telling me that you're statically linking a full, modern UI library into every app?
Re:Perry Compiles TypeScript directly to executables using S... by avaer on Saturday May 30, 2026 @02:38AM (#48333299)
A runtime is needed for GC, unless you're fundamentally changing Javascript. Even golang has a runtime.
Re:Perry Compiles TypeScript directly to executables using S... by pjmlp on Saturday May 30, 2026 @03:57AM (#48333801)
Even C has one, regardless of how tiny it happens to be, or the possibility of freestanding deployment.

In compiler speak, a runtime provides all infrastructure required by the language for program startup, shutdown, infrastructure for the standard library execution.

Re:Perry Compiles TypeScript directly to executables using S... by amlug on Saturday May 30, 2026 @03:36PM (#48339845)
RUntime is an overused term here. The point is "no JS runtime, JIT-type"

Of course there is a (native) runtime, as there is for all languages (like you said) :)

Re:Perry Compiles TypeScript directly to executables using S... by satvikpendem on Saturday May 30, 2026 @03:26AM (#48333616)
They probably are, given that's how Flutter and other Rust GUI frameworks work too.
Re:Perry Compiles TypeScript directly to executables using S... by skibz on Saturday May 30, 2026 @03:34AM (#48333660)
Its documentation mentions a garbage collector.

https://docs.perryts.com/language/supported-features.html#ga...

Re:Perry Compiles TypeScript directly to executables using S... by ryanshrott on Saturday May 30, 2026 @10:28PM (#48342529)
Static linking just puts the runtime inside the binary. The binary size is the real clue here.
Re:Perry Compiles TypeScript directly to executables using S... by amlug on Sunday May 31, 2026 @12:45AM (#48343096)
Yes. One that makes use of the underlying UI library for the specific system (macOS UI, Win32 UI, GTK4, ....)

The Perry runtime is surprisiginly small, especially since we (LLVM rather) strip out all that is no needed in one of the compile steps.