PHP is my standard for "fast" in the realm of scripting. Just behind Perl. Python is slower in every prototype benchmark we have ever tried. It's a practical problem that hand waving cannot remedy.
Not at all. It naturally follows from the incorrect assertion that
> > PHP is no one's standard for "fast".
except within a set of constraints...like scripting languages (of which the pointless bikeshedding often and has occurred).
> There's no reason to artificially limit the conversation to scripting languages,
You've just decided to derail a discussion of a finer point and claim it's in the interest of the main conversation because it's not the main discussion. I can only assume is that you like to argue and had nothing better to do. Good Luck with that.
It's indeed a bit fuzzy, but program execution without separate compilation (which is not a feature of a language per se) is something I'd look for.
As far as intrinsic language features go, a lack of boilerplate in the sense of
print("hello")
vs class Hello {
public static void main(String[] args) {
System.out.println("hello");
}
}
is a good indicator, as is dynamic typing.?
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
I would argue that the defining characteristic of a scripting language is the ability to execute scripts instead of generate binaries. You could then make a further distinctions between application scripting languages (the origin of Lua and Javascript) and general-purpose scripting languages (which are independent of a host application - think Perl or Python).
This distinction is not sharp: Today, Lua and Javascript are used as general-purpose scripting languages, people ship 'fakecutables', packaging script and runtime system into a binary, and even C++ has been used to script applications (physicists are silly people ;)).
But there's normally still a dominant usage pattern associated with a given language, so the classification is not entire useless.
Python/Ruby/etc.. are slow.
D/Go/C/Rust/etc.. is fast.