Re:AssemblyScript: A variant of TypeScript targeting WebAsse...
by wizzwizz4 on Saturday December 19, 2020 @09:14AM
(#25477492)
AssemblyScript is a tiny subset of TypeScript; it's probably better to describe it as a C-like compiled language that borrows syntax from TypeScript.
[ Parent
| on HN ]
Re:AssemblyScript: A variant of TypeScript targeting WebAsse...
by maxgraey on Saturday December 19, 2020 @10:42AM
(#25478049)
Not only syntax, but also standard library, ecosystem and etc. You could easily transpile AssemblyScript project to JavaScript via tsc if use portable glue code. From C it I guess it borrows AOT compilation, ability to use low-level intrinsics and more granular and sound types. Btw many people still thought AS has manual memory management, but it's not true. By default it use hybrid ARC and GC approach called PureRC:
https://github.com/dcodeIO/purerc/blob/master/papers/Bacon03...