MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1wghkh8/askjs_does_anyone_use_exclussively_javascript_and/p9vf95x/
r/javascript • u/[deleted] • Sep 14 '26
[removed]
156 comments sorted by
View all comments
Show parent comment
1
Typescript types are turing complete so you could write a program that runs in a typescript compiler. Obviously this has no practical use but people have done it for the memes https://github.com/MichiganTypeScript/typescript-types-only-wasm-runtime
1 u/Kadabrium Sep 15 '26 if it could only carry evaluations to runtime. We need constexpr, declval and the likes for typescript
if it could only carry evaluations to runtime. We need constexpr, declval and the likes for typescript
View all comments
Show parent comment
1
u/ferrrnando Sep 15 '26
Typescript types are turing complete so you could write a program that runs in a typescript compiler. Obviously this has no practical use but people have done it for the memes https://github.com/MichiganTypeScript/typescript-types-only-wasm-runtime