Conf42 Rustlang 2023

2023

List of videos

Premiere - Conf42 Rustlang 2023

Schedule, Lineup & RSVP ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Upcoming CFPs ➤ https://www.papercall.io/events?cfps-scope=&keywords=conf42 0:00 Intro ➤ Partners getting started 0:36 Jim Lynch 1:26 Yashwanth Singh M 2:07 Ovidiu Ionescu tools 2:42 Peter Kehl 3:06 Lei Xu 3:45 John Rexes Murro deep dive 4:20 Felipe Zapata 4:45 Michael Birch 5:21 John Darrington 6:30 Roman Boiko 7:34 David Oyinbo lessons learned 8:06 Joe Skeen 8:35 Atmaram Naik 9:02 Prabhat 9:38 thank you, join Discord ➤ https://discord.gg/DnyHgrC7jC

Watch
Learn Rust By Building CLI Tools | Jim Lynch | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Jim_Lynch_building_cli_tools Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Rust CLI Exercises ➤ https://github.com/jimlynchcodes/rust-cli-exercises Rustup ➤ https://rustup.rs/ Chapters 0:00 intro 0:18 preamble 0:28 about me 1:29 why people come to rust 2:13 why people fall in love with rust 2:58 why cli tools? 4:00 but how do you know that it works? 5:11 books are nice too 5:27 the github repo 5:37 example solutions 5:53 get setup with rustup 6:19 let's explore the exercises

Watch
SBB - Secure Building Blocks | Yashwanth Singh M | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Yashwanth_Singh_M_sbb_secure_building_blocks Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 1:49 why rust for emdedded systems development 2:40 so, what's it about? 4:58 ok, but why rust? 6:52 safe (memory mgmt) plus powerful (type system) 8:39 rust (greatly) helps functional safety 11:15 iot security building blocks (sbb) 15:41 digital signatures 19:22 rustboot - introduction 20:52 - goals 23:38 - features 26:42 - architecture 28:08 pre-handover stage 29:24 post-handover stage 30:11 mcu header 35:32 thank you

Watch
Rust for Java Programmers - a Personal Perspective | Ovidiu Ionescu | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Ovidiu_Ionescu_java_programmers_personal_perspective Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 future predictions (from the past) 0:48 prophet 1:08 electronic computers 1:42 back to the future: nanotubes 2:03 programming types 2:26 java promise 3:12 rust promise 4:00 hype 5:43 affine types 6:53 ownership 8:50 functions 10:01 files 12:19 borrowing 13:21 read only reference 13:57 write reference 16:32 enterprise java 18:41 spring 20:17 rust backend frameworks 22:14 human factor 23:37 johan rust

Watch
Deta.Space and Shuttle.rs | Peter Kehl | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Peter_Kehl_detaspace_shuttlers Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Deta.space ➤ https://deta.space/ Shuttle.rs ➤ https://www.shuttle.rs/ Chapters 0:00 Intro 0:18 preamble 0:58 disclaimers 1:36 overview deta.space: 3:20 - spacefile with defaults (glibc) 4:16 - spacefile with musl target 4:28 - cargo.toml 4:49 - getting the port number shuttle.rs: 5:10 - cargo.toml for axum 5:52 - custom crates for axum 7:31 - cargo.toml for actix-web, 7:41 - custom crates for actix-web 7:57 shared features 8:50 deta.space features 13:12 shuttle.rs features 17:23 quantitative & other differences 19:13 choosing between them 22:44 summary

Watch
LanceDB: A OSS serverless Vector Database in Rust | Lei Xu | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Lei_Xu_lancedb_oss_serverless_vector_db Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC LanceDB ➤ https://github.com/lancedb/lancedb Feedback ➤ contact@lancedb.com Chapters 0:00 Intro 0:18 about lancedb 1:45 a bit of history of lancedb 3:00 we love rust! 4:26 what is vector database 5:21 applicaiton: text-to-image recommendation 6:27 challenges 7:37 build vector index in rust: ivf_pq 8:23 yet another kmean in rust! 11:25 i/o is tricky too! no linear indexing = scan! 12:09 ivf pq index on-disk layout 13:33 sql and full text search 14:44 but, how can i use it 14:56 did we mention that lancedb is in-process db? 15:39 lancedb is in-process db 16:36 lancedb cloud 17:14 thank you

Watch
Rust Code Prototyping using XML | John Rexes Murro | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_John_Rexes_Murro_code_prototyping_xml Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Contact John ➤ jrmurro@gmail.com Chapters 0:00 intro 0:18 preamble 0:45 protocol buffers 2:08 about rustxmlproto 2:41 xml format 3:00 rust module 3:17 main xml elements 4:47 prototype attributes 6:05 includes child elements & attributes 7:38 members and functions 8:54 parameters 9:35 xml elements for macros demos 10:38 testproto.xml 13:26 main.rs 18:38 thanks

Watch
Using Rust for Numerical Applications | Felipe Zapata | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Felipe_Zapata_numerical_applications Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 0:38 who am i? 1:13 need for speed 1:47 why rust for numerical applications? 2:51 the general algorithm 3:34 numerical applications recipe 4:11 baby steps 5:23 mvp 5:54 identify the bottleneck 6:34 (rust-) flamegraph 7:52 benchmark - use criterion 9:44 optimizations 11:15 benchmarking 13:05 test 13:50 proptest 15:41 a floating point errors footnote 17:05 third-party libraries 19:21 some pearls for numerical applications 21:03 rust, python and maturin 22:23 thank you

Watch
Turning smart contracts into indexers with cross-compilation | Michael Birch | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Michael_Birch_smart_contracts_indexers_crosscompilation Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Blogpost ➤ https://www.typedriven.ca/turning-smart-contracts-into-indexers-with-cross-compilation-in-rust/ Aurora Engine ➤ https://github.com/aurora-is-near/aurora-engine Type-Driven Consulting ➤ https://www.typedriven.ca/news/ Chapters 0:00 intro 0:18 preamble 0:38 goals 1:10 outline blockchain basics: 1:38 - jargon quick start 3:23 - smart contracts 4:44 - back to basics 6:07 - indexers 8:13 idea: turning smart contracts into indexers key rust concepts: 8:56 - compilation targets 12:00 - type generics 14:31 aside: patterns from functional programming (fp) 18:11 case example: aurora engine 31:55 conclusion 33:24 thank you

Watch
Nuclear Rust | John Darrington | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_John_Darrington_nuclear_rust Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 1:19 about john 2:04 daiichi accident (2011) 3:03 no industry is immune to accidents 3:44 nuclear software industry state 6:16 why we feel need to introduce a new language 9:01 digital twin forms and levels 10:17 why safety matters 11:51 rust (slide from 2022) 14:47 deeplynx 17:16 serval / deeplynx loader 18:57 agn-201 nuclear reactor 19:51 agn-201 digital twin basic flow 22:17 our bet paid off 23:57 lessons learned 25:22 thank you

Watch
Why should you use Rust for Serverless workloads? | Roman Boiko | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Roman_Boiko_serverless_workloads Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 1:17 what will we cover 2:10 aws lambda overview 5:30 packaging code 6:44 lambda funtion memory and cpu allocation 8:27 the pricing view 10:58 motivating rust - performance 13:18 node js / go / rust 17:34 motivating rust - sustainability 19:09 writing lambda functions with rust 19:26 how to bootstrap a new project - cargo lambda 21:20 sample lamda function 24:41 handler method 27:05 main method 29:35 lambda extensions - use cases 30:42 external extensions 32:28 performance considerations 32:56 lambda extensions example 36:15 summary 37:24 thank you!

Watch
Building Safe and Fast Software for the Future | David Oyinbo | Conf42 Rustlang 2023

Read the abstract ➤https://www.conf42.com/Rustlang_2023_David_Oyinbo_building_safe_fast_software_future Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 0:29 overview 1:08 memory management mastery: 1:33 - memory leaks 3:28 - garbage collector 5:23 in comes rust 5:50 how does rust handle memory management? 6:16 ownership and borrowing 17:50 multi-threading 20:37 performance amplified: rust's optimization techniques: 21:07 - zero cost abstaction 23:13 - inline functions 24:58 - constant propagation 26:03 - const & static 27:37 conquering real-world challenges: applications in rust 28:51 thank you

Watch
Fall in LOVE with Unit Testing! | Joe Skeen | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Joe_Skeen_love_unit_testing Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Contact Joe ➤ joe@worldclassengineers.dev Chapters 0:00 intro 0:18 preamble 1:17 unit testing provides benefits 2:51 unit testing friction 4:46 my journey 5:24 what is a unit test? 6:35 key 1: break it down! 8:08 privacy knob mockup 12:18 key 2: care about test code quality 13:42 other use cases 14:03 exceptional use cases 14:52 key 3: focus on what matters 15:25 key 4: use aaa 16:55 enough talk, let's see the code! 24:15 don't get carried away 25:54 encouragement 26:32 go forth and unit test

Watch
A journey of Journey Programming Language written by Tester | Atmaram Naik | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Atmaram_Naik_journey_programming_tester Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 0:52 about speaker 1:26 agenda 2:33 the idea 3:33 quick demo 7:45 how it started 7:56 initial pilot with java 9:08 overall feedback 9:47 need for different language 10:04 base language needs 11:51 evaluated languages 13:14 lovely rust 13:58 project plan 16:10 design and architecture 17:21 features 19:11 experiences with rust 20:25 librairies used 21:15 extended demo 28:03 conclusions 28:53 thanks

Watch
Handling floating point challenges with rust | Prabhat | Conf42 Rustlang 2023

Read the abstract ➤ https://www.conf42.com/Rustlang_2023_Prabhat_handling_floating_point_challenges Other sessions at this event ➤ https://www.conf42.com/rustlang2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC Chapters 0:00 intro 0:18 preamble 0:52 about me 2:07 content 3:01 introduction 7:54 precision 10:17 how floating point numerical works 11:25 intro to floating point numbers 13:05 limited precision 16:19 rounding errors 20:13 loss of significance 24:12 associativity and order of operations 27:10 comparisons and equality testing 30:40 nan and infinity handling 32:14 compiler optimizations 35:31 accumulative errors 37:07 strategies for overcoming limitations (part 1) 38:32 ...(part2)

Watch