We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Ffi practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 12 of 12
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| A macro-generated FFI binding layer | Hard | End-to-End |
|
| Calling C functions through safe Rust wrappers | Medium | Framework |
|
| Compare Rust and C struct layouts | Medium | Primitives |
|
| C strings and ownership across FFI | Medium | Framework |
|
| Decode bytes into enum variants | Medium | Primitives |
|
| Designing safe wrappers around unsafe FFI | Hard | End-to-End |
|
| Edition 2024: unsafe extern blocks and safe declarations | Medium | Framework |
|
| Export Rust functions with C-compatible names and signatures | Hard | Framework |
|
| Nullable pointer optimization, callbacks and qsort | Hard | Framework |
|
| Opaque handles and bounded C formatting | Hard | Framework |
|
| repr(C): computing struct layout by hand | Medium | Primitives |
|
| The other reprs: transparent, packed, align, integer enums | Hard | Primitives |
|