fasterthanlime đ on Nostr: so here's an idea: rustc doesn't currently cache proc macro output because proc ...
so here's an idea:
rustc doesn't currently cache proc macro output because proc macros can have side effects / can be arbitrary code
what if, until we figure out the wasm thing / lean into introspection / etc. â we could annotate proc macros as "pure"?
Published at
2024-08-28 09:43:07Event JSON
{
"id": "b15a010ee720b981eefa186b1f37fc8caa87ebb12988ee64a5d5bf9dfa9e4f1d",
"pubkey": "854b15b14948bc526e2831c23094808f51ba9202a24140f8aef95ebf533f93a7",
"created_at": 1724838187,
"kind": 1,
"tags": [
[
"proxy",
"https://hachyderm.io/users/fasterthanlime/statuses/113038995425337902",
"activitypub"
]
],
"content": "so here's an idea:\n\nrustc doesn't currently cache proc macro output because proc macros can have side effects / can be arbitrary code\n\nwhat if, until we figure out the wasm thing / lean into introspection / etc. â we could annotate proc macros as \"pure\"?",
"sig": "098cbb94146190a8e1e072626d3f40684c19280d2d5d626290f5b3fdfff4c8b448bf180d8b8581f124431bfd6ea433ac3b723b3050ad2be9ea7c7a7e1b02862b"
}