Created
July 9, 2022 17:33
-
-
Save shuhei-fujita/45e7071b77a8a9edae30b675c5053b86 to your computer and use it in GitHub Desktop.
rustc main.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
// 世界よ、こんにちは | |
println!("Hello, world!"); | |
} |
コードの画像を生成
vim-siliconもある
https://wonderwall.hatenablog.com/entry/rust-silicon
cargo install silicon
silicon hello_world.rs -o hello_world.png
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
実行速度
Linux
time
https://www.server-memo.net/tips/runtime_research.html
https://qiita.com/tossh/items/659e5934e52b38183200