3 ms·
> Is this memory safe? How do you handle lifetimes? > Not to be confused with automatic memory which completely works, memory safety isn't fully implemented. W
by eatonphil 4y ago
> Is this memory safe? How do you handle lifetimes?
> Not to be confused with automatic memory which completely works, memory safety isn't fully implemented. We use invalidation to say all references that came from that object are no longer valid. This is checked at compile time. Not everything has been implemented so there are holes and we haven't chosen alias rules which might be a simple not allowed.
They've certainly made some interesting decisions.
https://bolinlang.com/faq https://bolinlang.com/faq