chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] "coops" object system


From: Felix
Subject: [Chicken-users] "coops" object system
Date: Fri, 04 Jun 2010 14:43:31 +0200 (CEST)

Hello!

This announces yet another object system, named (obvious but somewhat lame): 
"coops"

Features:

- the highlevel API is compatible to tinyclos
- based on Dorai Sitaram's "ScmObj"
- multimethods
- multiple inheritance
- before/after/around methods
- implicit generic procedure definition
- full integration with SRFI-17 setters (generic procedures can be defined
  on setters)
- reader:/writer:/accessor:/initform: slot options
- faster slot-access than tinyclos
- faster than tinyclos for repeated invocation of the same method
- relatively clean code, even with optimizations (tinyclos has been
  optimized into an inscrutable mess, somehing for which I have to take 
  the full responsibility)

Limitations:

- no MOP (which is mostly used for hacks, anyway)
- still slower than tinyclos for alternating invocations of the same generc
  procedure with different argument classes)


See

http://chicken.wiki.br/eggref/4/coops

for more information.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]