TSource Engine Query on Nostr: As far as I like the idea of alloca() for small temporary allocations, it's still not ...
As far as I like the idea of alloca() for small temporary allocations, it's still not a part of C standard and the only alternative is VLA which C11 made optional, and not all compilers supported it to begin with.
All I want is cheap (cheaper than malloc) small allocations that are scope-based.
Published at
2024-01-31 19:23:24Event JSON
{
"id": "853ecb44ff99108ff5be030dea46d2ffcc118443ca10c79bbbb1762920c13b29",
"pubkey": "288059249d3068d2994e16ca1aa07ec4db75f434042952e536305c8ea1ce16a9",
"created_at": 1706729004,
"kind": 1,
"tags": [
[
"proxy",
"https://suya.place/objects/dce970c5-9fd4-409f-a2cc-13ae9445f54d",
"activitypub"
]
],
"content": "As far as I like the idea of alloca() for small temporary allocations, it's still not a part of C standard and the only alternative is VLA which C11 made optional, and not all compilers supported it to begin with. \n\nAll I want is cheap (cheaper than malloc) small allocations that are scope-based.",
"sig": "f20c2cf68d0eeaff5f7cd337a0be782caf90109d664137a4b06f66308bbdc4fd1b99e154b7de9827bf84a22a97b17bc1ed6cc8f452346fc617adaef4b84c3829"
}