编程语言练习
[] 从 xmake 切换到 cmake
xmake构建
cd cpp
编译运行
xmake build sptr && xmake run sptr
编译
xmake
运行: 不重新编译,运行上次的binary
xmake run main
生成 compile_commands
xmake project -k compile_commands
cd rust
cargo run --bin hello
golang同一目录只能有一个main函数,每个binary都放到单独的folder
cd golang
go run hello/main.go