Axel Rauschmayer on Nostr: Proposal for turning the JavaScript standard library into built-in modules ('json', ...
Proposal for turning the JavaScript standard library into built-in modules ('json', 'math', 'intl', etc.): https://github.com/tc39/proposal-built-in-modules
This proposal could help with the following problem—quoting Tzvetan Mikov (Static Hermes): “Unfortunately, in general it is impossible to compile JS statically to a tiny binary (Wasm or otherwise), because it is impossible statically to know which parts of the JS library are used.”
https://x.com/tmikov/status/1869900344286949425
Other benefits: https://fosstodon.org/@rauschma/112002585904516954
#JavaScript
This proposal could help with the following problem—quoting Tzvetan Mikov (Static Hermes): “Unfortunately, in general it is impossible to compile JS statically to a tiny binary (Wasm or otherwise), because it is impossible statically to know which parts of the JS library are used.”
https://x.com/tmikov/status/1869900344286949425
Other benefits: https://fosstodon.org/@rauschma/112002585904516954
#JavaScript