News for hackers. Stuff that matters.
Re:Macro-ts: TypeScript compiler with typesafe syntactic mac... by xigoi on Tuesday May 30, 2023 @11:19AM (#36125901)
But doesn't it defeat the point of using WebAssembly, since you have to pass everything through JavaScript anyway (and therefore it's at the speed of JavaScript)?
Re:Macro-ts: TypeScript compiler with typesafe syntactic mac... by taosx on Tuesday May 30, 2023 @11:31AM (#36126046)
In cases where you care about performance, yes. Newer webassembly frameworks (rust from what i remember) are batching operations to the DOM for that exact reason.