> In short: I am lost. I don't know which mechanism will be used in place of a 
> GC. I don't know if that requires me, as a library author, to introduce sink 
> or lent parameters, which I still do not understand. (related to this, I have 
> stopped writing Nim libraries, because I am unsure about its directions). I 
> don't even know if existing libraries are supposed to be working with 
> --gc:arc or --newruntime, so I don't submit issues about them.

That's sad, please continue to develop libraries as we try hard to keep the 
code breakages to be minimal.

> Not sure what a location is, but if the compiler ensures it, seems fine.

The manual does define what a "location" is fwiw. A location is an abstract 
memory cell.

> Uh... sometimes when?

When the compiler cannot move it itself because the analysis can only reason 
about local variables effectively. It helps to read the document as a document 
and not as an unordered set of sentences.

I mean, ok, fair enough, one does not learn new features by reading their spec 
and we need better documentation but there is no reason to despair and stop 
developing Nim libraries.

Reply via email to