Rust.jl icon indicating copy to clipboard operation
Rust.jl copied to clipboard

You can actually compile Julia to Rust? Put disclaimer on limitations in..

Open PallHaraldsson opened this issue 8 years ago • 0 comments

Looking at:

https://github.com/iamed2/Rust.jl/commit/fe39a14e564d3fac20ca31b76dc0d30c89eb3119

it seems you can, but I guess for pure functions only, and not all (e.g. if BLAS is used). Still cool.

I guess anything that allocated memory, directly or indirectly is out. Do not know too much about Rust and the ownership/borrow model, but suspect you can't really compile GC-assuming code to that and expect to work..

Note https://github.com/rust-lang/rust/issues/1120#issuecomment-242002003 I do not want to be spreading misinformation, but at least using Julia's REPL to work with actual Rust code, is solid, I guess.

PallHaraldsson avatar Aug 24 '16 09:08 PallHaraldsson