News for hackers. Stuff that matters.
Re:Learning Rust by ketralnis on Sunday November 02, 2014 @07:24PM (#8548744)
I get that it's hard for compiled languages and I've learned to live without one for many of them. But "a cute toy, but absolutely not important" is way, way off the mark. When available, a REPL is a godsend and has saved me personally enormous amounts of time.

Besides, there do exist compiled languages with REPLs (Haskell, Scheme, Common Lisp). Even Python has to compile the textual code into bytecode and execute that.

Re:Learning Rust by shadowmint on Sunday November 02, 2014 @08:28PM (#8548916)
I'm happy to accept 'relatively unimportant compared to other issues with rust'.

REPL is a useful learning tool, but its also a not relevant to the majority of tasks for rust. Rust is for large complex tasks. If you want a scripting language, use python.

Re:Learning Rust by ufo on Sunday November 02, 2014 @10:21PM (#8549209)
REPLs aren't just for learning- they are great for exploring and interactively designing programs. You are also conflating REPLs with scripting languages - the parent post already has a bunch of examples of languages suited for complex tasks that make very good use of their REPLs.
Re:Learning Rust by shadowmint on Sunday November 02, 2014 @11:57PM (#8549379)
They're really not in this case.

play.rust-lang.org is a bite sized code compile \ execute environment that lets you play, explore, delect different compilers and share failed build to get help. Its fantastically useful ... but its not a REPL, and being one would in no way make it more useful.

REPLs are useful where a few lines can make a meaningful program.

That is not the case in rust.

Re:Learning Rust by tormeh on Monday November 03, 2014 @01:03PM (#8552316)
I use the REPL to try out syntax I don't quite remember and to ascertain myself of how the libraries work, something that I have to do often. It's not an absolute necessity, but it makes coding a lot faster.
Re:Learning Rust by Dewie on Sunday November 02, 2014 @10:11PM (#8549188)
> If you want a scripting language, use python.

You know, that's what some people's attitude is towards high-level languages and performance: 'who needs a better C? Just write the performance-critical code in C and the rest in Python or whatever'. Just sayin'. ;) (obviously people who say this aren't working on kernels and browser engines, but still.)