C/C++
Open Source GIS Library
TerraLib is a GIS classes and functions library, available from the Internet as open source, allowing a collaborative environment and its use for the development of multiple GIS tools. Its main aim is to enable the development of a new generation of GIS applications, based on the technological advances on spatial databases.
On a practical side, […]
Open Source Volume Rendering Engine
Voreen is an easy to use and highly flexible volume visualization library written entirely in C++. Through the use of GPU-based state-of-the-art volume rendering techniques it allows high frame rates on off-the-shelf graphics hardware to support interactive volume exploration.
Visualization
Direct volume rendering and isosurface shading
Support of different illumination models (phong shading, tone shading, ambient occlusion)
Interactive internal […]
Scalable Cross Language Services Development
Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
Originally developed at Facebook, Thrift was open sourced in April 2007 and entered the […]
Aggregating Log Data from Multiple Servers using Scribe
Scribe is a server for aggregating log data streamed in real time from a large number of servers. It is designed to be scalable, extensible without client-side modification, and robust to failure of the network or any specific machine. Scribe was developed at Facebook and released as open source.
Scribe is implemented as a thrift service […]
Efficient C++ Hash Map Implementation
google-sparsehash is an extremely memory-efficient hash_map implementation. 2 bits/entry overhead! The SparseHash library contains several hash-map implementations, including implementations that optimize for space or speed.
These hashtable implementations are similar in API to SGI’s hash_map class, but with different performance characteristics. It’s easy to replace hash_map by sparse_hash_map or dense_hash_map in C++ code.
It consists of two […]
Boost: A Useful C++ Library
Boost is a very useful C++ library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications.
Many organization already use programs implemented with Boost, like Adobe Acrobat Reader 7.0.
Sphinx: Open Source SQL Full Text Search Engine
Sphinx is a full-text search engine. It is a standalone search engine, meant to provide fast, size-efficient and relevant full-text search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages.
Currently built-in data source drivers support fetching data either via direct connection to MySQL, or PostgreSQL, or from […]
Event Notification Library
libevent is an event notification library. It provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts.
libevent is meant to replace the event loop found in event driven network […]
Develop Peer to Peer Application with libjingle
libjingle is a collection of open-source C++ code and sample applications that enables you to build a peer-to-peer application. The code handles creating a network connection (through NAT and firewall devices, relay servers, and proxies), negotiating session details (codecs, formats, etc.), and exchanging data. It also provides helper tasks such as parsing XML, and handling […]
Vorbis: Open Source Audio Encoding and Streaming Library
Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. This places Vorbis in the same competitive class as audio representations such as MPEG-4 (AAC), and similar to, but higher performance than […]
iLBC: Open Source Speech Codec Library
iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. The codec is designed for narrow band speech and results in a payload bit rate of 13.33 kbit/s with an encoding frame length of 30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC […]
Speex: A Free Codec for Free Speech
Speex is an open source/free software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs.
[…]
Indy: Open Source Socket Library
Indy Sockets is an open source library which supports clients and servers of TCP, UDP and RAW sockets as well as over 100 higher level protocols. Some of the supported protocols include: SMTP, POP3, NNTP, HTTP and many more. Indy.Sockets FCL build is a managed assembly and is compatible with the Microsoft .NET framework, and […]
FFmpeg: Open Source Audio and Video Library
FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows.
The project is made of several components:
ffmpeg is a command line tool to convert one video file format to […]
Statistical Computing with R Project
R is a system for statistical computation and graphics. It consists of a language plus a run-time environment with graphics, a debugger, access to certain system functions, and the ability to run programs stored in script files.
As quoted, the core of R is an interpreted computer language which allows branching and looping as well […]
Unix: A C++ Configuration Reader
Download Code
This a C++ configuration reader I wrote long time back to read a properties file. Some one asked me for some code recently. So I posted the source code here.
You can see the functions from the header file.
class ConfigReader :
public std::map<std::string, std::string> {
public:
// Constructor
ConfigReader(const std::string& initFileName);
// Destructor
~ConfigReader();
// static methods
static ConfigReader* getInstance
[…]
ACE - An OO Network Programming Toolkit in C++
It has been awhile since I last did my project in C++. In my previous C++ project, I need to build a service level guarantee system which involves close to real time system and network monitoring. The platform is Unix based and we are using Corba for communications between different processes. There is a very […]
How to Write a Print Driver for Mobile Thermal Printer
Download Source Code
Recently I implemented a project which uses mobile thermal printer. What I perceived is that nowadays a lot of mobile applications are implemented using Windows Mobile to help run business operations like route sales, and even for gambling purposes.
For all the mobile printer that I came across, e.g. from Extech, Datecs or Sprint., […]
