On Wed, 12 Mar 2014 22:50:03 +0100, Sönke Ludwig wrote:

If you ever have a situation where you are certain that it is safe to
pass some data to another thread, you can also use cast(immutable) or
cast(shared) to talk the compiler into accepting it, but of course
this is unsafe and not recommended practice.

Do you think casting a struct as immutable would perform better than using makeIsolated on a class however? (I never managed to make a struct isolated)