|
You are here |
hackingcpp.com | ||
| | | | |
golangbot.com
|
|
| | | | | A pointer is a variable that stores the memory address of another variable. This tutorial covers pointer declaration, dereferencing and various other topics with examples. | |
| | | | |
eyakubovich.github.io
|
|
| | | | | The guidance around function arguments and smart pointers is quite old, yet I still see it used incorrectly. In this post, we'll explore the guidance and the costs of not following the advice. C++ Core Guidelines make this point clear: F.7: For general use, take T* or T& arguments rather... | |
| | | | |
theartofmachinery.com
|
|
| | | | | ||
| | | | |
mrcat.au
|
|
| | | I've started learning Zig, a new programming language in the same problem space as C, and it has some features I really like. While it's not memory-safe in the Rust way, it has a lot of compile time and runtime checks to prevent common footguns. It has packed structs and variable-width integers to allow for easy parsing of bitpacked binary formats. Its comptime metaprogramming capabilities are spectacular. And it even interoperates seamlessly with C! | ||