Krister Walfridsson’s old blog

Random thoughts on programming languages, compilers, operating systems, etc.

Sunday, May 29, 2016

20 years of NetBSD code bloat

›
I started with NetBSD in the mid-nineties, on a Sun SPARC ELC with 32Mbyte of memory, where I used GCC and Emacs on X11 with FVWM as the wi...
3 comments:
Thursday, May 19, 2016

Type-based alias analysis in C

›
There was some concern that type-based alias analysis could cause problems when it was implemented in GCC, but the conclusion (as expressed...
9 comments:
Monday, April 25, 2016

Dangling pointers and undefined behavior

›
My previous blog post " C pointers are not hardware pointers " says that dangling pointers may invoke undefined behavior even if ...
Sunday, April 10, 2016

Why volatile is hard to specify and implement

›
Volatile in C The main use case for volatile in C is memory mapped hardware where reads and writes may change the hardware state (even r...
4 comments:
Sunday, March 20, 2016

Pointer casts in C

›
The C standard has more restrictions on pointers than what was discussed in the previous blog post . This post covers pointer casts. Po...
3 comments:
Sunday, March 6, 2016

C pointers are not hardware pointers

›
Pointers in the C language are more abstract than pointers in the hardware, and the compiler may surprise developers that think that pointe...
24 comments:
Sunday, February 21, 2016

How undefined signed overflow enables optimizations in GCC

›
Signed integers are not allowed to overflow in C and C++, and this helps compilers generate better code. I was interested in how GCC is tak...
17 comments:
Sunday, January 24, 2016

More Turing-completeness in surprising places

›
My twitter feed was full of “ printf is Turing-complete” tweets after the 32c3 talk " New memory corruption attacks: why can't we...
‹
›
Home
View web version
Powered by Blogger.