Re: Compiled, Tokenized or Interpreted?
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Wed, 11 Oct 2006 10:28:33 -0700
Bill Martin wrote:
I've been using VBA to do some fairly intense computations in an Excel
spreadsheet. Unfortunately, it's just getting too big and too slow
due to the tokenized and interpreted nature of VBA. So I'm going to
need to move the code to a genuine compiled language.
My question is whether VB is fully compiled, or is it similar to VBA
and tokenized?
Fully compiled, yes. Running VBA code is similar to running VB5/6 code
within the IDE. You can often get an order of magnitude just compiling this
to a pcode EXE. Depending on the code, you may get yet another order of
magnitude improvement compiling to a native EXE. Maybe more. Depending on
the code. If you're accurately diagnosed your bottleneck, you'll see a huge
improvement.
And also, is there a general FAQ available on VB somewhere? Or any
simple speed benchmarks available?
If you google this group for the term "benchmarks" you'll find numerous
threads where different techniques are compared. As for a faq, yeah, google
groups is probably as good as it gets as well. They're all here, and there
are probably a good several hundred that come up repeatedly!
--
Working without a .NET?
http://classicvb.org/
.
- References:
- Compiled, Tokenized or Interpreted?
- From: Bill Martin
- Compiled, Tokenized or Interpreted?
- Prev by Date: Re: VB 2005 not .NET
- Next by Date: Re: VB 2005 not .NET
- Previous by thread: Re: Compiled, Tokenized or Interpreted?
- Next by thread: Re: Compiled, Tokenized or Interpreted?
- Index(es):
Relevant Pages
|