Re:Criticizing Hare language approach for generic data struc...
by ddevault on Wednesday May 04, 2022 @08:44AM
(#31259652)
Yep. I used it in a kernel to create a linked list of statically allocated data structures in a context where dynamic allocation was off the table. You can see the code here:
https://git.sr.ht/~yerinalexey/carrot/tree/master/item/conso...
Went with nullable pointer types, which is also a rarely used feature in Hare.