Mad Man with a Compiler

Tuesday, November 2, 2021

Don't Use Modular Arithmetic With Negative Numbers

›
Most programmers are familiar with the "modulus" operator, which is the percent symbol in the language C and many other programmin...
Tuesday, July 30, 2019

Merge Conflicts for Non-Coders

›
I was discussing my day at work with my family, and I had spent much of the day resolving conflicts after doing a merge of two divergent bra...
3 comments:
Monday, February 25, 2019

Linux With a 4K Laptop Display

›
I have a new laptop with a 4K display.  This is double the resolution in each direction of a typical laptop, but with the same physical dime...
1 comment:
Tuesday, August 15, 2017

A Subtle Difference between C and C++: String Literals

›
For the most part, C++ is a superset of C.  You can write C code, rename the file with a .cpp extension, and the compiler will compile it in...
Friday, August 11, 2017

Installing Gentoo Linux on a Dell Precision 5510

›
From time to time I realize just how slow and outdated my computer is.  Usually that's long after the corporate policy says I can order ...
Monday, June 19, 2017

Go To Statement Considered Helpful (part 5: Fun with Switches)

›
For my final segment on the use of gotos, let us not forget one important hidden goto. The switch statement is essentially a goto with a var...

Go To Statement Considered Helpful (part 4: Tail Recursion)

›
One other place where goto can be useful is in implementing tail recursion. As you should recall, tail recursion is when a function returns ...
‹
›
Home
View web version

About Me

My photo
Preston Crow
I've been a professional software engineer for over 25 years, much of that time working at EMC in the Symmetrix microcode development team (now a part of Dell). I now work at WekaIO in the filesystem team. I have a Masters degree in Computer Science from Dartmouth College, where I almost completed a Ph.D.
View my complete profile
Powered by Blogger.