Stephan Hügel - Teaching myself Rust through the medium of coordinate system transforms and FFI
Transforming coordinates from one coordinate reference system to another is slow, and usually done in bulk, so it’s a great candidate for low-level, multithreaded code, accessed via FFI from higher-level languages to facilitate easy I/O and visualisation. When Rust hit 1.0 last year, I decided to write a library to convert from latitude and longitude coordinates to British National Grid eastings and northings, in order to learn the language. The result is the lonlat_bng crate and the convertbng Python package.
This talk will focus on several areas:
Experiences from learning a systems programming language for someone coming from dynamic languages
Evolving code from single-threaded to multi-threaded, and how to use tests and benchmarks to get there
Comparing the performance of the Crossbeam and Rayon libraries for parallel execution
Using Perfect Hashing for fast access to large (300K members) HashMaps
Detecting numerical instability using Herbie, and using Clippy to catch common mist
1 view
2060
815
1 year ago 02:00:50 1
Best of 2023 Mixtape - Night Owl Radio 437
2 years ago 00:41:12 1
Carl Philipp Emanuel Bach Ascension of Jesus Himmelfahrt Jesu Wq 240
2 years ago 02:58:56 2
BEST OF 2022 - Night Owl Radio 385
2 years ago 00:05:23 1
School Of Zuversicht
3 years ago 00:36:48 1
Stephan Hügel - Teaching myself Rust through the medium of coordinate system transforms and FFI
3 years ago 00:16:35 17
HIKKA COUB #65 ⁄anime amv ⁄ gif ⁄ mycoubs ⁄ аниме ⁄ game ⁄ music ⁄