News for hackers. Stuff that matters.
Re:The overhead of abstraction in C/C++ vs. Python/Ruby by haberman on Saturday October 18, 2014 @04:48PM (#8476251)
Also: CPython and MRI don't do optimizing compilation, which is not entirely obvious considering they both do compile to bytecode and optimize slightly.
Re:The overhead of abstraction in C/C++ vs. Python/Ruby by TheLoneWolfling on Saturday October 18, 2014 @08:31PM (#8476861)
Don't know about MRI. With Python (as it's the reference implementation, I don't see the need to call it by another name) all, IIRC, compilation does with optimization enabled is remove assert and if __debug__: statements. Oh, and docstrings. So yeah... slightly. To put it mildly.

(Note that with this "benchmark", PyPy has (almost) no difference in runtime between the abstracted and non-abstracted versions.)