ssecorp said:
Why is there no interpreter for C/C++?
C might be easier to interpret because it's rather straightforward.
The interpreter, though, would have to safely emulate the memory
allocation routines of the C library so that the program being
interpreted cannot corrupt the interpreter itself nor its data.
C++ is a bit tougher. Instantiation of template functions and classes,
for instance, may require an almost full-fledged compiler which compiles
at least to some intermediate templateless code based on the type of
instantiations, and probably cannot be simply "interpreted" in a
line-by-line basis.
Wouldn't an interpreter speed up development in c/C++?
Perhaps. OTOH debugging compilers and profilers seem to do a pretty
good job even with compiled code which has debug info in it.