Skip to content
Rust Search
← Browse conferences

Creativity loves constraint (solvers)

RustNL
RustWeek 33:37 326 views

Creativity loves constraint (solvers) by Adam Chalmers. Learn the maths behind constraint solvers, how to implement it efficiently with Rust linear algebra crates, and how we've built our new open-source, WebAssembly-compatible constraint solver. The talk will introduce the idea of constraint solvers and why they're useful, walk the audience through the math behind them, then look at specifically how we implement that math in Rust efficiently. I'll show off how to use Faer, the linear algebra l

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Adam Chalmers

Code to contract to code: making ironclad APIs

EuroRust
31:33 1925 views

If you’re providing customers with an API, then you’ve got to make sure that API is well-documented, and that the documentation is actually accurate! If you really want to make your API easier to use, you should provide users with API clients (or SDKs) in various languages. Again, those API clients should be well-documented, and those docs should actually be accurate! Too many times, engineers spend precious hours and energy fixing inaccuracies in their API clients or documentation. As the server changes, old clients and docs get out of sync with the server in production. But why manually update your software when you could automate it? Instead, generate API docs directly from your API server code. And if those docs are machine-readable, then you could even generate API clients from them! I used to do all this the manual, toilsome way. As a recent convert to the power of generated schemas and clients, let me show you how to set up a system like this, to reduce your toil and free up valuable work hours.