Luci for Chai Tea on Nostr: I’m not sure how to say this but WASM isn’t a cheap way to avoid “needing to” ...
I’m not sure how to say this but WASM isn’t a cheap way to avoid “needing to” write javascript. You use wasm when you need to optimise a slow core loop (most commonly, bitcoin mining); or when you have an existing codebase you are trying to port.
If starfing with no wasm; and add wasm, you’re adding the complexity of a build targeting an unstable api surface, to create opaque blobs that more likely than not will wind up unmodifiable in 3 years as the build tool chain used to create it bitrots
Published at
2024-08-04 03:31:58Event JSON
{
"id": "43eb26b65623f489af400ce08ed3bf663a98cb74db32f0f2e759e911c469232d",
"pubkey": "09b15053f78d452dc64b0ae6ada0bcc69d3a8143eca6fd5782bdf046630570c4",
"created_at": 1722742318,
"kind": 1,
"tags": [
[
"proxy",
"https://merveilles.town/users/zens/statuses/112901640571601252",
"activitypub"
]
],
"content": "I’m not sure how to say this but WASM isn’t a cheap way to avoid “needing to” write javascript. You use wasm when you need to optimise a slow core loop (most commonly, bitcoin mining); or when you have an existing codebase you are trying to port.\n\nIf starfing with no wasm; and add wasm, you’re adding the complexity of a build targeting an unstable api surface, to create opaque blobs that more likely than not will wind up unmodifiable in 3 years as the build tool chain used to create it bitrots",
"sig": "c083becd6339c09ec97e5476f163c6177bd5df029cf65b780ce8863956f45162f7df8208e4a76a9afd6a65fd9167fdde0a8a5843f577a87a98421aebeb0d62d7"
}