profile
٩( ᐛ )و 
post-thumbnail

[Rust] Utility Traits

Utility Trait is The grap bag of traits which have enough impact while writing idiomatic(관용적인) code. Utility trait can broadly categorized into three

2023년 9월 10일
·
0개의 댓글
·

[Rust] OnceLock이란?

한 번만 쓸 수 있는 synchronization primitive (기본 요소)이다. static하고 thread-safe하다.

2023년 9월 5일
·
0개의 댓글
·
post-thumbnail

[Rust] Ref, Arc, Rc, Mutex

Arc, Rc, Refcell, 그리고 Mutex에 대한 설명과 비교

2023년 8월 27일
·
0개의 댓글
·
post-thumbnail

[Rust] Rc, Arc (Shared Ownership)에 관해

여러 변수가 소유권을 공유할 수 있는 포인터이다. C++의 shared_ptr에 해당한다. 또한 python에서 garbafe collector가 리스트를 관리하는 방법이기도 하다.사진과 같이 list에는 reference count가 몇 개의 변수가 리스트를 참조하고

2023년 8월 3일
·
1개의 댓글
·
post-thumbnail

[Rust] Box<T> (Smart Pointer)

Rust Box<T>에 관해

2023년 7월 27일
·
0개의 댓글
·
post-thumbnail

Rust Trait std::convert

std::convert에 관해

2023년 7월 22일
·
1개의 댓글
·
post-thumbnail

Rust Defining Modules to Control Scope and Privacy (Cheat Sheet)

Modules Cheat Sheet Crate root: crate를 컴파일할 때 crate root file을 맨 처음 확인한다. library crate은 src/lib.rs을, binary crate은 src/main.rs을 crate root file로 인식한다

2023년 7월 10일
·
0개의 댓글
·
post-thumbnail

Rust BufWriter

Struct std::io::BufWriter

2023년 7월 7일
·
0개의 댓글
·
post-thumbnail

Rust BufReader

std::io::BufReader에 관해

2023년 7월 6일
·
0개의 댓글
·
post-thumbnail

Rust Packages and Crates

Packages fand Crates

2023년 7월 6일
·
0개의 댓글
·
post-thumbnail

Concise Control Flow with if let

한 가지와 나머지를 matching하는 pattern에서 깔끔하게 handle할 수 있는 if let syntax에 관하여

2023년 7월 4일
·
0개의 댓글
·
post-thumbnail

Rust match control flow Construct

Match Cotrol Flow Construct Rust에는 매칭되는 pattern에 따라 코드가 실행되도록 하는 좋은 control flow construct match에 관해서

2023년 7월 4일
·
0개의 댓글
·
post-thumbnail

Docker를 활용해 Rust 와 PostgreSQL를 연결하는 법

Docker를 활용해 Rust에서 PostgreSQL 연결

2023년 7월 3일
·
0개의 댓글
·
post-thumbnail

Rust Defining an Enum

Rust enum에 대해서

2023년 6월 8일
·
0개의 댓글
·
post-thumbnail

Rust Method Syntax

Method 와 function의 차이, method 문법에 관해서

2023년 6월 6일
·
0개의 댓글
·
post-thumbnail

Rust 공식 doc 예제

Rust 구조체 예제

2023년 6월 6일
·
0개의 댓글
·
post-thumbnail

Rust Defining and Instantiating Structs

Rust Defining and Instantiating Struct에 대해

2023년 6월 5일
·
0개의 댓글
·
post-thumbnail

Rust Slice Type에 대해

Rust The Slice Type 에 대해

2023년 6월 5일
·
0개의 댓글
·
post-thumbnail

Rust References and Borrowing (참조와 빌림)

Rust References and Borrowing (참조와 빌림)에 대해

2023년 6월 3일
·
0개의 댓글
·
post-thumbnail

[Rust] Ownership (소유권)에 대해

Rust에서 메모리 관리하는 방법인 소유권에 대해

2023년 6월 2일
·
0개의 댓글
·