Wednesday, May 28, 2003 [Tweets] [Favorites]

Memory Models

Chris Brumme:

The trade-off between developer productivity and computer performance is really an economic one.  If there’s sufficient incentive to write code to a weak memory model so it can execute efficiently on future computers, then developers will do so.  At that point, we will allow them to mark their assemblies (or individual methods) to indicate that they are “weak model clean”.  This will permit the native code generator to emit normal stores rather than store.release instructions.  You’ll be able to achieve high performance on weak machines, but this will always be “opt in”.  And we won’t build this capability until there’s a real demand for it.

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment