The Fascinating Influence of the Cyclone Language (2019)
pling.jondgoodwin.com
pling.jondgoodwin.com
Rust blatantly stole many of the best features of other languages and academic PL research, and its developers have spent their innovation tokens on figuring out how to get all these parts interacting, as well as how to make them ergonomic.
That brings its own challenges, but a feature like ownership and borrowing can't be bolted on afterward. It paid to get it right, and then work hard to make it easier and easier to use.
Section 2.6 describes a static variant of the same idea, named `focus`/`defocus`, which can't fail at runtime but has some limitations on how nodes can be used.
These don't exactly match the solutions Rust typically uses, but they are close to a few of them in several ways. This looks more like a question of defaults and API (including the choice to rely on garbage collection by default) than the design of the type/borrow checker.
[1] http://gallium.inria.fr/~fpottier/publis/bpp-mezzo-journal.p...
D has a prototype ownership/borrowing system implemented.
The neato thing is it's not necessary to learn a new language, new syntax, throw everything you have away, etc.
Likewise, MDIL used in Windows 8 WinRT used some Singularity ideas like the Bartok compiler.
I recently took the source code of the GC on
And updated it to work with amd64 and added primitive register scanning.
The code might be helpful to someone learning https://GitHub.com/samsquire/garbage-collector
One of my ideas is to see if we can do memory management by the absence of a keyword rather than the presence of a keyword.
So whenever you need to use a pointer, you import it. Whenever a scope is entered that doesn't import the keyword, it is freed. this is slightly different to RAII.
https://en.wikipedia.org/wiki/Cyclone_(programming_language)
The UNIX's "AT&T Labs Research".
[1] https://www.hillelwayne.com/post/influential-dead-languages/
ps: were there other safe C langs ? I kinda remember another CS based C dialect (a blue themed website) that was close to cyclone but I can't remember which.
maybe E.. damn memory.