-
C코드를 Rust코드로 바꿔 줌 굿Migrate C code to Rust(FFI 써서 함 ㅋㅋ 뭐야 ㅋㅋ)코딩Coding/Rust❤️Optimization❤️ 2023. 5. 17. 09:02728x90
https://github.com/immunant/c2rustGitHub - immunant/c2rust: Migrate C code to Rust
Migrate C code to Rust. Contribute to immunant/c2rust development by creating an account on GitHub.
github.com
Migrate C code to Rust
https://c2rust.com/C2Rust Demonstration
C source code void insertion_sort(int const n, int * const p) { for (int i = 1; i < n; i++) { int const tmp = p[i]; int j = i; while (j > 0 && p[j-1] > tmp) { p[j] = p[j-1]; j--; } p[j] = tmp; } }
c2rust.com
https://twitter.com/rusttrending/status/1658559689821655040?s=46&t=eqXzUZSI8uSaWxT8Lcp3Pw트위터에서 즐기는 Rust Trending
“immunant / c2rust: Migrate C code to Rust ★3257 https://t.co/yUURUghH81”
twitter.com
반응형'코딩Coding > Rust❤️Optimization❤️' 카테고리의 다른 글
5 Better ways to code in Rust | LGR (0) 2023.05.28 apache / arrow-rs: Official Rust implementation of Apache Arrow ★1608 (0) 2023.05.24 Rust❤️Async Interview #2: cramertj (0) 2023.05.24 The Rustc Book (0) 2023.05.24 Fast(er) binary search in Rust (0) 2023.05.05 Rust❤️borrowme 0.0.10 - the missing compound borrowing for Rust (0) 2023.05.02 Rust📊 Cube — The Semantic Layer for Building Data Applications (0) 2023.04.30 Fast multi-threaded, hybrid-out-of-core DataFrame library in Rust|Python|Node.js (0) 2023.04.28