코딩Coding/★★Rust★★최신동향★및관련글
-
rust1.61에선 해결됨 ❤️I found a very fun Rust bug코딩Coding/★★Rust★★최신동향★및관련글 2022. 6. 29. 22:58
I found a very fun Rust bug While investigating an ICE, I found this little bug caused by the same issue. ``` fn hi() -> impl Sized { std::ptr::null::() } fn main() { let b: Box Box> = Box::new(hi); let boxed = b(); let null = *boxed; // SIGSEGV println!("{null:?}"); } ``` It can come in very handy if you ever need a transmute in forbid(unsafe_code) (do not do this).
-
Obscure Rust: reborrowing is a half-baked feature | Reddit코딩Coding/★★Rust★★최신동향★및관련글 2022. 6. 27. 15:42
Obscure Rust: reborrowing is a half-baked feature fn reborrow(r: &'a mut &'b mut T) -> &'a mut T { r } fn mutate(i: &mut u32) -> &mut u32 { *i += 1; i } fn mutate_twice(mut i: &mut u32) -> &mut u32 { mutate(reborrow(&mut i)); mutate(i) } https://www.reddit.com/r/rust/comments/vl1gah/obscure_rust_reborrowing_is_a_halfbaked_feature/?utm_source=share&utm_medium=ios_app&utm_name=iossmf Obscure Rust:..
-
Nine Rules for Elegant Rust Library APIs코딩Coding/★★Rust★★최신동향★및관련글 2022. 6. 26. 19:58
https://users.rust-lang.org/t/nine-rules-for-elegant-rust-library-apis/77208 Nine Rules for Elegant Rust Library APIs Nine Rules for Elegant Rust Library APIs Two months ago, I decided to see if a Rust version of our bioinformatics library could be as nice for users as the Python version. The answer is “yes” but wasn’t easy. This free article lays out what I learned users.rust-lang.org
-
Rust 2024년 Roadmap__Inside Rust Blog❤️Rust Library Team Aspirations코딩Coding/★★Rust★★최신동향★및관련글 2022. 4. 24. 16:14
https://blog.rust-lang.org/inside-rust/2022/04/04/lang-roadmap-2024.html Rust Lang Roadmap for 2024 | Inside Rust Blog Want to follow along with Rust development? Curious how you might get involved? Take a look! blog.rust-lang.org https://blog.rust-lang.org/inside-rust/2022/04/20/libs-aspirations.html Rust Library Team Aspirations | Inside Rust Blog Want to follow along with Rust development? Cu..
-
220420design Meeting: Felienne Hermans, Psychology of Programming코딩Coding/★★Rust★★최신동향★및관련글 2022. 4. 21. 16:22
https://youtu.be/nrkVIq0ccII How do Scratch Programmers Name Variables and Procedures? https://www.researchgate.net/publication/320831907_How_do_Scratch_Programmers_Name_Variables_and_Procedures (PDF) How do Scratch Programmers Name Variables and Procedures? PDF | On Sep 1, 2017, Alaaeddin Swidan and others published How do Scratch Programmers Name Variables and Procedures? | Find, read and cite..