Hacker News new | past | comments | ask | show | jobs | submit login

The Playground [0] and cargo-script [1] are the best options atm. In some respects, I think I prefer these. The only downside is the lack of introspection which is diminished by the use of static typing.

[0] https://play.rust-lang.org/ [1] https://github.com/DanielKeep/cargo-script




Introspection in the Playground is solvable with two things, a) everything defining debug, and b) `let _ : () = a; ` forcing Rust to tell you what type it's inferred.




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

Search: