DEV Community

Discussion on: Web Assembly isn't always the Answer

Collapse
 
trusktr profile image
Joe Pea

Nice article. I suppose that explains what I experienced while on the rtrace branch. :)

BTW, you mentioned

Writing code that can be executed in node.js immediately helps you circumvent the aforementioned slow compile times and cumbersome build steps unless you are coding in TypeScript

Just wanted to mention I've been using ts-node in transpileOnly mode, in a relative big application, and the speed difference between plain JS and ts-node is almost imperceivable (and also cached on re-runs).

Collapse
 
jtenner profile image
jtenner

AssemblyScript also requires ts-node version 8 which is not the latest version. This is because of some kind of tsconfig problem with AssemblyScript. If I had to use it, I would not get the latest version. I'll try to keep this in mind for later because it's something I could measure against.