myl7's Blog

myl7's Blog!

Posts


Published on 2024-08-11

myl7's Text Style Guide

My style guide for texts such as commit messages and comments.

There are flowcharts on error handling in different programming languages

A little C with your Rust, a well-known article in The Embedded Rust Book, has briefly introduced how to call a C function from Rust without a third-party build dependency. In the post, we will step further to solve the same FFI problem in a more complex scenario: calling a C++ function that additionally contains some CUDA code from Rust without a third-party build dependency, e.g., cxx.