タグ Nick Desaulniers
人気順 10 users 50 users 100 users 500 users 1000 usersLinux kernel in-tree Rust support
LKML Archive on lore.kernel.org help / color / Atom feed* Linux kernel in-tree Rust support @ 2020-07-09 18:41 Nick Desaulniers 2020-07-09 20:52 ` Miguel Ojeda ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Nick Desaulniers @ 2020-07-09 18:41 UTC (permalink / raw) To: alex.... 続きを読む
f() vs f(void) in C vs C++ - Nick Desaulniers
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
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... 続きを読む