Conversation
Judging from the absolutely packed out rust sessions I went to at LPC and the very positive support from senior people including especially @gregkh it is super clear to me that rust is here to stay in the kernel and a big part of its future.

Have offered to help (or at least be cc'd in hopes I have time for it :) on mm binding stuff fwiw from the kernel side.

And also I really do have to sit down with rust finally... Maybe advent of code this year...
3
27
61

@ljs @gregkh i love love love using rust sometimes it can be easy for my brain to start optimizing too early but the language lets you explicitly choose which compile-time vs run time affordances you want the trait system is magnificent and lifetimes make it safe to pass around a memory address and act upon it directly which is soooo neat and especially useful for zero-copy parsing

0
0
1

@ljs Advent of Code is a great way to get started after you have seen the basics (i.e. having perused the Rust Book) - basically all of the exercises I've seen in recent years can be solved very neatly with only functionality from the Rust standard library, using no external dependencies

in particular, functional style solutions using the lazy iterators can be very concise but still compile to very efficient code

1
0
1
@decathorpe would you recommend the rust book as a first step to get the concepts down then before fiddling with solving problems?
1
0
0

@ljs yeah, "the Book" is a great introduction for all the basic concepts, and even the more unfamiliar parts of the language - at least in my experience. well, and it's free :D

1
0
1
@decathorpe free is a good price (except for my book obv when it comes out)
0
0
2