Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is my impression or this could lead to a kind of "rust-in-time" compiler? If the idea is to have a "roslyn" kind of backend then generate on the fly rust code and run it directly is feasible?

This could be wonderful!



A Rust REPL would be nice :)


A REPL for Rust is pretty difficult, even conceptually.

Like, how does the ownership model interact with an env with as unclear scoping as a REPL?


There is https://crates.io/crates/evcxr_repl

Also some others exist like https://crates.io/crates/papyrus but I didn't try this one.


Any idea why it’s named that way?


Yeah, but I'm talking is about generating (transpiling) code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: