코딩Coding/한글Rust강의★내가★공부하려고만듬
-
Rust❤️ 벡터에 Vector내가 원하는 숫자 원하는 크기만큼 랜덤 숫자 담기 ^^;코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 13. 21:59
그냥 맘대로 숫자나오게 균등따위는 없음 예문 use rand::Rng; fn main() { let mut rng = rand::thread_rng(); let vals: Vec = (0..1000).map(|_| rng.gen_range(0..500)).collect(); println!("{vals:?}"); } 균등한 숫자를 담는 방법 (0..10)이건 벡터에 10개의 숫자를 담겠다는 코드 위에 (0..1000) 숫자 범위는 0~1,000을 의미함. use rand::distributions::Uniform; use rand::Rng; fn main() { let mut rng = rand::thread_rng(); let range = Uniform::new(0, 1000); let vals: V..
-
동영상만들예정❤️Rust❤️wgpu__3D게임 Tutorial연습용 코드로 딱 좋다!_rayon상급자 버젼 ㅎㅎㅎ코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 12. 23:33
https://github.com/sotrh/learn-wgpu GitHub - sotrh/learn-wgpu: Guide for using gfx-rs's wgpu library. Guide for using gfx-rs's wgpu library. Contribute to sotrh/learn-wgpu development by creating an account on GitHub. github.com https://www.reddit.com/r/rust/comments/j16a0w/threading_wgpu_resource_loading_with_rayon/ Threading WGPU Resource Loading with Rayon Posted in r/rust by u/sotrh • 116 po..
-
Rust vs Cpp ❤️threads 한글 강의코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 11. 19:18
https://doc.rust-lang.org/book/ch16-01-threads.html Using Threads to Run Code Simultaneously - The Rust Programming Language In most current operating systems, an executed program’s code is run in a process, and the operating system manages multiple processes at once. Within your program, you can also have independent parts that run simultaneously. The features that run these doc.rust-lang.org R..
-
Rust Futures❤️에 대해 공부하기_Concurrency기초코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 11. 17:54
https://cfsamson.github.io/books-futures-explained/0_background_information.html Background information - Futures Explained in 200 Lines of Rust Before we go into the details about Futures in Rust, let's take a quick look at the alternatives for handling concurrent programming in general and some pros and cons for each of them. While we do that we'll also explain some aspects when it comes to co..
-
Rust❤️Bevy_Game기초 동영상 만들 예정❤️코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 11. 00:57
https://github.com/CleanCut/rusty_engine GitHub - CleanCut/rusty_engine: 2D game engine for learning Rust 2D game engine for learning Rust. Contribute to CleanCut/rusty_engine development by creating an account on GitHub. github.com https://docs.rs/rusty_engine/latest/rusty_engine/#quick-start-example rusty_engine - Rust Rusty Engine is a simple, 2D game engine for those who are learning Rust. C..
-
rust❤️) 기차 모양 프린트 & multithread연습 + C++과 비교해서 연습코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 10. 09:44
C++ con http://www.digipine.com/index.php?mid=clan&document_srl=584 C/C++ Language - [Linux] Pthread 사용법, Thread 동기화 총정리 Pthread API Reference 1.1. pthread_create int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg); 쓰레드 생성을 위해서 사용한다. 첫번째 아규먼트인 thread 는 쓰레드가 성공적 www.digipine.com 러스트 Concurrency 시작 참조 Rust_concurrency❤️최적화 - Rayon을 써야 할 때와 t..
-
Rust❤️byExample한글 버젼 full tutorial❤️로 동영상 만들 예정코딩Coding/한글Rust강의★내가★공부하려고만듬 2022. 6. 8. 15:27
첫번 째 링크는 영어버젼으로 ❤️ 영어 버전이 예제도 더 많고 내용이 다 좋음 https://doc.rust-lang.org/rust-by-example/index.html Introduction - Rust By Example Rust is a modern systems programming language focusing on safety, speed, and concurrency. It accomplishes these goals by being memory safe without using garbage collection. Rust by Example (RBE) is a collection of runnable examples that illustrate various doc.rust-lang...