Re:Perry Compiles TypeScript directly to executables using S...
by ventana on Saturday May 30, 2026 @03:12AM
(#48333519)
Well, I did indeed spend some time playing with it before writing my comment. I first tried to compile the TypeScript project I'm working on, and it happens to be an Express server. After some minor unrelated fixes required (Perry does not understand importing "fs/promises", so I fixed it to import "fs" and then taking .promises) it said it needs JS runtime, and the smallest repro I found was
which gives
Maybe it's because Express is written in JavaScript with external types from @types/express, that would explain why it might need JS runtime, but it does not make things easier for me.
[ Parent
| on HN ]
Re:Perry Compiles TypeScript directly to executables using S...
by nl on Saturday May 30, 2026 @03:21AM
(#48333588)
Fair, but might have been worth including that in your initial comment because the docs don't mention that at all.
Re:Perry Compiles TypeScript directly to executables using S...
by interstice on Saturday May 30, 2026 @04:42AM
(#48334071)
I got the impression from the first comment that it was speaking from experience not the docs