/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

andrewshitov.com
| | ostash.dev
9.5 parsecs away

Travel
| | What is a higher order function(HOF)? If a function receives as its input one or more functions or/and returns the function we can called it HOF.
| | qsantos.fr
11.9 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
| | andreasimonecosta.dev
12.6 parsecs away

Travel
| | Let's try to clarify, once and for all, the true essence of type parameters.
| | rust.godbolt.org
37.2 parsecs away

Travel
| pub fn mid(data: &[i32]) -> Option { if data.is_empty() { return None; } return Some(data[data.len()/2]); }