Krister Walfridsson’s old blog

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

Monday, October 17, 2016

Inlining — main is special

›
I wrote in my previous post that I assumed Jason compiled using the -O2 optimization level for the example in his CppCon 2016 talk , as i...
3 comments:
Sunday, October 16, 2016

C++ and code inlining

›
Jason Turner mentions in his CppCon 2016 talk that GCC optimizes the function int foo () { return std::string( "a" ).size...
Sunday, September 25, 2016

The cost of clearing memory

›
The technical report " The Renewed Case for the Reduced Instruction Set Computer: Avoiding ISA Bloat with Macro-Op Fusion for RISC-V ...
Monday, September 12, 2016

Mobile GPUs — power, performance, area

›
I read an  IWOCL 2016 conference paper " OpenCL-Based Mobile GPGPU Benchmarking: Methods and Challenges " that gives some good a...
2 comments:
Sunday, August 14, 2016

Surprising properties of C null pointer constants

›
A previous blog post  mentioned two properties of NULL that many developers find surprising: NULL does not need to be 0 when stored i...
Sunday, July 24, 2016

Code behaving differently in C90, C99, C11, C++98, and C++11

›
There are some subtle differences between the revisions of the C standard that makes it possible to create programs that behaves differentl...
4 comments:
Wednesday, July 20, 2016

Using MathJax in Blogger

›
I have added MathJax support to this blog so that I can typeset mathematics using a large subset of \(\LaTeX\) commands . This functionali...
19 comments:
Thursday, July 7, 2016

Checked C

›
Microsoft Research recently announced a work-in-progress project, Checked C , that adds bounds checking to pointers and arrays: Checked C...
‹
›
Home
View web version
Powered by Blogger.