Luci for dyeing 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": "f2e4b1d9020d9df33d61b5df2a7936e91942bddba9b586b46bf9b56e0098626b",
"pubkey": "bd8b4da7cc98700dc2b55e029482053003e4eae4a0eb629e2249749b74199624",
"created_at": 1722742318,
"kind": 1,
"tags": [
[
"proxy",
"https://merveilles.town/@zens/112901640571601252",
"web"
],
[
"proxy",
"https://merveilles.town/users/zens/statuses/112901640571601252",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://merveilles.town/users/zens/statuses/112901640571601252",
"pink.momostr"
],
[
"-"
]
],
"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": "cb0d11ed7e5eda5f33250220cd9f18e1f064ac137ad2351515c154f7eeb0fb03d4fe336caeb9d54a0017dc7bf1704fbce0d60a0dcadba5636dc940ffc4830930"
}