/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

www.pramode.net
| | ciesie.com
3.5 parsecs away

Travel
| | Today I've played around with Zig, the new, hip (is it hip?) programming language. I find it pretty neat. I'm going to walk you (and myself) through my first, very short, piece of code. Below you can see the entirety of it. It basically allocates a 2MB buffer and reads a file into it... Yep, not particularly impressive, but this is a judgment free, learning zone, ok?! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 const std = @import("std"); const warn = @import("std").
| | mcyoung.xyz
2.2 parsecs away

Travel
| |
| | www.abubalay.com
3.5 parsecs away

Travel
| | [AI summary] This post discusses the complexities of creating safe Foreign Function Interface (FFI) bindings in Rust when calling C++ code, examining tools like cxx and strategies for maintaining Rust's memory and thread-safety guarantees despite the inherent unsafety in such interactions.
| | lenholgate.com
14.5 parsecs away

Travel
| [AI summary] A tutorial explaining how to implement object lifetime management and single-threaded locking in Rust using smart pointers and the RAII pattern.