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

Yeah, this article was rather sparse on background, more intended for friends and sponsors and people who have been following along with Vale. A strategy that backfires with general audiences like HN!

TL;DR: Vale is like a cleaner C++, and it uses generational references [0] which are similar in spirit to running with ASan [1] turned on. Generational references have a bit of overhead, but it can be removed by regions [2] or more specifically, immutable region borrowing [3]. This helps Vale achieve its goal of being a high-performance language while still remaining memory safe.

Hope that helps, happy to answer any other questions =)

[0] https://verdagon.dev/blog/generational-references

[1] https://github.com/google/sanitizers/wiki/AddressSanitizer

[3] https://verdagon.dev/blog/zero-cost-borrowing-regions-overvi...

[4] https://verdagon.dev/blog/zero-cost-borrowing-regions-part-1...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: