You will have to do some translating, and I haven't gotten very far yet, but I have written a crate to allow you to work on top of SDL2, in Rust (which means cross-platformness), and it'll work very similarly to how it works on Windows in C.
https://github.com/GBGamer/handmade_hero