Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by jonasdoesthings on Monday July 27, 2026 @03:33AM
(#49066206)
another use case is getting standalone self-contained binaries which are easier to ship.
other projects like claude code use something like `bun build --compile`[^1] for that, which instead of producing a small native binary just bundle the JS runtime into the executable.
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by repeekad on Monday July 27, 2026 @03:09AM
(#49066057)
Some of us don’t like Spotify, Slack, Discord, and a simple notes app taking 1-2GB of RAM each..
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by isaachinman on Monday July 27, 2026 @02:53AM
(#49065967)
This is a really important question. If true, it could end a lot of Electron wastefulness.
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by jorisw on Monday July 27, 2026 @03:15AM
(#49066081)
Don’t see how compiling Typescript changes how little Electron cares about the host OS in terms of UI and how it just ships Chromium in order to show any UI at all
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by nkmnz on Monday July 27, 2026 @05:22AM
(#49067037)
Nothing more horrible than apps that "care about the host OS in terms of UI", thus looking different on every type of device I have to use for work.
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by queenkjuul on Monday July 27, 2026 @06:16AM
(#49067438)
Im 99% certain it cannot. This seems better suited to server side projects.
Deno is building a less-wasteful Electron style framework for native desktop apps
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by lpribis on Monday July 27, 2026 @06:31AM
(#49067539)
Still need the entire browser DOM, APIs, layout, renderers, etc outside of JS.
Re:Scriptc by Vercel: TypeScript-to-Native compiler, no Java...
by queenkjuul on Monday July 27, 2026 @10:48PM
(#49078658)
Im 99℅ certain this could not handle an Electron project.
The use case, imo, is to be able to write server side code in familiar TypeScript, then deploy it as a small single native binary (vs Node and Bun which embed the entire 100MB+ runtime when you build a native binary.) Electron for the record ships their own modified Node runtime (not ABI compatible) on top of the whole Chromium renderer
whats the use case for this , make it hard to reverse engineer my node projects?