yosh on Nostr: Oh yeah, I open sourced my referentially-stable constructor library yesterday: I ...
Oh yeah, I open sourced my referentially-stable constructor library yesterday:
https://github.com/yoshuawuyts/placingI forgot to post about it here because I had a number of other things come up. But I think this is rather neat! The idea is that it proves the feasibility of a language feature along these lines by implementing it as a proc macro first. Crucially: it works without needing to rewrite your code!
Published at
2025-05-21 00:34:46 UTCEvent JSON
{
"id": "9e7fa1be036ba041736658f2407e5d35558dde9984040e92e31615b8a546b5dc",
"pubkey": "e1f48d2f077b0d512e8666bf7a0dddded2e443d99b0c92cecf577b4e50b86563",
"created_at": 1747787686,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.masto.host/tootyoshis/media_attachments/files/114/543/013/490/624/709/original/8c273000a797f358.jpeg",
"m image/jpeg",
"dim 1100x564",
"blurhash U02~ij?woMMwx^t8ogofM{Rjt7xukDkDj[f5"
],
[
"proxy",
"https://toot.yosh.is/users/yosh/statuses/114543013852042778",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "Oh yeah, I open sourced my referentially-stable constructor library yesterday: https://github.com/yoshuawuyts/placing\n\nI forgot to post about it here because I had a number of other things come up. But I think this is rather neat! The idea is that it proves the feasibility of a language feature along these lines by implementing it as a proc macro first. Crucially: it works without needing to rewrite your code!\n\nhttps://cdn.masto.host/tootyoshis/media_attachments/files/114/543/013/490/624/709/original/8c273000a797f358.jpeg",
"sig": "346a3b8d2aab5c6cfec17cbbb4961b271eea349b90cee75144e789d1dfc503d2d03e235f5489d8f0aced63910de3a11d754fac3c23549826c7b52e39a5c28edd"
}