为什么没有一个COM prehensiveÇ存档网络? [英] Why there is not a comprehensive c archive network?
问题描述
有网站为蟒蛇/ perl的/ R库的集合。为什么没有一个相当于一个用于C?
我在网上搜索,并只找到一个小网站自称 CCAN 。只有在该网站的几个库。
如果我需要额外的库C语言编程,在哪里可以找到他们呢?是否有C库的组织良好的网站?
感谢。
如果我需要额外的库C语言编程,在哪里可以找到他们呢?是否有C库的组织良好的网站?
块引用>没有知道我CCAN之外。
这里的问题是,C没有对库中的任何松动,甚至规范。与此相比,例如软件包Java或Python或Perl。
即使是这样,C是相当裸骨本身留下的许多事情库来实现自己。 I / O抽象,内存管理,多线程,OS集成 - 图书馆如何与任何资源工作可能会使他们不兼容,preventing他们在同一个项目中使用的细微差别
。我已经看到了过去的一些第三方商业库为C,涵盖了相当多的功能,但坦白说,我不能建议他们,诚实甚至不记得他们的名字 - 因为他们往往是造成更多的问题比真正帮助。 (好吧,我在撒谎:他们的很少的造成的不可解的问题:它只是后来经常造成问题的众多解决方法。)
另外,对于C你可能要检查的油嘴以及(不误会我的意思),还检查C标准的在我的经验,实际上很少知道许多人已经在标准库本身的实用程序。和好了,谷歌是你的朋友。许多公共领域code是有给你简单地抛出原样到项目
There are websites as collections of python/perl/R libraries. Why there is not an equivalent one for c?
I searched the internet and only found a small website calling itself CCAN. There are only a few libraries in that website.
If I need extra libraries for c programming, where can I find them? Is there an well organized website of the c libraries?
Thanks.
解决方案If I need extra libraries for c programming, where can I find them? Is there an well organized website of the c libraries?
No known to me outside of CCAN.
The problem here is that C doesn't have any even loose specification for libraries. Compare that to e.g. packages in Java or Python or Perl.
And even then, C is quite bare bone itself leaving many things for libraries to implement themselves. I/O abstraction, memory management, multi-threading, OS integration - minor differences in how libraries work with any of the resources might make them incompatible, preventing them being used in the same project.
I have seen in past some 3rd party commercial libraries for C, covering quite a lot of functionality, but frankly I can't recommend them and honestly do not even remember their names - for they often were causing more problems than really helping. (OK, I'm lying: they were rarely causing unsolvable problems: it's the numerous workarounds which were causing often the problems later.)
Otherwise, for C you might want to check the Glib and (do not get me wrong) to also check the C standard as in my experience few actually know many of the utilities already in the standard library itself. And well, Google is your friend: lots of public domain code is there for you to simply throw as-is into your project.
这篇关于为什么没有一个COM prehensiveÇ存档网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!