Re:The Next Step for Generics
by pwm on Wednesday June 17, 2020 @06:09AM
(#23549725)
I’m not familiar with Rust’s tooling but i’m wondering whether the dev workflow involves explicit manual recompilation? Eg. in Haskell modern workflows are about conversing with the compiler real-time ie. make a type error and it is immediately pointed out and thus explicit recompilation is not part of it anymore. I’d be mildly surprised is something like this does not exists for Rust.
[ Parent
| on HN ]
Rust is a compiled language, so you will have to recompile. Incremental compilation helps to a certain degree.
There is IDE tooling that helps with a lot of issues you may encounter, but in the end, you still have to recompile to run your code. Same applies to Go as well.
I have never find this a shortcoming of any language, but YMMV.
> Rust is a compiled language
So is Haskell. What I'm saying is that in 2020 the dev workflow is not: code, compile, run, repeat. Thanks to modern tooling it is now a near-instant feedback loop of: code, red wiggly line(s), fix, repeat. Ie. real-time conversation with the compiler.
Re:The Next Step for Generics
by steveklabnik on Wednesday June 17, 2020 @02:18PM
(#23554762)
rust-analyzer brings this to the table, but it's a pretty recent development. The RLS existed for a while before that, and gave a basic version of this story, but it was much slower.