[antlr-interest] C++ beginner questions
Akhilesh Mritunjai
virtualaspirin at yahoo.com
Sat Oct 1 11:43:19 PDT 2005
Oh, bloodless wars are fun :)
Point in case, in our case Java parser was 2x faster
than C++ parser... both using automatic memory
management (C++ using ref counts).
Oh, and it used 33% less memory too as extra topping.
(Right now I'm playing with a 3.75M node AST generated
with this baby).
- Akhilesh
--- Martin Probst <mail at martin-probst.com> wrote:
> > I also keep scratching my head thinking, "What's
> the
> > point of compilers implemented in Java?". It's
>
> Well, what's the problem about Parsers/Compilers in
> Java? Actually the
> Java version of ANTLR v2 is significantly faster
> than the C++ part.
> The only problem you might run into is the JVM
> startup overhead, if you
> compile file by file on the command line.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the antlr-interest
mailing list