2 ms·
I feel like I'm eavesdropping on an argument that two people have been having for five years. Anyone have an explanation of what is going on here? I'm finding
by hinkley 3y ago
I feel like I'm eavesdropping on an argument that two people have been having for five years.
Anyone have an explanation of what is going on here? I'm finding the article impenetrable.
- verdagon 3y agoYeah, 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 https://verdagon.dev/blog/generational-references [1] https://github.com/google/sanitizers/wiki/AddressSanitizer https://github.com/google/sanitizers/wiki/AddressSanitizer [3] https://verdagon.dev/blog/zero-cost-borrowing-regions-overview https://verdagon.dev/blog/zero-cost-borrowing-regions-overvi... [4] https://verdagon.dev/blog/zero-cost-borrowing-regions-part-1-immutable-borrowing https://verdagon.dev/blog/zero-cost-borrowing-regions-part-1...