« February 2005 | Main | April 2005 »

March 2005 Archives

March 16, 2005

G5 2.5 vs 2.0 GHz

After working a while now with both the Dual 2.0 GHz and and the Dual 2.5 GHz, I have to conclude that the Dual 2.5 GHz is seriously getting on my nerves. When the machine is idling, the noise level is OK, but when the load goes up, maybe because a few tabbed browser windows are showing animations, the revving "blowdryer" noises are just too damn annonying to offset the 1 GHz speed advantage.

March 17, 2005

A little IMP oddity

This works in 10.3 but crashes in 10.2 In 10.2 you only see the messages from the first two NSLogs(non-IMP code)
#import <Foundation/Foundation.h>


int main (int argc, const char *argv[])
{
   NSAutoreleasePool   *pool;
   NSDictionary        *dictionary;
   IMP                 imp;

   pool = [[NSAutoreleasePool alloc] init];

   dictionary = [NSDictionary dictionaryWithObject:@"VfL"
                                            forKey:@"Bochum"];

NS_DURING
   [dictionary selectorThatDoesNotExist];
NS_HANDLER
   NSLog( @"Exception: %@", localException);
NS_ENDHANDLER
   NSLog( @"Calling unimplemented messages via objc_msgSend can be caught");

NS_DURING
   imp = [dictionary methodForSelector:@selector( selectorThatDoesNotExist)];
   (*imp)( dictionary, @selector( selectorThatDoesNotExist));
NS_HANDLER
   NSLog( @"Exception: %@", localException);
NS_ENDHANDLER
   NSLog( @"And calling them via IMP can also be caught");
 
   [pool release];
   return( 0);
}

March 29, 2005

Carmack does Java

The lamer's language of choice gets another beating by non other than John Carmack this time.

About March 2005

This page contains all entries posted to Nat!'s Web Journal in March 2005. They are listed from oldest to newest.

February 2005 is the previous archive.

April 2005 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.25