Monthly Archives: January 2009

Responses to The Problem with STM

So, my post on The Problem with STM: your languages still suck got listed on reddit, where a number of comments were generated. A number of the comments are worthy of a response, which is what I offer here.

Posted in Programming Language Punditry | 7 Comments

Experience of a Freemason: Thoughts a Few Years In

Editor’s Note: For more on Freemasonry from this blog, see the Freemasonry category. By popular demand from the followers of my Twitter stream, I’m cataloging my journey into Freemasonry. At this point, I have a vantage point of being involved for a few years, and so I have a bit of perspective on the events. [...]

Posted in Freemasonry | 10 Comments

Useful Grails Integration Testing Snippet: Delete All Instances of Domain Classes

Just thought I’d share this quick: import org.codehaus.groovy.grails.commons.ApplicationHolder   class FooTests extends GroovyTestCase {   def sessionFactory   void setUp() { (ApplicationHolder.application.getArtefacts("Domain") as List).each { it.newInstance().list()*.delete() } sessionFactory.currentSession.flush() sessionFactory.currentSession.clear() } } That code deletes all the instances of all the domain classes. Yes, the transactional aspect of Grails integration tests should make sure everything is [...]

Posted in To Be Categorized | 3 Comments

The problem with STM: your languages still suck

I’m reading about why Software Transactional Memory hasn’t caught on yet. There are three problems with STM that make it a CS Researcher Full Employment Act, allowing many to try and none to succeed in implementing STM for “mainstream” languages like Java, C#, and C++.

Posted in Classic, Programming Language Punditry, To Be Categorized | Tagged | 30 Comments
  • Categories