4 ms·
I don't like how C was completely ignored when talking about languages with comparable performance. :p The Zend Engine 3 (aka the stock PHP 7 interpreter) is,
by TazeTSchnitzel 12y ago
I don't like how C was completely ignored when talking about languages with comparable performance. :p
The Zend Engine 3 (aka the stock PHP 7 interpreter) is, according to one HHVM developer, 'embarassingly competitive on the test suites', and it's written in C.
/rant
C++ is probably much nicer to maintain, though. C ends up being macro hell.
- marktangotango 12y agoInteresting, do you have link where that comment was made?
- TazeTSchnitzel 12y agohttp://chat.stackoverflow.com/transcript/message/21019002#21019002 http://chat.stackoverflow.com/transcript/message/21019002#21...
- nly 12y agoMeh. In most software test suites don't accurately portray or reflect real world workloads or results. I interpret this as 'our test suites are embarrassing'
- coldtea 12y agoI don't care about "real world workloads" when measure a programming language. There network latency or disk/database i/o would dominate in most cases. I'm interested in the raw language speed/memory use in its native form, which is a good indicator of what you can do with it (e.g. "can you do number crunching? is it good for 3d rendering? can it tackle writing a fast compiler in it?" etc).
- Demiurge 12y agoHe did not ignore C, he said C++ is much easier to maintain and lets you use friendly features when it's not performance expensive. They use template as much as possible over macros, C++ debuggers, lambdas, ref counting.
- TazeTSchnitzel 12y agoI haven't watched the last 10 minutes yet, but there's no mention of C in the talk before that. The only comparison is to Assembly.
- Demiurge 12y agoAnd I can't really rewatch the first half hour, but I distinctly remember he mentioned C at least two times at the begging, slightly before and during "Why C++" part. The examples of template usage also imply things not possible in C.