ThePhD on Nostr: Yeah, finally got a ""working"" solution and my conclusion is VLAs/VMTs are not ready ...
Yeah, finally got a ""working"" solution and my conclusion is VLAs/VMTs are not ready for general purpose deployment across any industry. Specialized use is fine but this stuff is bloody awful and requires several language improvements before use. You can make the situation better with macros but otherwise these are just not the things we should be building any library on top of; might be decent for specific, targeted, data-only-flows-inwards use, though.
https://godbolt.org/z/x5f5fPfjKPublished at
2024-06-18 14:56:55Event JSON
{
"id": "2da75b59b016a77ae2c8602ed3b398168bf2076de539dfd965c9d752f87f94fd",
"pubkey": "2845572814e3205908fd23768b14285a03b693513bfb9b7087435924b04bc19e",
"created_at": 1718722615,
"kind": 1,
"tags": [
[
"proxy",
"https://pony.social/users/thephd/statuses/112638205309604593",
"activitypub"
]
],
"content": "Yeah, finally got a \"\"working\"\" solution and my conclusion is VLAs/VMTs are not ready for general purpose deployment across any industry. Specialized use is fine but this stuff is bloody awful and requires several language improvements before use. You can make the situation better with macros but otherwise these are just not the things we should be building any library on top of; might be decent for specific, targeted, data-only-flows-inwards use, though.\n\nhttps://godbolt.org/z/x5f5fPfjK",
"sig": "32b352e924c8be271e295d349c5d4c8d8a0de6d704dcbfe00c82c75ea045ece89b3acce7fe118e9781626cd442685ea4dc87a29e68a46ba2b788ae494f2d9d8b"
}