Re:Porffor: A from-scratch ahead-of-time JS engine
by mananaysiempre on Wednesday July 31, 2024 @05:44AM
(#41117665)
It’s advertised as that, and it’s a cool project, but while it’s definitely a statically typed language that reuses TypeScript syntax, it’s not clear to me just what subset of the actual TypeScript type system is supported. That’s necessarily bad—TypeScript itself is very unclear about what its type system actually is. I just think the tagline is misleading.
[ Parent
| on HN ]
Re:Porffor: A from-scratch ahead-of-time JS engine
by eyelidlessness on Wednesday July 31, 2024 @05:08PM
(#41123480)
Probably a better way to think about AssemblyScript is first as a DSL for WASM, and second as providing a subset of TS syntax and authoring semantics to achieve that. The type system is closer to TS than the syntax and semantics. At least that was my experience when I explored it some time back.
Re:Porffor: A from-scratch ahead-of-time JS engine
by mananaysiempre on Wednesday July 31, 2024 @08:18PM
(#41124950)
*not necessarily bad, d’oh