Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Cool, thanks for the link and info




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: