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

And some methods for manipulating it (slicing it), and reference counting. And macro's for automatically ref'ing/unref'ing.


Reference counting? I didn't know reference counting was used with slices, I thought they just used the GC.


Yes, but since C is not a GC-language, I thought I'd add that to reach more equivalence :).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: