|
You are here |
thephd.dev | ||
| | | | |
hellocplusplus.com
|
|
| | | | | Learn the basics of C++ move semantics and how to use this language feature. This article is useful for programmers of all skill levels. | |
| | | | |
stefansf.de
|
|
| | | | | In this article we examine the strict aliasing rules of the C programming language which are the basis for Type-Based Alias Analysis and show some quirks | |
| | | | |
erikmcclure.com
|
|
| | | | | What exactly happens when you write Foo* foo = new Foo();? A lot is packed into this one statement, so lets try to break it down. First, this example is allocating new memory on the heap, but in order to understand everything that's going on, we're going to have to explain what it means to declare a variable on the stack. If you already have a good understanding of how the stack works, and how functions do cleanup before returning, feel free to skip to the new statement. | |
| | | | |
qsantos.fr
|
|
| | | This article will quickly explain the Rust types [T; N], &[T; N], &[T], Vec, &Vec with C code, and what the str, &str, String, OsString and CString add. Arrays and Slices Rust C [T; N] (array)Example: [i32; 100]Allocated on the stack T[N]Example: int[100]Allocated on the stack &[T; N] (array reference)Example: &[i32; 100]N is tracked at ... Continue reading Rust Strings for C Programmers ? | ||