AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Memory management model and language features #312

Closed ghost closed 6 months ago

ghost commented 6 months ago

I know the memory management model is an integral part of the runtime, so language features will depend on it. But to what extent? I don't know, since Adept also supports manual memory management. For example, if you change the memory management model in the future and I restrict myself to pure C-style manual memory management, then which language features will be available to me, and will my code work in the new Adept?

IsaacShelton commented 6 months ago

Adept 3.x is still in the design phase, but yes it is planned to break backwards-compatibility.

It will effectively be a new language.

They will probably not be interoperable.

Adept 2.x will always be supported though.

So I wouldn't worry about trying to make your code future-proof with 3.x. If it really concerns you, you can always make a static library in Adept 2.x, as I can guarantee that 3.x will support static libraries.

Adept 2.x will still always be supported of course.

IsaacShelton commented 6 months ago

Also there may be migration tools, although we will see