Announcing Rust 1.64.0 ❤️| Rust Blog
https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
Announcing Rust 1.64.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
WhatRustisit 참조
https://www.whatrustisit.com/
What Rust is it?
www.whatrustisit.com
https://github.com/rust-lang/rust/blob/1.64.0/RELEASES.md
GitHub - rust-lang/rust: Empowering everyone to build reliable and efficient software.
Empowering everyone to build reliable and efficient software. - GitHub - rust-lang/rust: Empowering everyone to build reliable and efficient software.
github.com
core::ffi
c_char Equivalent to C's char type.
c_double Equivalent to C's double type.
c_float Equivalent to C's float type.
c_int Equivalent to C's signed int(int) type.
c_long Equivalent to C's signed long(long) type.
c_longlong Equivalent to C's signed long long(long long) type.
c_schar Equivalent to C's signed char type.
c_short Equivalent to C's signed short(short) type.
c_uchar Equivalent to C's unsigned char type.
c_uint Equivalent to C's unsigned int type.
c_ulong Equivalent to C's unsigned long type.
c_ulonglong Equivalent to C's unsigned long long type.
c_ushort Equivalent to C's unsigned short type.
CStr Representation of a borrowed C string.
https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html
IntoFuture in std::future - Rust
The output that the future will produce on completion.
doc.rust-lang.org
예제 참조해서 만들 예정
https://github.com/dcchut/ststracker-server
GitHub - dcchut/ststracker-server
Contribute to dcchut/ststracker-server development by creating an account on GitHub.
github.com
Because `fetch_sub` is already atomic, we do not need to synchronize with other threads unless we are going to delete the object. This same logic applies to the below `fetch_sub` to the `weak` count.
rust 1.64 내용중
'fetch_sub'는 이미 원자이므로 개체를 삭제하지 않는 한 다른 스레드와 동기화할 필요가 없습니다. 이 같은 논리는 아래의 'fetch_sub'에 'weak' 카운트에 적용된다.
변역기 돌린 한글
fn drop(&mut self) {
// Because `fetch_sub` is already atomic, we do not need to synchronize
// with other threads unless we are going to delete the object. This
// same logic applies to the below `fetch_sub` to the `weak` count.
if self.inner().strong.fetch_sub(1, Release) != 1 {
return;
}
출처 : 공식 문서 중하단쯤 나옴. find로 찾을것!!
https://doc.rust-lang.org/std/sync/struct.Arc.html
Arc in std::sync - Rust
Constructs a new Arc with uninitialized contents, with the memory being filled with 0 bytes, returning an error if allocation fails. See MaybeUninit::zeroed for examples of correct and incorrect usage of this method. #![feature(new_uninit, allocator_api)]
doc.rust-lang.org
Asynchronous Programming in Rust
https://rust-lang.github.io/async-book/01_getting_started/04_async_await_primer.html
async/.await Primer - Asynchronous Programming in Rust
async/.await is Rust's built-in tool for writing asynchronous functions that look like synchronous code. async transforms a block of code into a state machine that implements a trait called Future. Whereas calling a blocking function in a synchronous metho
rust-lang.github.io
러스트로 금융툴 만들기! 제6부 Making a finance tool with Rust! Part 6
https://www.youtube.com/watch?v=mWfshZP9MZg&t=284s
How can I determine if I have a unique Arc when it's dropped?
How can I determine if I have a unique Arc when it's dropped?
I've an Arc<Mutex<Thing>> field in a struct which is cloned many times. It is shared between concurrent threads. Drop::drop is called for each clone as it goes out of scope. Is there an...
stackoverflow.com
https://economiceco.tistory.com/7872
Rust) Ownership Concept Diagram 러스트 오너쉽 개념 그림으로 이해하기
https://www.reddit.com/r/rust/comments/mgh9n9/ownership_concept_diagram/?utm_source=share&utm_medium=ios_app&utm_name=iossmf Ownership Concept Diagram Posted in r/rust by u/D3ntrax • 916 points and..
economiceco.tistory.com
https://github.com/usagi/rust-memory-container-cs
GitHub - usagi/rust-memory-container-cs: Rust Memory Container Cheat-sheet
Rust Memory Container Cheat-sheet. Contribute to usagi/rust-memory-container-cs development by creating an account on GitHub.
github.com
Upgrade version!!
https://github.com/usagi/rust-memory-container-cs
출처: https://economiceco.tistory.com/7872
Rust) Ownership Concept Diagram 러스트 오너쉽 개념 그림으로 이해하기
https://www.reddit.com/r/rust/comments/mgh9n9/ownership_concept_diagram/?utm_source=share&utm_medium=ios_app&utm_name=iossmf Ownership Concept Diagram Posted in r/rust by u/D3ntrax • 916 points and..
economiceco.tistory.com
[경제PLUS:티스토리]
How much expensive is Arc vs Rc? Arc의 Cost는 얼마나 많은 Cost를 지불하는지 에 대한 논문
How much expensive is Arc vs Rc? Arc의 Cost는 얼마나 많은 Cost를 지불하는지 에 대한 논문
출처: https://economiceco.tistory.com/15115 [경제PLUS:티스토리]
How much expensive is Arc vs Rc? Arc의 Cost는 얼마나 많은 Cost를 지불하는지 에 대한 논문
https://users.rust-lang.org/t/how-much-expensive-is-arc-vs-rc/48756 How much expensive is Arc vs Rc? We know that because Rc does not need to be thread safe and Arc needs to be thread safe, Arc need..
economiceco.tistory.com