14 ms·
Rust has by far the best tooling and documentation support out of all languages I've seen. Library support is great too, at least in that Cargo is an amazing pl
by mmstick 10y ago
Rust has by far the best tooling and documentation support out of all languages I've seen. Library support is great too, at least in that Cargo is an amazing platform and it's too easy to import C libraries.
What do you feel is actually missing from Rust? Nothing has stopped me from replacing C entirely on the low end, and even the high end for application software development.
- santaclaus 10y ago> What do you feel is actually missing from Rust? A solid NumPy-like library, for one.
- gravypod 10y agoLike you I need something like NumPy and SciPy for my work. I'd also like an IDE. An IDE goes a long way to helping me feel comfortable to use a language.
- empath75 10y agohttps://internals.rust-lang.org/t/introducing-rust-language-server-source-release/4209 https://internals.rust-lang.org/t/introducing-rust-language-...
- gravypod 10y agoI don't care about the backend and how it's implemented. I don't write IDEs. I write software in IDEs. If the IDE is good, and by good I mean provide autocomplete and features on par with Eclipse for Java,and it needs to be fast and easy to use. Fast and easy to use are UI tricks that can't be handled by a server. Edit: I just realized that this may be read in a negative connotion and I didn't mean it like that. I just mean that I'm not the person who should be looking at those. I just know it doesn't exist yet and I'd like it to. Telling me of the Rust Server thing gives me no information as to how close the IDE is to being done.
- mmstick 10y agoThe only thing the RLS is going to provide is just faster completion for the most part. All the IDE's in existence right now are making use of racer for completion and clippy for linting quite well without it, especially Atom.
- Manishearth 10y agoThe point of that comment was to say "It's being worked on, actively"
- mmstick 10y agoRust's had great IDE support for more than a year now. - There's Atom with Tokamak, which you must also install racer and clippy via cargo to get rapid in-line linting. - Then there's Visual Studio Code with RustyCode which you can also integrate with racer and clippy, that provides faster code completion and hovering over items will show a tooltip that documents that items. - Some people like IntelliJ Rust, but I've not tried it myself. As for installing racer and clippy, it's been made a lot easier recently via rustup: rustup component add rust-src rustup component add rust-docs rustup toolchain install nightly rustup run nightly cargo install clippy rustup run nightly cargo install racer Now you're good to go. As for NumPy, there's official crates like the `num` family, which provides a plethora of useful numerics capabilities. It's not my forte though so others would know more about the best numerics crates outside of the `num` family. If you know what functionality you are looking for, it may already be created and is searchable at Crates.io.
- gravypod 10y agoI've still not been able to get Rust to work with work in IntellJ or Eclipse. I've not tried Atom but that doesn't support "Projects" or "Solutions" in the way I'd like. From what I understand there is no "go" button.
- steveklabnik 10y agoHave you tried https://intellij-rust.github.io/ https://intellij-rust.github.io/ and http://rustdt.github.io/ http://rustdt.github.io/ ? If they don't work, I'm sure their maintainers would appreciate bug reports.
- tupshin 10y agorustdt has been my daily rust environment for months. has some warts, but mostly just works
- mmstick 10y agoAtom does support Projects. The left panel is where you add your projects, which is created via cargo and has integration within Atom. You can hide the projects panel by pressing Ctrl + '\'. There's an integrated terminal if you install the tokamak terminal. I'm not sure what you mean by a 'go' button though.
- mmstick 10y agoThere does exist an entire family of official `num` crates. Chances are that what you are searching for is already done.
- the8472 10y ago> Rust has by far the best tooling and documentation support out of all languages I've seen. IDE support is easily better for java. IDEs have total type knowledge since they directly integrate with the compiler, including in long chains of type-inferred code, usually even while you're in the middle of typing and your code is in a syntactically invalid intermediate state. They also automatically manage imports where needed. Similarly, IDE-integrated debuggers can do a edit-code, recompile, hot patch into running application while you're stepping through the code. CPU Profilers seem about en par, but memory profilers in java are again better because they offer a combination of taking heap dumps, allocation recording and diffing dumps at the same time. While also offering good GUIs for exploring object graphs.