pschichtel / JavaCAN

A simple JNI wrapper for the socketcan API provided by the Linux kernel. As it is wrapping a Linux Kernel API, it is intended for use on Linux only.
https://schich.tel
MIT License
49 stars 21 forks source link

Rewrite in Rust/Zig/C++ #60

Open pschichtel opened 2 months ago

pschichtel commented 2 months ago

As much as "Rewrite in Rust" is a meme these days it kinda feels stupid to even write it. Rust per se is not actually the point here, but I'd like to use a more modern language that comes with a reasonable standard library and possibly some form of automated JNI binding support. Rust, Zig and even standard C++ come to mind as options that have a significant eco system.

Main concern for rust and zig might be architecture support, C is probably unbeatable in that regard.

pschichtel commented 2 months ago

I'm building JavaCAN for quite a few architectures out of the box and any dockcross-supported architecture can be manually build by users, but I have no idea which architectures are actually being used.

From personal use and some of the issues and communication I had with people, these architectures are probably in use to some degree:

Architectures I assume are unused:

Not sure how the rust/zig/c++ support is for these and also not sure which other architectures are being built.