Please Support My Writing
If you want to see more of this kind of content, please support me by buying my books (click here: Amazon). If you write a review of one of my books, please let me know, and I'll link to it. Thanks!- Follow Jim's Jumbler on WordPress.com
-
Recent Posts
Pages
- About Jim’s Jumbler
- Ayn Rand’s Anthem in Modern English
- Dracula in Modern English
- Frankenstein in Modern English
- Movie and Series Reviews (Alphabetically)
- Paradise Lost in Modern English
- The Dunwich Horror in Modern English
- The Gnostic Genesis: Hypostasis of the Archons
- The Mabinogion in Modern English
- The Rhyme of the Ancient Mariner
- The Shunned House in Modern English
Archives
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- August 2014
- April 2014
- March 2014
- December 2013
- July 2013
- June 2013
- January 2013
- November 2012
- October 2012
- May 2011
- March 2011
- October 2010
Categories
Recent Comments
Meta
Tag Archives: C
CLZ – The Integer Log Base 2 Instruction
In just a few CPU instructions, the truncated base 2 logarithm of any integer can be computed for any integer from -2^63 … 2^63 – 1. This has interesting applications in being able to rapidly access logarithmically increasing arrays. The … Continue reading
Posted in programming
Tagged builtin, C, clz, clzll, gcc, integer, logarithm, programming
Leave a comment
Baker Proof of Concept on GitHub
The first proof of concept of my latest hack project is available on GitHub: https://github.com/jimbelton/baker This program (written in python) is able to automatically build a simple C library and its test program. The tool requires little to no configuration … Continue reading
Posted in programming
Tagged automation, baker, build, C, c libraries, c programs, github, programming, python, tool
Leave a comment
Hash Table Shootout on GitHub
NOTE: Since I wrote this article, I fixed some bugs in the benchmarks and regenerated the graphs. The updated article is here: Hash Table Shootout Updated I forked Nick Welch’s hash table shootout benchmark, got it all working, and updated … Continue reading
Datatypes Used in libsxe: 64 Bit Programming
libsxe uses standard C data types, but it is very careful to use them intentionally. We normally use the following types: Type | Defined | Description —————+————-+———————————— bool | <stdbool.h> | Boolean values (true and false) char | C standard … Continue reading
High Speed Fine Grained Diagnostic Logging
The sxe-log package of the libsxe library (see libsxe.org) has always had macro based logging with a decent feature set: Trace and dump level messages compiled out in non-debug builds In-line level checking for absolutely minimal performance impact when level … Continue reading
Posted in libsxe, programming
Tagged atomic, C, libsxe, logging, performance, programming
Leave a comment
Why is libsxe Written in C and not C++?
As one of the core developers of the libsxe open source library, I thought I’d write a blog post explaining our choice of C for the library. We eliminated interpreted languages, including java, based on the requirement to be able … Continue reading
Posted in libsxe, programming
Tagged C, libsxe, memory allocation, programming, RAII
Leave a comment