News for hackers. Stuff that matters.
Re:CDE: Easily run a program on any linux without thinking a... by InclinedPlane on Saturday November 13, 2010 @02:41PM (#1901500)
If anyone wonders why C/C++ programming is still so popular, here's a perfect case study. Most new fangled languages don't offer the option of static linking. This single piece of uncompromising idiological doctrine has led to billions of dollars in effort expended in engineering systems to workaround that choice and to effectively reproduce static linking in different form.
Re:CDE: Easily run a program on any linux without thinking a... by j_baker on Saturday November 13, 2010 @03:16PM (#1901592)
Most "newfangled" languages don't use linking in the same way as C and C++ do anyway (unless of course you're interfacing with C or C++). For instance, you can't statically link to a python source file. That's not because of ideology. It's because static linking doesn't even have any meaning.
Re:CDE: Easily run a program on any linux without thinking a... by d0mine on Saturday November 13, 2010 @05:34PM (#1901883)
Analog of static linking for a pure python library is including it within the library package. Another example: deploying python application in its own virtualenv environment.
Re:CDE: Easily run a program on any linux without thinking a... by mkramlich on Saturday November 13, 2010 @03:41PM (#1901666)
dynamic linking is generally a functional superset of static linking because you can bundle the needed libraries with the app, as say loose files in the app's dir tree, for example. This lets you avoid Shared DLL Hell while still allowing you to surgically deploy a critical bugfix to one of those libraries.