/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

quuxplusone.github.io
| | qsantos.fr
4.0 parsecs away

Travel
| | 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
| | www.foonathan.net
6.8 parsecs away

Travel
| | Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen...
| | jonlennartaasenden.wordpress.com
6.8 parsecs away

Travel
| | I was poking around the VCL system.math unit yesterday when I came across a curious function implementation. Not curious because of complexity, but rather baffling as to why they would implement it like this. While the performance gain in question is insignificant in the great scope of things, the backstory here is that the VCL...
| | nickjanetakis.com
23.5 parsecs away

Travel
| We'll go over the code powering a CLI tool using only the Python 3 standard library and cover a few programming patterns along the way.