升压像C库 [英] Boost like libraries in C

查看:134
本文介绍了升压像C库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以建议我可以在C环境下使用(像升压为C ++)同行评审库?一些提供哈希,线程,进程间通信,列表,智能内存管理...

Can you recommend peer reviewed libraries that I can use in C environment (something like Boost for C++) ? Something that provides hash, thread, interprocess communications, lists, smart memory management...

这个环境是嵌入式系统,而不是一个很小的系统,也没有电脑!

The environment is embedded system, not a very minimal system, but also not a PC!

谢谢!
阿米特

Thanks! Amit

推荐答案

+1 GLib的从我了。另外,它有自己的线程API 的,所以你不必学习pthreads的,如果你不想。

+1 for GLib from me, too. Plus, it has its own threading API too, so you don't have to learn pthreads if you don't want to.

不知道是否存在这样的事情在C智能内存管理,它的时候你没有析构函数的安全网和控制经营者不是很容易。但是,再次,油嘴有很多面向存储器的数据结构之类的东西,真正使生活更轻松。

Not sure if there exists such a thing as "smart memory management" in C, it's not very easy when you don't have the safety nets of destructors and control over operators. But, again, GLib has plenty of memory-oriented data structures and stuff that really makes life easier.

和不,我不是GLib的球队,但我真的很喜欢它。 :)

And no, I'm not on the GLib team, but I really do like it. :)

这篇关于升压像C库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆