News for hackers. Stuff that matters.
Re:PyPy is faster than C, again: string formatting by burgerbrain on Tuesday August 02, 2011 @04:02PM (#2838485)
C the language doesn't have shared libraries. That's something some systems add themselves.

Edit: Is this not the case? I am under the impression that it is, and is relatively new at that.

Re:PyPy is faster than C, again: string formatting by scott_s on Tuesday August 02, 2011 @04:07PM (#2838497)
Which is why I said "the traditional C model of shared libraries." Shared libraries are not a part of the C language itself, but most real systems make heavy use of shared libraries. Even statically linked C programs have this problem, because optimizing across object files is hard - most compilers don't even try.

Not being a part of the C language itself is irrelevant. The traditional linker has been a part of the C ecosystem for decades.

Re:PyPy is faster than C, again: string formatting by burgerbrain on Tuesday August 02, 2011 @04:13PM (#2838519)
Statically linked programs certainly still have this problem, I'm not contending that at all. I would not however call shared libraries a "traditional model" at all. Particularly in the fields that C seems to be getting relegated to more and more these days.
Re:PyPy is faster than C, again: string formatting by scott_s on Tuesday August 02, 2011 @04:15PM (#2838529)
If you're running a Unix derived system, most of the programs are using shared libraries. That fits "traditional" in my mind.
Re:PyPy is faster than C, again: string formatting by burgerbrain on Tuesday August 02, 2011 @04:28PM (#2838574)
A sufficiently modern Unix derived system, sure ;) I have quite commonly seen shared libraries not done on embedded systems however, regardless of heritage.
Re:PyPy is faster than C, again: string formatting by scott_s on Tuesday August 02, 2011 @04:31PM (#2838584)
And I don't consider embedded systems to be traditional. Otherwise, we wouldn't have to qualify it with "embedded."
Re:PyPy is faster than C, again: string formatting by burgerbrain on Tuesday August 02, 2011 @04:39PM (#2838613)
They are certainly a traditional stronghold of straight up C.
Re:PyPy is faster than C, again: string formatting by nknight on Tuesday August 02, 2011 @05:13PM (#2838721)
The embedded systems I work on use shared libraries, C++, shell scripts, and even Adobe Flash.

Dynamic linking has been around since the 1960s, and is the model that has been used by almost all currently active developers for their entire careers. Arguments based around specialized microcontrollers, hard real-time systems, life-or-death control systems, etc. are off in the woods. Few developers use such systems in the real world, and their code is statistically irrelevant to comparisons between e.g. Python and C.

Re:PyPy is faster than C, again: string formatting by burgerbrain on Tuesday August 02, 2011 @06:32PM (#2838971)
"The embedded systems I work on use shared libraries, C++, shell scripts, and even Adobe Flash."

Consider yourself lucky...