|
From: Kopylenko, D. <dko...@ac...> - 2003-11-17 18:55:01
|
Colin, Thanks for your answer. Dmitriy. -----Original Message----- From: Colin Sampaleanu [mailto:col...@ex...]=20 Sent: Monday, November 17, 2003 1:38 PM To: spr...@li... Cc: 'mpo...@sp...' Subject: Re: [Springframework-developer] Is it worth keeping BCEL = around a t all? I can actually answer that, to the extent that looking at the existing=20 code in BcelAttributes and BcelAttributeWriter, I don't see anything at = all in there that you couldn't do with Javassist. As to this is in any way preferable to using an ASM/cglib combination,=20 that's harder to answer. Javassist would probably be a more direct=20 replacement on a line by line basis, since it's fundamental approach is = fairly similar; you work with objects representing the bytecode=20 elements. It definitely runs faster than BCEL, and uses less memory, = but=20 my feeling is that for raw speed and memory usage, ASM's 'visitor'=20 approach would win out. Kopylenko, Dmitry wrote: >Mark, > >Would it be feasible to create another Attributes impl such as=20 >JavassistAttributes ? > >Dmitriy. > >-----Original Message----- >From: Colin Sampaleanu [mailto:col...@ex...] >Sent: Monday, November 17, 2003 9:26 AM >To: spr...@li... >Subject: Re: [Springframework-developer] Is it worth keeping BCEL = around a t >all? > > >We use Javassist at work in an internal project. I think it's great. I >don't know how it compares in speed to the using cglib on top of ASM=20 >though; we picked Javassist for this applicaiton mainly because it=20 >allows you to write in real Java code which gets parsed and inserted = at=20 >runtime... > > > > >Kopylenko, Dmitry wrote: > > =20 > >>Has anyone had any experience wit Javassist? Any thoughts/comments? >> >>Regards, >>Dmitriy. >> >>-----Original Message----- >>From: j=FCrgen h=F6ller [werk3AT] = [mailto:jue...@we...] >>Sent: Sunday, November 16, 2003 3:59 PM >>To: spr...@li... >>Subject: Re: [Springframework-developer] Is it worth keeping BCEL=20 >>around at all? >> >> >>+1 - the Hibernate guys typically know what they're doing, so I trust = >>+them when they switched to ASM :-) >> >>________________________________ >> >>Von: spr...@li... im Auftrag >>von Alef Arendsen (JTeam) >>Gesendet: So 16.11.2003 19:17 >>An: spr...@li... >>Betreff: RE: [Springframework-developer] Is it worth keeping BCEL=20 >>around at all? >> >> >> >>+1 >> >>Just get rid of if, What Mark is saying about the side file approach >>indeed sounds like the best approach... >> >>Alef >> >> >>=20 >> >> =20 >> >>>Hi, >>> >>>I vote to get rid of BCEL as well. It always seemed large to me. =20 >>>The ASM api indicates it supports attribute manipulation in the=20 >>>bytecode so I >>>should be able to port the bcel package to asm. This >>>feature bytecode >>>libraries might not be that important anyway since the default=20 >>>storage >>>mechanism for attributes will likely switch to side files instead of = >>>putting it in the bytecode. >>> >>>Mark >>> =20 >>> ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from = any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/g22lp.tm= pl _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |