There are a few I’m aware of:
- Rust-style
use(multiple imports per statement, renaming items usingas) - Java-style
import(single import per statement, no renaming (afaik)) - Zig-style
let xlib =(imports as assignments) - C-style
(no importing, just pastes the code of the named file)


you can also tell them java cant handle.pointers. i have worked with a lot of backend c code using c#.
not sure about the following but:
can you control how a struct is handled in memory in java? (had tto do this with a c# front end calling a credit card verifyling service/library written in c++)
do they have value types?
You cqn’t really control the layout as that would prevent the JVM from reshaping your classes (which is a fundamental requirement for things like Dalvik (android jvm))