Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite in Rust/Zig/C++ #60

Open
pschichtel opened this issue Aug 28, 2024 · 2 comments
Open

Rewrite in Rust/Zig/C++ #60

pschichtel opened this issue Aug 28, 2024 · 2 comments

Comments

@pschichtel
Copy link
Owner

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
Copy link
Owner Author

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:

  • x86_64
  • aarch64
  • armv6
  • armv7
  • armv7l
  • android-arm64

Architectures I assume are unused:

  • x86_32
  • riscv32
  • riscv64
  • android-arm
  • android-x86_64
  • android-x86_32

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

@pschichtel
Copy link
Owner Author

let's stick to C, but maybe introduce some more linting into the codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant