RUST 공부를 시작해봅니다.!!
RUST는 C, C++ 수준의 나름 저수준 언어가 할 수 있는 일들을 할 수 있으면서 함수형 언어로 개발이 가능하다는 특징이 있습니다. 그리고 컴파일 단계에서 일어날 수 있는 대부분의 에러를 잡아주어 안정적이고, 속도 측면에서도 C, C++에 뒤쳐지지 않는다고 알려져 있습니다.
이 RUST는 블록체인 세상에서 꽤나 뜨고 있는 것 같기도 합니다. 원래도 유명은 했었지만, 블록체인 특성상 Resource를 효율적으로 활용해야 하는 경우가 많다보니, 많은 프로젝트들에서 사용하고 있는 것 같다는 생각이 듭니다.
RUST를 배우면 COSMOS와 관련 메인넷들, POLKADOT, SOLANA 에서도 사용되어서, 비트코인, 이더리움 이후로 뜨고 있는 대부분의 메인넷에서 사용 할 수 있는 장점이 있어서 한번 배워보려고 합니다.
시작..!!!
(제 개발 환경상 MAC OS 기준으로 작성합니다.)
START!!
명령어들
- rustup : 개발 환경을 설정하는데 사용
- rustc : compiler
- cargo : package manager(Nodejs의 NPM, YARN 같은 존재)
SETUP
- 설치 완료 후 터미널을 재실행하면 RUST 명령어들을 사용 할 수 있습니다.
-- 최신 러스트 안정화 버전 설치
curl https://sh.rustup.rs -sSf | sh
UPDATE
- 러스트를 최신버전으로 업데이트합니다.
rustup update
UNINSTALL
rustup self uninstall
VERSION 확인
rustc --version
cargo --version
저도 rust 시작했습니다~ 고고싱.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
오우 그러시군요!! ㅎㅎ 즐거운 개발 하시지요! ㅎ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
오 테라에서 개발좀 ㅋㅋ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
테라도 가야죠!! ㅎㅎ 가즈앙 ㅎㅎ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
러스트 가즈아~
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@happyberrysboy transfered 50 KRWP to @krwp.burn. voting percent : 100.00%, voting power : 18.46%, steem power : 1938211.52, STU KRW : 1200.
@happyberrysboy staking status : 13840 KRWP
@happyberrysboy limit for KRWP voting service : 13.84 KRWP (rate : 0.001)
What you sent : 50 KRWP (Voting Percent over 100 %)
Refund balance : 46.981 KRWP [62421534 - 1fcdea4f2b86724a1e8e33ef2e12fc7c1a13342d]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit