Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


Reply to @reiddragon@fedi.catto.garden
知空 (shia-nya) :neobot_upside_down:@shia@pika.moe (2026-10-11 16:15:15)
@reiddragon@fedi.catto.garden There are proposals for C2Y but who knows if they will get accepted.

Both are super useful features for a language like c.
---Reply--- Reid :blobcat_happy:@reiddragon@fedi.catto.garden (2026-10-11 16:18:38) @shia they're useful features, but they're not what C is.

C is high level assembler, as little abstraction as possible while still being portable across CPUs. What you're asking for there is expressive high level abstractions in the style of lisps.
Reply

---Replies---
知空 (shia-nya) :neobot_upside_down:@shia@pika.moe (2026-10-11 16:33:40)
@reiddragon@fedi.catto.garden you don't need lambdas with capture. Just some way to define simple anonymous functions that can be passed to other functions as arguments. C++ has that.