https://github.com/younghakim7/rust_struct_d_and_d_game
https://github.com/younghakim7/rust_struct_d_and_d_game
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/younghakim7/rust_struct_d_and_d_game
- Owner: YoungHaKim7
- Created: 2024-05-29T13:04:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-30T05:47:41.000Z (about 1 year ago)
- Last Synced: 2025-01-16T21:11:26.256Z (5 months ago)
- Language: Rust
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust_struct_d_and_d_game
# 유료 강의 소개240529
- 240529러스트1기_day6_struct_impl_Ubuntu24.04
- https://youtube.com/live/pU7V6r26SBg?feature=share- Rust디스코드 강의 책 - https://economiceco.tistory.com/m/19359
# 러스트 컴파일 빠르게 세팅 & nightly 사용
- Faster compilation with the parallel front-end in nightly
- https://blog.rust-lang.org/2023/11/09/parallel-rustc.html# cargo miri
- https://github.com/rust-lang/miri- https://rust-unofficial.github.io/too-many-lists/fifth-miri.html
```bash
cargo miri test
``````bash
MIRIFLAGS=-Zmiri-disable-isolation cargo miri run
``````bash
MIRIFLAGS=-Zmiri-backtrace=full cargo miri run
```- valgrind test(memory leak 테스트)
```bash
valgrind --leak-check=full --show-leak-kinds=all ./a02_d_and_d_console
```
# Rust기초가 약해서 무너진Case ㅠㅠ 마지막 고비 동시성에서 무너지네요ㅠㅠ 동시성 마지막만 넘으면 러스타시안이 되는건데 아쉽 아쉽..ㅠㅠ
# **[GN⁺: Rust로 게임 개발을 한 3년 후에 떠나며]()**
- Rust에 익숙해지면 모든 문제가 사라질 것이라는 주장에 대해
- Rust에 익숙해져도 근본적인 문제는 사라지지 않음
- 게임은 복잡한 상태 머신이고 요구사항이 계속 바뀌기 때문에 Rust의 정적이고 과도하게 검사하는 특성과 맞지 않음
- 코드를 계속 리팩토링해야 하는 문제는 self-inflicted임
- ...# Rc 관련
- https://stackoverflow.com/questions/77372176/rust-closure-refcell-rc-count
- https://stackoverflow.com/questions/68155266/edit-refcell-in-closure- Rc 타입과 Weak 타입 - Rust 프로그래밍
- https://taegit.tistory.com/17# Arc관련
- Rust: Using Mutex and Arc to mutate
- https://stackoverflow.com/questions/75238451/rust-using-mutex-and-arc-to-mutate