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

Let me paste the introduction in the post, and let's see how much it claims that C3 has memory safety:

Modern languages offer a variety of techniques to help with dynamic memory management, each one a different tradeoff in terms of performance, control and complexity. In this post we’ll look at an old idea, memory allocation regions or arenas, implemented via the C3 Temp allocator, which is the new default for C3.

The Temp allocator combines the ease of use of garbage collection with C3’s unique features to give a simple and (semi)-automated solution within a manual memory management language. The Temp allocator helps you avoid memory leaks, improve performance, and simplify code compared to traditional approaches.

Memory allocations come in two broad types stack allocations which are compact, efficient and automatic and heap allocations which are much larger and have customisable organisation. Custom organisation allows both innovation and footguns in equal measure, let’s explore those.



I read the post multiple times before commenting. The more I read it the worse it looks.




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

Search: