4 ms·
Weak article. I thought he would talk about some more examples. And then talk about the difficulties in learning a library vs. rolling your own. Easy-to-copy co
by anonymous246 16y ago
Weak article. I thought he would talk about some more examples. And then talk about the difficulties in learning a library vs. rolling your own. Easy-to-copy code (MD5) was copied. Well duh.
Lots of people have talked here about the difficulty in reusing OpenSSL. I once had the distinct displeasure of trying to reuse ffmpeg as a library.
In addition, why must every language have it's own standard library. Is it possible to have a source code format for standard libraries which can translated into other languages?
There's a good article waiting to be written about this topic, but this is not it.
- mkn 16y agoI have to disagree. For its length and scope it summed up the current problem nicely and clearly pointed out that the thinking that got us into this mess won't get us out of it, to paraphrase Einstein. I don't think the intent of the article was to answer the question of what to do, but rather to point out its currently intractable nature. Furthermore, he points out that he's even "done something about it," wrote a catch-all library, but that it hasn't had the anticipated or desired effect. Clearly, something else is afoot here. Where next?
- true_religion 16y agoA lot of languages simply take parts of the C standard library, and make it their own. For example, hardly anyone re-implements system signals or processing forking--they just re-use the C library, worts and all.
- astrange 16y agoWhat problems did you have with FFmpeg libraries? Assuming you mean the libraries that come with FFmpeg, and not turning ffmpeg.c into a library.
- anonymous246 16y agoWasnt intuitive, undocumented, had to jump thru lots of setup even for simple things (no smart defaults), I had to manage the memory for all buffers including temp buffers myself. It almost seems like ffmeg allocates no memory on its own. Sorry can't be more specific, it was a while back.
- spitfire 16y ago> In addition, why must every language have it's own standard library. Is it possible to have a source code format for standard libraries which can translated into other languages? It exists. It's called C. You wouldn't want a standard library of standard widgets because different languages have different approaches to problems. What's suitable for Lisp, isn't suitable for C++, isn't suitable for prolog, isn't suitable for awk.