Replies: 1 comment 1 reply
-
|
Thanks for taking a look and for the thoughtful suggestion! It's a reasonable instinct — AssemblyScript/Static Hermes/etc. have shown that a strict subset can buy you real wins, so the question is well worth raising. The short answer is that Perry has been deliberately trying to extract those wins without asking users to opt into a different language, and so far that's been working out:
So the philosophy is: keep it full TypeScript, lean on inference + linker DCE for the common case, add narrow pragma-scoped opt-ins where there's a measurable win. A separate dialect would fragment the value prop ("your existing TS just works") for gains we're already capturing. Really appreciate you flagging it though — it's the kind of question worth having a clear answer to. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Interesting project! I bet this was a lot of work to build.
Not a user of this project but came up on my Twitter and had a random thought.
It might be interesting for those who are willing to avoid dynamic features, restrict themselves to certain types, or use some perry specific stdlib, you could provide even smaller, faster binaries.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions