https://www.reddit.com/r/rust/comments/z4jscw/jlrs_017_gatpowered_generic_targets_julia_19/jlrs is a crate that provides access to most of the Julia C API, it can be used to embed Julia in Rust applications and to use functionality from the Julia C API when writing ccallable functions in Rust. Version 0.17 is compatible with Julia 1.8 by default, 1.6 if the lts feature is enabled, and Julia 1.9 if the beta feature is enabled. The minimum supported version of Rust is 1.65. ## Memory management The biggest change in this version is a redesign of how jlrs ensures the Julia GC is aware of data that is currently used in Rust. This is now handled by a custom resizable stack, which has several advantages over the old system. For example, methods can no longer fail due to running out of stack space; methods like Value::new and Call::call that could only fail due to this limitation are now infallible and no longer return a Result. The async runtime can allocate a stack for each task which gets rid of the Mode trait. And, it's now possible for a function called through ccall to throw an exc
--
FROM 117.147.21.*