←back to thread

302 points Bogdanp | 1 comments | | HN request time: 0s | source
Show context
adastra22 ◴[] No.44390813[source]
As a former C++ developer, claims that rust compilation is slow leave me scratching my head.
replies(5): >>44390867 #>>44390918 #>>44391177 #>>44395299 #>>44403069 #
eikenberry ◴[] No.44390918[source]
Which is one of the reasons why Rust is considered to be targeting C++'s developers. C++ devs already have the Stockholm syndrome needed to tolerate the tooling.
replies(3): >>44391267 #>>44391775 #>>44392740 #
MyOutfitIsVague ◴[] No.44391267[source]
Rust's compilation is slow, but the tooling is just about the best that any programming language has.
replies(2): >>44392557 #>>44394703 #
GuB-42 ◴[] No.44392557{3}[source]
How good is the debugger? "edit and continue"? Hot reload? Full IDE?

I don't know enough Rust, but I find these aspects are seriously lacking in C++ on Linux, and it is one of the few things I think Windows has it better for developers. Is Rust better?

replies(3): >>44392771 #>>44393092 #>>44393361 #
steveklabnik ◴[] No.44393361{4}[source]
> debugger

I've only ever really used a debugger on embedded, we used gdb there. I know VS: Code has a debugger that works, I'm sure other IDEs do too.

> edit and continue

Hard to do in a pre-compiled language with no runtime, if you're asking about what I think you're asking about.

> Hot reload

Other folks gave you good links, but this stuff is pretty new, so I wouldn't claim that this is great and often good and such.

> Full IDE

I'm not aware of Rust-specific IDEs, but many IDEs have good support for Rust. VS: Code is the most popular amongst users according to the annual survey. The Rust Project distributes an official LSP server, so you can use that with any editor that supports it.

replies(2): >>44394920 #>>44403078 #
1. pjmlp ◴[] No.44403078{5}[source]
Might be hard, but C++ ecosystem has such tooling.