はてブログ

はてなブックマーク新着エントリーの過去ログサイトです。



タグ Nick Desaulniers

新着順 人気順 5 users 10 users 50 users 100 users 500 users 1000 users
 
(1 - 2 / 2件)
 

f() vs f(void) in C vs C++ - Nick Desaulniers

2019/05/13 このエントリーをはてなブックマークに追加 20 users Instapaper Pocket Tweet Facebook Share Evernote Clip void C++ x86_64

TL;DR Prefer f(void) in C to potentially save a 2B instruction per function call when targeting x86_64 as a micro-optimization. -Wstrict-prototypes can help. Doesn’t matter for C++. The Problem While messing around with some C code in godbolt Compiler Explorer, I kept noticing a particular funny ... 続きを読む

Additional C/C++ Tooling - Nick Desaulniers

2015/07/25 このエントリーをはてなブックマークに追加 48 users Instapaper Pocket Tweet Facebook Share Evernote Clip

21st Century C by Ben Klemens was a great read. It had a section with an intro to autotools, git, and gdb. There are a few other useful tools that came to mind that I’ve used when working with C and C... 続きを読む

 
(1 - 2 / 2件)