Heads Up: GHC devs on Macs - GHC's testsuite crashes spotlight indexer on SL

GHC's testsuite[1] contains a test encoding001 (in the I/O library section) that generates files in various unicode encodings including one using UTF-8 with byte order markers, namely encoding001.utf16.utf8_bom. On Mac OS X 10.6 (Snow Leopard), this file causes the indexing process of Spotlight to hang. More precisely, the mds (meta dataserver) process appears to go into a loop (eating all cycles of one processor core) — it appears to hang in the library libmecap trying to parse what it probably believes to be Japanese or Chinese text.

Interestingly, the file command regards the file to be "Unicode text, UTF-32, big-endian".

Loading mentions Retweet
Filed under  //  ghc   haskell   mac  
Comment (1)
Posted 5 months ago

Language Specification for Blocks

Here is the language specification for blocks (that is lambda abstractions) for C, Objective-C & C++ as implemented in the Clang compiler and used in Mac OS X 10.6 (Snow Leopard):

   http://clang.llvm.org/docs/BlockLanguageSpec.txt

Loading mentions Retweet
Filed under  //  cocoa   mac   objc  
Comments (0)
Posted 5 months ago

Grand Central Dispatch aka libdispatch is now Open Source

Apple released the source code of one of the core technologies in Snow Leopard: http://libdispatch.macosforge.org/
 
This is an interesting move, as discussed at http://www.macresearch.org/grand-central-now-open-all — it will be very interesting to see whether this will lead to a wider adoption of Grand Central Dispatch beyond Mac OS.

Loading mentions Retweet
Filed under  //  concurrency   mac   parallelism  
Comments (6)
Posted 6 months ago

Installing GtK2Hs on a Mac with the native GTK+ OS X Framework.

http://www.haskell.org/haskellwiki/Gtk2Hs#Using_the_GTK.2B_OS_X_Framework

Loading mentions Retweet
Filed under  //  gtk   mac  
Comments (0)
Posted 1 year ago