News for hackers. Stuff that matters.
Re:500 Lines or Less – A Python Interpreter Written in Python by notsorandomname on Thursday September 08, 2016 @02:56PM (#12456120)
Shouldn't the title of the article be "500 lines or less - ceval.c written in Python" or "500 lines or less - a python bytecode interpreter written in python" The original one is just misleading.
Re:500 Lines or Less – A Python Interpreter Written in Python by alehander42 on Thursday September 08, 2016 @03:07PM (#12456241)
It is an interpreter and that's absolutely correct. They could've even said "A vm in Python" because that is a VM, just without JIT etc. The compiler includes a parser usually, but interpreters in the purest sense of the word interpret the semantics of some structure corresponding to the code.
Re:500 Lines or Less – A Python Interpreter Written in Python by the_af on Thursday September 08, 2016 @04:06PM (#12456801)
It's not an interpreter of the programming language Python, however. It's a VM for Python bytecode, which is not what most people understand as Python, right?
Re:500 Lines or Less – A Python Interpreter Written in Python by astrobe_ on Thursday September 08, 2016 @06:30PM (#12457984)
It's as correct as writing a Kernel and call it an OS.

If you use that kind of deception too often, people won't take you seriously any more very quickly.

Re:500 Lines or Less – A Python Interpreter Written in Python by pgbovine on Thursday September 08, 2016 @04:33PM (#12457012)
best "well-actually" of the day