2 ms·
Why go through all the trouble when you can do this: https://www.hylo-lang.org/ https://www.hylo-lang.org/ and not spend a second thinking of lifetimes? No, cop
by germandiago 3y ago
Why go through all the trouble when you can do this: https://www.hylo-lang.org/ https://www.hylo-lang.org/ and not spend a second thinking of lifetimes? No, copies will not be issued unless necessary.
Or why not keep exploring this idea as well? More research-oriented than the first one right now, though, so take it with a grain of salt: https://vale.dev/ https://vale.dev/
Look at "generational references".
I find the first solution for Hylo as the correct mainstream one and the one in Vale as promising, though not sure where it will lead or if it can keep up to its promises.
Both remove from you a high cognitive overload and keep memory safety intact without a GC.