Re:TypeScript: Branded Types
by kevingadd on Wednesday April 24, 2024 @04:24PM
(#40149133)
It wouldn't be very useful, since a TS-in-JS runtime would have significant performance overhead, and a TS-in-WASM runtime would have very expensive JS interop plus cross-language-GC hurdles. Might be less bad with WASM GC.
[ Parent
| on HN ]
Re:TypeScript: Branded Types
by DonHopkins on Wednesday April 24, 2024 @06:19PM
(#40150531)
Does branding work in AssemblyScript?