Re: Curious About C--

"John.Cowan" <[email protected]> Mon, 22 Aug 2005 19:41:49 -0400
Newsgroups gmane.comp.lang.c--
Message-ID <20050822234149.GC24920@NYCMJCOWA2>
Sunburned Surveyor scripsit:

>  [1] Is a program converted from a high-level language to C--, and then from 
> C-- to machine code/assembly language on the target platforms?

Yes, exactly.

>  [2] What is the difference between C-- and something like a Java Virtual 
> Machine? Would you not need a "C-- Virtual Machine" to run C-- code on the 
> different architectures?

You need a small library, but not a whole virtual machine.  C-- is compiled
ahead of time (not just-in-time) to native code.

-- 
John Cowan  www.ccil.org/~cowan  [email protected]  www.reutershealth.com
Monday we watch-a Firefly's house, but he no come out.  He wasn't home.
Tuesday we go to the ball game, but he fool us.  He no show up.  Wednesday he
go to the ball game, and we fool him.  We no show up.  Thursday was a
double-header.  Nobody show up.  Friday it rained all day.  There was no ball
game, so we stayed home and we listened to it on-a the radio.  --Chicolini