Just found this one: http://www.ivy.fr/blog/index.php/2008/07/14/89-etoile-desktops-next-objective-c-llvm-and-smalltalk
Quote: "In the meantime, I've been quite impressed by some posts by David Chrisnall related to how he's trying to improve the Objective-C runtime (the GCC implementation being... well... look for yourself !) and to bridge Smalltalk and Objective-C." Yen-Ju On Sat, Aug 2, 2008 at 2:47 AM, David Chisnall <[EMAIL PROTECTED]> wrote: > On 31 Jul 2008, at 10:04, Yen-Ju Chen wrote: > >> 1. How to use NSRect and NSPoint in Smalltalk ? I saw something like >> @NSViewMinXMargin constant, but have no idea about using C structure >> in Smalltalk. > > I've just committed support for auto-boxing and unboxing of the four > main Foundation structures properly. There's a new category in > Support which allows you to create NSRanges and examples/nsrange > shows how you use them. > > The same boxing / unboxing code should work for points, rects and > sizes, but I haven't tested it. They also need methods adding to > NSValue to allow creating them (unless you get them externally) - as > always, patches welcome. > > I've also committed a horrible hack that gets -count working > correctly while I try to think of a real solution. > > There's a slight problem with the latest version. It uncovered a bug > in LLVM (PR2623 [1]). I've worked around it, but the optimisation > passes I was using undo my work-around, so I've disabled them until > it's fixed in LLVM. Until this happens, Smalltalk will generate > quite bad code[2]. > > David > > [1] http://llvm.org/bugs/show_bug.cgi?id=2623 > > [2] In my informal testing, there wasn't actually much of a > difference between performance of 'good' and 'bad' code, since > Smalltalk code tends to spend 90% of its time calling ObjC code. > > _______________________________________________ > Etoile-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-discuss > _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
