David Hutto, 21.12.2010 10:46:
On Tue, Dec 21, 2010 at 4:34 AM, Stefan Behnel wrote:
David Hutto, 21.12.2010 10:19:
If I want to write a programming language, It might not be the best
idea to have a labguage needed for speed based on Python, I should
maybe use wha it's based on, or refine my own optimizations, just to
be a little clearer about my perspective.
Being clearer would certainly help in understanding your postings.
What's the difference between a language based on C++ Python, and C?
If I used any of the above to begin writing my own language, which of
the above would be faster(other languages aside) to begin with?
Certainly Python. The Cython compiler is written in Python, for example. It
translates Python to C. It would have been a lot less fun to write it in C,
and it would totally have made the project progress a lot slower.
PyPy and ShedSkin are other famous examples to name here, even though both
are written in restricted versions of Python (not sure about ShedSkin, but
if it compiles itself, it must be).
Seriously, if you want to write a programming language, the best advice I
can give is to write it in Python.
Stefan
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor