Explore >> Select a destination


You are here

artificial-mind.net
| | qsantos.fr
14.2 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 ?
| | entangledlogs.com
14.4 parsecs away

Travel
| | Generic Programming: Generating part of programs Introduction Generic Programming: Programming with generic parameters to avoid unnecessary code duplication and encourage code reuse. Polymorphism is also another technique to solve code reuse Puts implicit constraints on the generic types that are to be fulfilled by concrete types. template T adder(T LHS, T RHS) { return LHS + RHS; } struct Foo { inv Val = 0; } Foo f = adder(Foo{}, Foo{}): In this code snippet, we assume that Foo meets the requirement tha...
| | arne-mertz.de
12.7 parsecs away

Travel
| | In this post I will write a bit about each operator and how a straight forward implementation might look if the operator is meant to work similar to built in operators.
| | abdulapopoola.com
79.4 parsecs away

Travel
| The post discusses my experience with learning and using Ruby, highlighting its good, bad, and weird parts.