Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C-haste Library. A collection of utilities to make developing C programs fast and easy.
C Python C++ Shell
branch: mpg39
Failed to load latest commit information.
asm Significant resturcturing, initial work on an array list data structu…
build/cake updated cake
data_structs Extended arrays to have default comparisons
demos Moved demos into a demos folder
hash_functions/spooky Added skeleton for function hash map
log updated cake
options Lots of little bug fixes
parsing Removed unused function to make clang happy
perf Minor fixes, pushing out of paranioa
scripts Significant resturcturing, initial work on an array list data structu…
string Minor fixes, pushing out of paranioa
term_color Working on getting options working again
tests Extended arrays to have default comparisons
timing Logger is now running demo is quite comprehensive
types stuff
utils stuff
.cproject Added skeleton for function hash map
.gitignore Cleaned up the build, there is now a release build script and a debug…
.project Made and debugged the array data structure
LICENSE Cleaned up the build, there is now a release build script and a debug…
README Update README
build.sh Extended arrays to have default comparisons
build_release.sh Added command to touch an empy file with the git commit ID in the rel…
chaste.c Got the linked list to compile, unit testing next
chaste.h Lots of little bug fixes
from_macro.py Got the typed vector to run
make_macro.py Restructured array generics to make it more maintainable
makeinclude.py Cleaned up the build, there is now a release build script and a debug…
makeinclude.sh Cleaned up the build, there is now a release build script and a debug…

README

-------------------------------------------------------------------------------
Pure, virtuous, unadulterated programming bliss - hastily assembled C programs.
-------------------------------------------------------------------------------

The C-Haste Library (libchaste)
===============================

License:
--------
See LICENSE file included. TL;DR - BSD 3 Clause. 


Main features:
--------------

Performance monitoring - tools around rdtsc made easy

Type safe command line options parser with super simple syntax. 

Powerful logging with runtime and compile time log level tuning. 

A string library to efficiently do useful string manipulations. 

Data structures: generic, type safe array, vector and linked list (hash map and binary tree coming soon)

Currently builds on:
    - Linux (Ubtuntu 12.10/13.04)

Targeted to build on: 
    - Linux/BSD/Darwin (OS X)
    - 32bit/64bit (64bit optimized)
    - ARM / x86


Obtaining the source: 
----------------------

The C-Haste library is available at https://github.com/mgrosvenor/libchaste 

- The master branch is a "stable" "release" candidate -- the bleeding edge - guaranteed compile and pass unit tests -- API may vary wildly. 
- Release branches are stable, tagged with the release ID. Incremental fixes to a release will be tags added to the release branch. Bug fixes only. No new features. No new APIs. 


Building
---------

Libchaste builds on both gcc 4.6 and clang 3.2 against the c11 standard with pedantic warnings and errors using the Posix 2008 system API. 

It includes a swathe of unit tests and infrastructure for making them all running and passing valgrind tests. 

- run build.sh to build a debug libcahste.a binary in the bin/ directory. 
- run build_release.sh to build a release binary libcahste.tar.bz 




 
Something went wrong with that request. Please try again.