Category Archives: Rust

Rust 요약(기초)

Rust 요약(기초)

설치하기

curl https://sh.rustup.rs -sSf | sh

Hello, World!

프로젝트 생성

cargo new hello 
더보기

Rust Cargo 사용법

Rust Cargo 사용법

Cargo 는 패키지 빌드 시스템이고 또한 프로젝트 관리툴이기도 합니다.

프로젝트 생성

--bin더보기

Rust 소유권(Ownership)

Rust 소유권(Ownership)

Rust 는 소유권(Ownership) 이라는 독특한 개념으로 메모리관리를 합니다.

규칙

  1. 러스트의 모든 값들은 주인(Owner)라

더보기