[aosd-discuss] dynamic AOP and dynamic languages
Michael Haupt
haupt at informatik.tu-darmstadt.de
Thu May 11 11:03:05 EST 2006
Hi Hans,
Am 11.05.2006 um 16:27 schrieb SainTiss:
> recently I was looking at some java implementations like PROSE, which
> seem to allow dynamic enabling/disabling of aspects. However, Java
> just
> doesn't seem to be the suitable language for this kind of thing. It
> lacks flexibility.
> Basically you either need to modify the VM or use the debugger
> interface
> or use other tricks...
have you taken a look at Steamloom? It is indeed a modified JVM
adding support for dynamic weaving and then some. For example, it has
got very efficient support for cflow. An upcoming new version of it
will even reduce the overhead for dynamic weaving (which is currently
done by modifying method bytecodes and scheduling them for JIT
recompilation) drastically.
> I would like to get
> some feedback on whether this (dynamic weaving in a dynamic
> language) is
> considered useful in the AOP community. I get a feeling that maybe it
> isn't because then maybe there would have been dynamic language
> implementations before?
There are AOP implementations for dynamic languages. Take AspectS,
for example, which adds AOP features to Squeak (s Smalltalk
implementation).
I am also aware of AOP extensions to Ruby (AspectR, if I recall
correctly), LISP (AspectL), Perl (I've only heard rumours of that,
though), and there may be more. You can check the AOSD community wiki
at http://aosd.net/wiki/index.php?title=Main_Page for a link collection.
Best regards,
Michael Haupt
--
Dipl.-Ing. Michael Haupt haupt at informatik.tu-darmstadt.de
Software Technology Group Phone: ++49 (0) 6151-16-5306
Darmstadt University of Technology Fax: ++49 (0) 6151-16-5410
Hochschulstr. 10, 64289 Darmstadt, Germany
http://www.st.informatik.tu-darmstadt.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1838 bytes
Desc: not available
Url : http://aosd.net/pipermail/discuss_aosd.net/attachments/20060511/e2e1cdd8/smime.bin
More information about the discuss
mailing list