Live data from Hacker News

Perry Compiles TypeScript directly to executables using SWC and LLVM

perryts.com

1–10 of 109 posts

Re: Perry Compiles TypeScript directly to executables using SWC and LLVM

#5
Fascinating. I've written cross platform (WASM, iOS, Android) libraries with Rust before and had a good time but Rust can be a pain too. Cross-platform Typescript is a really interesting proposition.

That said, the more I think about it the more dubious I am. The site boasts no runtime dependencies but clearly it’s going to need things like a garbage collector, you can’t just magic that requirement away. At a certain point is it just doing what a JS engine’s JIT compilation does… except ahead of time?

Also doesn't inspire confidence that the text on the site is very clearly AI generated and the GitHub log shows an endless stream of AI powered commits. About 15 per hour, every hour? Doesn’t scream stability.

Re: Perry Compiles TypeScript directly to executables using SWC and LLVM

#8
post #5

Fascinating. I've written cross platform (WASM, iOS, Android) libraries with Rust before and had a good time but Rust can be a pain too. Cross-platform Typescript is a really interesting proposition. That said, the more I think about it the more dubious I am. The site boasts no runtime dependencies but clearly it’s going to need things like a garbage collector, you can’t just magic that requirement away. At a certain…

tbf Rust also can spit out pretty big binaries for small programs

Re: Perry Compiles TypeScript directly to executables using SWC and LLVM

#10
post #8
post #5

Fascinating. I've written cross platform (WASM, iOS, Android) libraries with Rust before and had a good time but Rust can be a pain too. Cross-platform Typescript is a really interesting proposition. That said, the more I think about it the more dubious I am. The site boasts no runtime dependencies but clearly it’s going to need things like a garbage collector, you can’t just magic that requirement away. At a certain…

tbf Rust also can spit out pretty big binaries for small programs

Agreed. You can optimize things a fair amount with the Rust compiler, at least.
Post reply on HN