Re: dynamic AOP and dynamic languages

Michael Haupt <[email protected]>
Newsgroups gmane.comp.programming.aspect.general
Message-ID <[email protected]>
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            [email protected]
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/

__________________________________________________
AOSD Discuss mailing list    -    [email protected]
To unsubscribe go to http://aosd.net

Check out the AOSD.net Wiki: http://aosd.net/wiki
smime.p7s (application/pkcs7-signature, 1.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.