
Libraries
文章平均质量分 50
wangeen
商业化产品可能是有用的但最好的东西往往是免费的空气水Vim
展开
-
boost units__带单位的物理模型编程
Quick StartBefore discussing the basics of the library, we first define a few terms that will be used frequently in the following :Base dimension : A base dimension is loosely defined as a mea转载 2012-12-27 14:53:34 · 1154 阅读 · 0 评论 -
使用 Boost 的 IPC 和 MPI 库进行并发编程
boost MPI有一个好处是和STL的容器支持很好,对一般的class也有自己的allocate,如果从最底层开发所有的部件,从boost MPI 入手是个不错的选择。使用非常流行的 Boost 库进行并发编程非常有意思。Boost 有几个用于并发编程领域的库:Interprocess (IPC) 库用于实现共享内存、内存映射的 I/O 和消息队列;Thread 库用于实现可移植转载 2012-12-20 13:07:12 · 1453 阅读 · 0 评论 -
database dump 概念
dump 就是导出一系列可以重新构造这个数据库的sql语句原创 2012-08-03 09:28:48 · 4869 阅读 · 0 评论 -
c call mysql in linux process
step 1. 下载mysql的相关文件 启动mysql服务step 2. #include lmysqlclientstep 3. C API programming tutorialhttp://zetcode.com/tutorials/mysqlcapitutorial/原创 2012-08-02 17:18:52 · 562 阅读 · 0 评论 -
找了一个C库读取shapefile
可以读取shapefile, 但是shapefile本身不含有topology,所以仍不能满足要求。http://shapelib.maptools.org/shp_api.htmlboolNServerData::initShapeFile(){ const char* shp = "shapefile/freeway_polyline.shp";原创 2012-08-03 12:38:12 · 1884 阅读 · 2 评论 -
多线程下内存分配方式的比较(TCMalloc vs mt_alloc)
当软件性能优化到一定程度之后,用vturn查看hotspots,将会发现malloc/delete会花费很高比例的时间,此时如果是多线程程序,频繁的lock将会是一个瓶颈,这里有一篇oracle的文章,很好的介绍了这样的情况http://www.oracle.com/technetwork/articles/servers-storage-dev/mem-alloc-1557798.html原创 2012-10-31 18:06:19 · 2763 阅读 · 0 评论 -
调用Qt 系统Dialog偶尔会crash的解决办法
#8 0xb6317719 in __xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2#9 0xb63177cc in xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2#10 0xb63a20f4 in xmlNewTextRe原创 2012-06-18 12:55:55 · 3190 阅读 · 0 评论 -
Performance testing shared vs. static libs
I wrote these tests to see how much slower it is to call into a sharedlibrary than it is to call into a static library. My intuition wouldsay that shared is slower, of course, but by how much?The转载 2013-01-22 17:20:03 · 604 阅读 · 0 评论 -
The Intel Perceptual Computing SDK
http://www.drdobbs.com/cpp/gesture-based-computing-for-the-desktop/240146740扩展了摄像头的功能,比如和人交互等等。原创 2013-02-06 09:46:53 · 1564 阅读 · 0 评论