Le 29/05/2012 18:56, Alex Rønne Petersen a écrit :
On 29-05-2012 17:52, deadalnix wrote:
Le 29/05/2012 14:26, Alex Rønne Petersen a écrit :

shared isn't working properly ATM, so anyway, things will have to
change
in regard of shared memory support in the language.

And it never will. ;)


It has been successful done in other languages and has proven itself
useful. This is a difficult backend problem, but it can be solved.

The problem is not in the compiler back end, the problem is that shared
is completely useless as it is. There's no bridge from shared to
unshared, making it impossible to work with any real world code base.


I'd argue that shared shouldn't contains big stuff. Integers, pointer to immutable data, flags, stuff like that.

For such usage, this would work. Still, you comment show that the current state of things needs some work, and it is likely to impact both shared and synchronized.

Reply via email to