Hacker News new | past | comments | ask | show | jobs | submit login

quoting the github readme:

> In general, ante is low-level (no GC, values aren't boxed by default) while also trying to be as readable as possible by encouraging high-level approaches that can be optimized with low-level details later on.




with no GC, is there compile time segfault checking like rust?


Author here, that is the purpose lifetime inference is meant to serve. It automatically extends lifetimes of `ref`s so that they are long enough. A key advantage of these is avoiding lifetime annotations in code, at the cost of some lack of control since the lifetime is increasingly handled for you. You can also opt out by using raw pointer types though and easily segfault with those.




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

Search: