On Sun, Aug 11, 2013 at 3:15 PM, Matthieu Monrocq <matthieu.monr...@gmail.com> wrote: > Hi Corey, > > It's great to see that people are thinking more and more about integrating > Rust in existing languages! >
I didn't even consider that aspect of it tbh; I was only thinking of bare-metal Rust. > I wonder however whether the other alternative has been envisioned: if Rust > requires a runtime to work properly (specifically: TLS, task failure), would > it be possible to provide an external caller the ability to setup the > runtime before calling Rust methods ? > > I have absolutely no idea whether this is sensible or possible, but maybe > rather than either extreme (a full runtime setup vs a no runtime mode) there > is a way to meet in the middle; with a core runtime that can be set from a > C interface (TLS ? ...) and then a set of cfgs for various additional pieces > (such as garbage collection ? ...). > It seems quite possible, but it'd require extensive setup, and a lot of detail to be exposed. brson or someone else might be able to better address this. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev