Graham Fawcett:

http://www.reddit.com/r/programming/comments/1g1fhf/case_study_for_replacing_python_in_0install/

I was about to link that Reddit thread here myself :-)

The original article proposes to translate to your language this little piece of Python+libs and measure its speed, safety in presence of errors, etc:


#!/usr/bin/env python
import os, sys, json
envname = os.path.basename(sys.argv[0])
args = json.loads(os.environ["0install-runenv-" + envname])
os.execv(args[0], args + sys.argv[1:])


Later he proposes other means to measure a language quality. Overall the comparison is quite interesting, despite several methodological problems.

Bye,
bearophile

Reply via email to