rcrowley + c   79

Sparks in C — Gist
(Bookmarked on Thanksgiving.)

I am thankful for open-source.
c  spark  sparkline  graph  obfuscated 
november 2011 by rcrowley
libabc
An example kernel module from the systemd guy.
linux  c  kernel 
november 2011 by rcrowley
ACM Classic: Reflections on Trusting Trust
Ken Thompson on quines, self-hosting, and script kiddies.
unix  c  quine  acm 
october 2011 by rcrowley
Intel® Cilk™ Plus Language Extension Specification
Intel's C/C++ extensions that allow compilers to introduce parallelism in an automatic and safe way. These are syntax, not libraries. The hyperobjects remind me of something between software transactional memory and Dynamo-style conflict resolution.
intel  c  c++  cilk  parallelism  compiler 
august 2011 by rcrowley
Intel® Parallel Building Blocks - Intel® Software Network
A superset of the TBB, these tools (even without using ICC, apparently) help exploit data-level parallelism.
intel  pbb  tbb  c  c++  parallelism 
august 2011 by rcrowley
libeio
I/O library from the libev folks. Actively maintained, it appears.
libeio  libev  c  io  async 
july 2011 by rcrowley
CERT C Secure Coding Standard - Secure Coding - CERT Secure Coding Standards
Nolan's right, there's a lot of good stuff in here. There are also a ton of reasons to avoid C altogether in here.
c  cert  security 
february 2011 by rcrowley
Jansson Documentation — Jansson v1.2.1 documentation
C JSON library documentation. They're at 1.3 right now but I am pinned (for now) to 1.2 because I haven't taken the time to regression test 1.3.
jansson  json  c 
december 2010 by rcrowley
libgit2: a linkable library for Git
Git-as-a-library, sponsored by GitHub.
git  libgit2  c 
november 2010 by rcrowley
Linking to Older Versioned Symbols (glibc) « trevorpounds.com
glibc black magic for selectively using older symbols. This is a poor approximation to my goal of building for older glibc on newer glibc.
glibc  c  assembly  linux  gnu  gcc 
september 2010 by rcrowley
Lessons I should have learned, Episode 3: Hot swapping binaries « NathanWiegand.com
Zero-downtime upgrades of binaries. I suppose that should be qualified with something about the length of the network buffer in case the new binary takes any non-negligible amount of time to get back to accepting connections.
c  upgrade  hotswap 
june 2010 by rcrowley
Jansson – C library for encoding, decoding and manipulating JSON data
This is the C JSON library I've adopted. It's quite a nice API, complete with reference-counted objects.
c  json 
april 2010 by rcrowley
libjsox - Project Hosting on Google Code
C JSON parser/generator with callbacks kind of like a SAX XML parser. Build and used by Cloudkick.
json  c 
april 2010 by rcrowley
Performance Retrospective in PEP 3146 -- Merging Unladen Swallow into CPython
A professor once gave me props for tasteful use of C++ when implementing a UNIX shell. C++ is a big hammer so you have to be very careful what you hit. So long as the committers/managers of the CPython tree have taste in using the C++ hammer, I think the overall effect will be positive.
python  cpython  unladenswallow  c  c++ 
february 2010 by rcrowley
cdecl: C gibberish ↔ English
My professor always taught me to C declarations in reverse but this is easier.
c  c++ 
january 2010 by rcrowley
libdht2 - Google Code
DHT in library form? From Neils Provos so very much not a joke.
dht  libevent  event  c  dist 
april 2009 by rcrowley
Finding an IP from an interface name - Stack Overflow
Uses ioctl and the SIOCGIFADDR constant. So that's how you do it.
c  ioctl  networking  libc  socket 
march 2009 by rcrowley
Multicast Example Programs
I always forget how to join multicast.
c  socket  multicast  ip 
march 2009 by rcrowley
The LLVM Compiler Infrastructure Project
LLVM == Low Level Virtual Machine == JIT for C/C++
llvm  gcc  g++  c  c++  jit  compiler 
march 2009 by rcrowley
Adding debugging functionality into your app! : Trond Norbye's Weblog
In-process memory watchpoints and sending SIGSTOP to yourself to await gdb.
c  debug  solaris 
march 2009 by rcrowley
~jk Async MySQL Queries with C-API
This is seemingly the least hacky way to do asynchronous MySQL from C. It works beautifully!
c  mysql  async 
february 2009 by rcrowley
Statistics of Malloc - The GNU C Library
uordblks + hblkhd is almost the amount of memory your process is using. This is cute and everything but very much does not work in practice.
c  malloc 
january 2009 by rcrowley
mikeash.com: Friday Q&A 2008-12-26
Maybe one-upping my go-to function pointers design pattern.
c  objectivec  functions 
december 2008 by rcrowley
[Libevent-users] Thread-iness
The nuances of libevent being multithreaded (it's not) and being used in a multithreaded environment. This very example may have bitten me in the ass before.
libevent  c  memcache  memcached  threading 
august 2008 by rcrowley
Temporary Files - The GNU C Library
All of the wonderful ways to create temporary files.
c  c++  gnu  linux  unix  temp  tmp  filesystem 
may 2008 by rcrowley
MySQL++
Probably overkill but result sets as std::vector may be too tempting to resist.
mysql  mysql++  c  c++  api  db 
may 2008 by rcrowley
Makefile Tutorial
Remember this spot, the Makefile at the bottom will build pretty much anything.
c  c++  make  makefile 
may 2008 by rcrowley
libevent
If it's good enough for memcached, it's good enough for me.
libevent  event  loop  c  c++  memcache  memcached 
april 2008 by rcrowley
PECL :: Package :: json
This extension seems to be the simplest to grok. Maybe I'll do something useful soon?
json  php  pecl  extension  c  zend 
february 2008 by rcrowley
nsNativeAppSupportWin.cpp line 597
This is where we'll have to patch code to make "Send to Flickr..." work.
uploadr3  xulrunner  microsoft  windows  mozilla  c++  c 
december 2007 by rcrowley

related tags

acm  algorithms  apache  api  assembly  async  atomic  benchmark  bindings  boost  c  c++  cache  caching  camera  cert  cilk  cli  compiler  concurrency  consistent  cpp  cpython  datastructures  db  debug  debugging  dht  diagnostics  dist  dns  doc  docs  dylib  event  extension  ffmpeg  filesystem  fsm  functions  g++  gcc  generator  getopt  git  glibc  gnome  gnu  graph  hack  hash  hashing  hotswap  howto  http  images  intel  io  ioctl  ip  jansson  java  jit  jpeg  json  kernel  ketama  kv  lastfm  libc  libcwd  libeio  libev  libevent  libgit2  libmemcached  libopenraw  linux  llvm  log  logging  loop  mac  make  makefile  malloc  memcache  memcached  memcpy  memory  microsoft  mongodb  mozilla  multicast  mysql  mysql++  network  networking  oauth  obfuscated  objectivec  osx  parallelism  parser  pbb  pecl  perl  photos  php  posix  programming  pthread  python  quine  ragel  raw  ruby  security  sgi  socket  solaris  spark  sparkline  spread  stl  strcpy  string  strncpy  swig  syscall  tbb  tcp  temp  threading  tmp  udp  unix  unladenswallow  upgrade  uploadr3  vfs  video  vm  wait  web  windows  xulrunner  zend  zval 

Copy this bookmark:



description:


tags: