recentpopularlog in

mcherm : c   12

Undefined Behavior in 2017 – Embedded in Academia
This article on tools for detecting undefined behavior in C and C++ programs has a list of all undefined behavior.
programming  C++  c 
july 2017 by mcherm
Apples and Oranges: The fallacy of programming language performance comparisons : CodePerformance
He sped up the C code in someone's benchmark by more than 800x. Moral: get someone who knows language X involved in writing a benchmark with language X.
optimization  performance  C  via:reddit 
april 2016 by mcherm
'Re: Why Git is so fast (was: Re: Eric Sink's blog - notes on git,' - MARC
A technical and low-level analysis of why certain kinds of code (in this case, the source to Git) can be made faster when written in C than when written in Java. Gives a pretty good idea of what kind of problem space C is best for.
programming  languages  languagedesign  C  java  optimization  via:HackerNews 
january 2012 by mcherm
You can’t beat a good compiler… right? »
A rare example of assembly-level optimization. In this case, he writes pure C code, but reads the assembly to tweak the code until the optimizer generates far better code.
assembly  C  programming  optimization  via:HackerNews  LouisBrandy 
july 2010 by mcherm
C language inventor spurns Google's language exam • The Register
The inventor of C works at Google. He hasn't yet had a chance to take the C proficiency test, so he isn't allowed to check in code written in C.
funny  google  C  via:HackerNews  TheRegister 
april 2010 by mcherm
Unchecked malloc s in libjack thread.c and libjack intclient.c
Article recommends NOT checking the return value of malloc(), because it doesn't do what it once did, and recovery is pretty close to impossible anyhow.
programming  C  memory  linux 
december 2009 by mcherm
The 90 Minute Scheme to C compiler
A presentation in which he shows how to build a basic scheme-to-C compiler, dealing with issues such as continuations and tail call elimination.
programming  languagedesign  scheme  C  continuations  compiler 
may 2009 by mcherm
Jazillian Translates C code to “natural” Java code
A program that claims to translate C code to idiomatic Java code.
programming  java  C 
march 2008 by mcherm
programming: First Class Functions in C
Yes, you CAN have first class functions evaluated at runtime in C. Sort of.
programming  C  funny 
december 2007 by mcherm

Copy this bookmark:

to read