Compiler or Interpreter or Hybrid

evanchitger evanchitger at tutanota.com
Mon Nov 23 05:31:31 UTC 2020


https://forum.dlang.org/post/qatjshmizzgvsfilkcnn@forum.dlang.org

On Thursday, 21 April 2016 at 02:06:00 UTC, newBeeee wrote:
> How is D  implemented? (Compiler, Interpreter and Hybrid). Can 
> you please explain why?

A computer program is usually written in high level language 
described as a source code. The difference between an interpreter 
and compiler is the point at which a source code is actually 
executed. This means that when convert source code into machine 
code , we use either a compiler or an interpreter. So generally 
categorizing computer languages by "compiled" or "interpreted" 
doesn't make much sense. Now a days, interpreting Vs. compiling 
is a trade-off, with time spent compiling often being rewarded by 
better runtime performance , but an interpretative environment 
giving more opportunities for interaction .

http://net-informations.com/q/diff/cvsi.html


More information about the Digitalmars-d-learn mailing list