ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | architecture List | August 2003 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [asm] [Fwd: ASM looks cool but LGPL (was Re: [bcel] Is anyone a BCEL expert?)]

I've used both BCEL and ASM. I have found the ASM implementation and Visitor 
design pattern
approach both simple and extremely powerful. An example of this was class 
renaming, I could use
the ClassVisitor to iterate through my class and replace all references in 
both the code and the
parameters passed that referenced the old class name. The bytecode is at a 
slightly more abstract
level than BCEL, making it easier to write. The source code is small and well 
written and you can
easily get to grips with it in a weekend.

Eric Bruneton has been extremely helpful and timely with help.

The project does lack decent documentation, which I hope to help with - as 
I'm just starting to
write up an FAQ of my recent experiences.

Is the LGPL really that aweful? I think for a "library" its ideal, it allows 
the project to be
used and exploited commercially without exposing the company using the code - 
but also ensures the
health and longetivity of the project by encouraging these commercial 
entities to give back and
reduces risk of "forking". This "ASF" license for everything really is 
becoming a religious
crusade, I can understand the need for the main application to be ASF 
licensed, but they are
excluding or reproducing many good "libraries" just because they are LGPL, 
the LGPL is not the
GPL. It would be a sad day if ASM is is not persued and an "alternative" 
project started aimed at
cloning ASM, because of these licensing issues.



 --- Jeff Mesnil <Jean-Frederic.Mesnil@xxxxxxxxxxxx> wrote: > FYI, ASM seems 
to interest Geronimo
> jeff
> -------- Original Message --------
> Subject: ASM looks cool but LGPL (was Re: [bcel] Is anyone a BCEL expert?)
> Date: Tue, 26 Aug 2003 08:29:13 +0100
> From: James Strachan <james_strachan@xxxxxxxxxxx>
> Reply-To: geronimo-dev@xxxxxxxxxxxxxxxxxxxx
> To: geronimo-dev@xxxxxxxxxxxxxxxxxxxx
> I've heard good reports of ASM
> http://asm.objectweb.org/
> and its very small (22Kb) - only problem is its LGPL :(. Anyone fancy
> trying to persuade them to change licence :)
> On Friday, August 22, 2003, at 11:35  pm, Dain Sundstrom wrote:
> > On Friday, August 22, 2003, at 04:30 PM, Jens Schumann wrote:
> >
> >> On 8/22/03 05:11 PM Dain Sundstrom <dain@xxxxxxxxxxxxxxxxxx> wrote:
> >>
> >>> We are going to need some BCEL code which varies from simple to quite
> >>> complex.  If you are an expert or eager to learn, here is what we 
> >>> need
> >>> (from simple to complex):
> >>
> >> [...] A few examples creating bytecode [...]
> >>
> >> I guess I touch a sensitive topic here, but wouldn't it be better to
> >> approach a AOP style solution instead - maybe by using AspectWerkz or
> >> something. I think in the long run there is more involved than 
> >> creating
> >> proxies for field interception only etc.
> >
> > I would really, really, really like to delay the AOP framework 
> > discussion to much latter.   We have just a few places we need byte 
> > code generation, and not an entire framework.  If you have a *free* 
> > tool that we *can* use that do the mentioned things easily, and 
> > generates fast code (like bcel can), them please show us how (a 
> > patch), otherwise I think we should just go with BCEL (for now).
> >
> > -dain
> >
> >
> James
> -------
> http://radio.weblogs.com/0112098/
> -- 
> Jeff Mesnil   INRIA - ObjectWeb Consortium
> JOTM project leader
> email: jmesnil at inrialpes.fr
> homepage: http://sardes.inrialpes.fr/people/jmesnil/perso.html
> > 
> -- 
> You receive this message as a subscriber of the asm@xxxxxxxxxxxxx mailing 
> list.
> To unsubscribe: mailto:asm-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service homepage: http://www.objectweb.org/wws

Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.