News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of C by jfb on Thursday January 10, 2013 @12:07PM (#5038134)
If you don't understand what "virtual machine" means in this context, why are you posting?
Re:The Unreasonable Effectiveness of C by popee on Thursday January 10, 2013 @12:51PM (#5038480)
Maybe because he uses C and have never heard someone refering to VM and C in same sentence. I'm also interested in this because i also don't get wtf is "C VM". He could be refering to layer below which includes hardware and OS combo. You know, memory pages, translations, ... Is he talking about that? :-)
Re:The Unreasonable Effectiveness of C by pjmlp on Thursday January 10, 2013 @01:28PM (#5038738)
Yes.

All languages have a virtual machine, or if you prefer abstract machine, that describes how the language sees the hardware.

CINT is a C/C++ interpreter for example,

http://root.cern.ch/drupal/content/cint

Programming languages are independent of their canonical implementation.

Usually the usage of a compiler, interpreter or JIT as default implementation is a matter of return of investment for the set of tasks the language is targeted for.

Re:The Unreasonable Effectiveness of C by oscargrouch on Thursday January 10, 2013 @01:38PM (#5038818)
He´s using the term VM, as a machine abstraction, wich C really is, in the same perspective the OS is a VM..

it will abstract you away, from device drivers, processor assembly, memory, (using files to represent a collection of data blocks in a block device)

C is a VM. but not the same way the Java VM is a vm.. cause that is a VM on top of another VM (OS and processor assembly)

its a software abstraction of a hardware system? its a VM.

Re:The Unreasonable Effectiveness of C by popee on Thursday January 10, 2013 @06:28PM (#5040406)
Software abstracion of a hw system sounds ok. VM in C context is little bit weird ... but it's only terminology