From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <6e35c0620711110922o329993f4x4277912f8a0a4d9c@mail.gmail.com> References: <6e35c0620711110922o329993f4x4277912f8a0a4d9c@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] OT: New Obj-C runtime Date: Sun, 11 Nov 2007 13:28:27 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: f3585e48-ead2-11e9-9d60-3106f5b1d025 On Nov 11, 2007, at 12:22 PM, Jack Johnson wrote: > The entire library was written by > one person over two days, which should give some idea of its > simplicity." > > -Jack Wow, I wonder if that guy has a Xeon 8-core for a brain. Writing a runtime for a language like Objective-C isn't much of a problem (the earliest Objective-C was a preprocessor for C or C++, I'm not sure which one) but two days? This guy must have drunk about forty 2-liter bottles of coffee. @interface Runtime { int w; } - (int)whyDid:(int)my floatie:(float)inTheWater; + (NSString *)theAnswerIsRightInFrontOfYourTerminal; @end @implementation Runtime - (int)whyDid:(int)my floatie:(float)inTheWater { return 0; } + (NSString *)theAnswerIsRightInFrontOfYourTerminal { return @"It has been so long since I opened Xcode to work with Objective-C\n"; } @end