Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Teaching Rust Through Coordinate System Transforms and FFI

Rust via YouTube

Overview

Explore a comprehensive conference talk on learning Rust through developing a coordinate system transformation library. Dive into the journey of creating the lonlat_bng crate and convertbng Python package, focusing on transforming latitude and longitude coordinates to British National Grid eastings and northings. Discover insights on transitioning from dynamic languages to systems programming, evolving code from single-threaded to multi-threaded implementations, and leveraging tests and benchmarks for optimization. Compare the performance of Crossbeam and Rayon libraries for parallel execution, and learn about using Perfect Hashing for efficient large-scale HashMap access. Gain knowledge on detecting numerical instability with Herbie, utilizing Clippy for error detection and style improvements, and implementing generic functions for clean, DRY-conformant code. Explore best practices for documentation and example creation, and delve into the intricacies of integrating Rust binaries with dynamic code, including system library linking and cross-platform library development.

Syllabus

Stephan Hügel - Teaching myself Rust through the medium of coordinate system transforms and FFI

Taught by

Rust

Reviews

Start your review of Teaching Rust Through Coordinate System Transforms and FFI

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.