View Single Post
  #16   Report Post  
Old December 6th 07, 08:30 PM posted to rec.radio.amateur.homebrew,sci.electronics.cad
clifto clifto is offline
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 79
Default "MARTHA" RF/Microwave CAD Using APL -- Free!

Chuck Harris wrote:
clifto wrote:
Chuck Harris wrote:
Spice is an interpreter.


SPICE makes sense as an interpreter. Compilers are best for programs you
write once and use several times; interpreters are best for programs you
run once but write several of. If you consider every change to a circuit
to be a separate program you run once (which makes perfect sense when you
consider you would be recompiling it every time you made a change), and
you consider that once the circuit works to your liking you probably won't
be running that simulation often, then an interpreter is perfect for the
job and a compiler would be slow and inconvenient.


There is an additional, very important reason to use an interpreter:
Ease of debugging. An interpreter knows exactly what is happening in
all of the data spaces, indexes, jumps, subroutines, etc. at all times.
That factor makes it easy to debug. Interpreted languages, such as Python,
Perl, and apl have extensive debugging facilities available. Debugging with
a compiler is a much more complicated matter.


You're right. In a way that's what one is doing when changing a SPICE
simulation repeatedly while testing/modifying a circuit.

--
A staffer for Democrat Senator Maria Cantwell of Washington has been
arrested for trying to arrange a sexual tryst with a 13-year old boy.
http://www.thesmokinggun.com/archive...72senate1.html