WebAssembly/js-string-builtins
View on GitHub ↗ ★ 25 WebAssembly
JS String Builtins
8 mentions on Hacker News by 7 people: 0 stories, 8 comments · first 2023-10-04 · latest 2025-08-09
20082026
-
There is a JS strings spec for wasm underway. https://github.com/WebAssembly/js-string-builtins This feels so much like one of those cases where perfect is the enemy of the good. Node.js spent a decade being wrapped about the axle,…
comment by jauntywundrkind · 2025-08-09 · in HTML-in-Canvas -
The JS string built-ins proposal for WebAssembly: https://github.com/WebAssembly/js-string-builtins/blob/main/...
comment by breve · 2025-07-26 · in Breaking the WASM/JS communication performance barrier -
…for fixed-layout JS objects which would allow directly reflecting wasm-GC objects in JS [3]. [1] https://github.com/WebAssembly/js-string-builtins/blob/main/... [2] https://github.com/WebAssembly/esm-integration/tree/main/pro... [3]…
comment by bakkoting · 2025-03-26 · in Hyperlight WASM: Fast, secure, and OS-free -
…to access the DOM. This will be made better with builtins like the js-string-builtins proposal: https://github.com/WebAssembly/js-string-builtins/blob/main/... You can call JavaScript functions and DOM methods from wasm like this example…
comment by peutetre · 2024-11-21 · in Ask HN: What are some unpopular opinions you got? -
From the new official WASM proposal: https://github.com/WebAssembly/js-string-builtins/blob/main/... "the overhead of importing glue code is prohibitive for primitives such as String, ArrayBuffer, RegExp, Map, and BigInt where the desired…
comment by singularity2001 · 2024-10-26 · in Should JavaScript be split into two languages? -
…to the native Ruby string in Ruby extensions. I believe this is how the counter-proposal works: https://github.com/WebAssembly/js-string-builtins/blob/main/... For engines that do not have a built-in JavaScript-like string type, the…
comment by haberman · 2023-10-20 · in Requiem for a stringref -
…intrinsic types and instructions. AIUI, the main alternative to stringref (linked in the article: https://github.com/WebAssembly/js-string-builtins/blob/main/... ) is to provide string types via WebAssembly's normal "import" mechanism.…
comment by haberman · 2023-10-19 · in Requiem for a stringref -
…that work in all browsers with default settings. [0] https://gitlab.com/spritely/guile-hoot [1] https://github.com/WebAssembly/js-string-builtins/blob/main/...
comment by davexunit · 2023-10-04 · in Extism makes WebAssembly easy