Archive for June 28, 2012

Thursday, June 28, 2012 [Tweets] [Favorites]

Chocolat 1.0

Chocolat is a new programmer’s text editor. I’m not tempted to switch from BBEdit, but it does have some interesting ideas. The language support seems to be wide but shallow. The demo animation shows Haskell, Erlang, and Lisp. It even supports my beloved reStructuredText. Yet, for a common language such as Objective-C, the symbol list doesn’t include the methods—just C functions, defines, and the like.

Branch Prediction Fail

An interesting Stack Overflow question (via Mike Ash):

Here is a piece of code that shows some very peculiar performance. For some strange reason, sorting the data miraculously speeds up the code by almost 6x […] My first thought was that sorting brings the data into cache, but my next thought was how silly that is because the array was just generated.

QuickCursor Editor Example

Jesse Grosjean has posted some code showing how to integrate his QuickCursor utility with your NSDocument subclass.