Ask HN: Compiled and Interepted language?
Is it possible for a language to be both compiled as well as interpreted.
* During development we can use interpreter to rapid application development * In production environment same code base gets compiled to machine code or bytecode for performance reasons
Is it possible? Or is it a stupid idea?
6 comments
[ 2.1 ms ] story [ 24.3 ms ] threadWe actually use this in the way you describe - using the interpreter as our test bed but compile it via Cython (for code protection and speed reasons) on deployment.