@
[email protected] i honestly feel like people doing web standards don't care about performance like *at all*. and like, it *can* be justified, people don't usually do heavy stuff on the web.
but the issue here is that js is definitely not only "the web". its used for *everything* these days. yet without node-compatible apis, your runtime is useless for backend (yes, im talking about deno).
and it's such a pain trying to make your library support all the different runtimes, while also utilizing runtime-native apis for maximum performance.
i can't just use `TextEncoder` because of performance penalty.
yet i also want to support web.
and i definitely don't want to use a 28kb large `Buffer` polyfill for browser. :neocat_woozy:
another example - webcrypto is **very** slow. on node they are 5-10 times slower than `require('crypto')` apis. despite both being openssl underneath, lol.