Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Perry – compiles TypeScript to native GUI and CLI apps. No runtime / Electron

Perry is a new tool that compiles TypeScript directly into native GUI and CLI applications, eliminating the need for a runtime environment like Node.js or Electron.

Background

- Perry is a new compiler that takes TypeScript code and produces native GUI (graphical user interface) and CLI (command-line) applications, without needing a JavaScript runtime like Node.js or a framework like Electron. - Electron is a popular but resource-heavy platform that lets web developers build desktop apps using web technologies — many apps (Slack, VS Code, Discord) bundle an entire Chromium browser inside them, which makes them memory-hungry and large. Perry's main selling point is eliminating that overhead entirely. - TypeScript is a Microsoft-developed language that adds static types to JavaScript; it has become the standard for large-scale web and server development. Perry targets TypeScript directly, meaning developers could write desktop apps in a familiar language without the bloat of Electron. - The project is early-stage (a personal/toy project by the looks of it), so the claims should be taken as aspirational rather than production-ready.

Related stories