[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Etoile-dev] ANN: New Objective-C Runtime
From: |
o Kiselkov <address@hidden> |
Subject: |
Re: [Etoile-dev] ANN: New Objective-C Runtime |
Date: |
Thu, 08 Nov 2007 16:15:55 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Sounds very cool. I'm all for a new runtime, as the GNU runtime is
seriously stone-age.
- --
Saso
David Chisnall wrote:
> Hi Everyone,
>
> I've spent the last two days locked in my room doing some therapeutic
> coding[1], and the result is a new Objective-C runtime (rejection is
> obviously good for my productivity; I should apply for more jobs). A
> quick summary of features:
>
> - Two layer model, with Self-like object model at the core and classes
> built on top.
> - Very small code base (roughly 10% of the size of the GNU runtime)
> - Support for @synchronized on all objects / classes.
> - Support for concrete protocols / mixins.
> - Support for prototype-based object orientation (can be mixed with
> class-based; classes really are just another kind of object in this
> runtime)
> - Support for safe method caching (including polymorphic inline
> caching) with low overhead.
> - Support for fast accessor methods (we can implement properties that
> are much faster than Apple's)
>
> The core sparse array implementation is a bit basic and could do with
> some tuning and, of course, it needs compiler support to actually be
> useful. The core runtime is tested, but the class-based part isn't
> yet so there are probably lots of bugs there. I plan on writing a set
> of macros representing the basic Objective-C primitives, but so far I
> have only done message dispatch (three version; basic, inline cache,
> polymorphic inline cache).
>
> You can find a more detailed overview of the library design here:
>
> http://cs.swan.ac.uk/~csdavec/libobjc/libobjc.pdf
>
> Interface documentation:
>
> http://cs.swan.ac.uk/~csdavec/libobjc/libobjc.pdf
>
> The code is currently in a branch in the Étoilé repository:
>
> svn://svn.gna.org/svn/etoile/branches/libobjc_tr/
>
> Comments welcome, bug fixes very welcome.
>
> David
>
> [1] Well, I did eat, sleep, shower and make toffee in the middle, and
> procrastinate a lot reading online comics too, but you get the idea.
> _______________________________________________
> Etoile-dev mailing list
> Etoile-dev@gna.org
> https://mail.gna.org/listinfo/etoile-dev
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHMygrakxhuWWzY78RA/gaAKCON1I4ik+ELY9103EMkjNPdHH2IACeK+zM
wabGf8oRqwgnDr4eS5NNp3Q=
=dBaT
-----END PGP SIGNATURE-----