4 ms·
I'd really love to use rust, given the large growth of projects like this. I only need an IDE to get started, but it seems like there isn't one yet. Anyone hav
by gravypod 11y ago
I'd really love to use rust, given the large growth of projects like this. I only need an IDE to get started, but it seems like there isn't one yet.
Anyone have any pointers on where I can find a good IDE for Rust? Should I just start praying to lord-JetBrains for something that works?
- theonewolf 11y agoI don't understand why you need an IDE, I believe Rust is simple enough that you can work on things in Notepad++ or Vim or Emacs.
- orbitur 11y agoAutocomplete is a godsend, I don't type nearly as much as I hit my arrow keys+tab. Whenever I have to write anything outside of ObjC (in Xcode) or Java (in Android Studio), I get annoyed very quickly.
- cballard 11y agoI tried to use Rust briefly but found that discovery was very difficult without autocomplete - I'm used to Swift's SourceKit, which is quite good if it hasn't crashed.
- gravypod 11y agoHere are the features I like in an IDE that make be very productive: - Autocompletion - Mass rename - Source formatting - Integrated debugger interface with breakpoint insertion and overlying of state on source - Integrated VCS control - Automated deploy - Error display - Automatic importing of modules - Source cleanup (Automatic loop transformation) - Automatically building my project That's just a few things that I like an IDE to have. Some provide even more features that I like. I understand that there are other tools that do the tasks better, maybe even faster, but that's not what I want. I want to be able to learn one thing, and learn how to use all of it's features well.
- coldpie 11y agoYeah. I'm a vim guy myself, but I totally understand the appeal of IDEs. Luckily Rust is a well-defined language (unlike C and C++), so building a nice IDE shouldn't be too arduous.
- gravypod 11y agoNot only that, but it looks to have some very good tooling. Cargo should simplify things a lot for whoever writes IDEs. Not only do you have a package manager, but a build system.
- choudanu4 11y agoThe compiler for Rust still needs work in order to support the partial compiling required for typical IDE.
- hobarrera 11y agovim (+ sh) cover all those things, except maybe the last two.
- Jach 11y agoThe last two items are definitely achievable. As a saying goes, "vim is my editor, Linux is my IDE." I'd rather learn a handful of tools that will last me my career and be valuable in many different circumstances in and out of work and more formal "programming" than learn a new IDE per language and/or a new Master IDE for multiple languages every few years.
- yberreby 11y agoAutocompletion: YouCompleteMe + racer + racerd Source formatting: rust.vim + rustfmt Automatic building: https://github.com/passcod/cargo-watch https://github.com/passcod/cargo-watch Error display: tmux, terminator or iTerm2 split planes Rust has pretty good tool support in vim and Atom, for example (can't speak for the rest). We don't have stellar IDE support yet, but it's on the to-do list: https://www.rust-lang.org/ides.html https://www.rust-lang.org/ides.html Personally, I don't miss IDEs. I like the approach of small, single-purpose, composable command-line utilities more.
- Cshelton 11y agoThis is pretty common, and the advantages of Rust won't overcome people being inherently lazy (not in a bad way... lazy in this sense is really more efficient). People love C# for that very reason, once they get used to Visual Studio, convincing them to switch to something with very limited IDE support is a tough argument. Most people have better things to do with their life. Rust will get there though, just give them time.
- jjuel 11y agoI write C# at work using VS, and am working on getting omnisharp running so I can use VIM here instead. I have fully converted from being an IDE person to a VIMMER. So many helpful things, and keyboard binds that I can't believe I ever lived without. VsVim just isn't the same, and cannot be used in VS2008 which we unfortunately use most of the time.
- wyager 11y agoYou could just use atom and install some rust plugins.
- gravypod 11y agoI would, but the last time I installed atom and tried to start it the base text editor, without any added plugins, took 3 minutes to start and used ~600mb of system memory. In comparison, Eclipse starts in under a minute and uses about half that on my system. Atom when I tried it was much to large for my system. I might look at it again.
- dikaiosune 11y agoThey've done some decent optimizing in the last few releases. I'm finding it much more responsive than it used to be.
- Manishearth 11y agoSublime, then. Doesn't take too much memory, and has plugins for Rust. Though if you want an IDE a plugin for IntelliJ exists too.
- steveklabnik 11y agohttps://www.rust-lang.org/ides.html https://www.rust-lang.org/ides.html
- webscalist 11y agohttps://areweideyet.com/ https://areweideyet.com/ vscode and textadept are good
- gravypod 11y agoI'll have to look at textadept. I'm a little weary of VSCode.
- niccaluim 11y agoIf you've never programmed without an IDE I strongly encourage you to give it a go. You'll learn a lot! [Good lord, a downvote on this? I'm being completely sincere.]
- deleted 11y ago[deleted]
- saosebastiao 11y agoI learned how to program without an IDE, and I'm a pretty big fan of it. And strongly typed functional languages with type inference tend to be really easy to write and refactor without needing specialized IDE tasks for the job. That being said, nowadays I use an IDE because it is extremely helpful to have autocomplete (which is okay with Racer+Vim, but kinda hacky) as well as the hover for type information (name of types, type signature, etc.). Without the hover information, I usually end up doing ridiculous things like writing bogus explicit types to see what type an undocumented function from a library will return after compiling (Is it Option? or Result?). That is really annoying. I didn't downvote you BTW.
- steveklabnik 11y ago[this post was wrong]
- dikaiosune 11y agoIsn't it the other way around? One can downvote a post and then reply to it, but can't downvote replies to one's own post?
- steveklabnik 11y agoGah, you're right.
- gravypod 11y agoI have programmed without an IDE. What I learned was that I'm much more productive with one then without. An IDE lets me focus on the problem, not the language.
- Tyr42 11y agoSolidOak is a thing.
- 0xFFC 11y agoIt is interesting no one suggested Rust project internal ide support. They are developing something called Oracle.This is basically everything IDE needs (autocomplete, reference finding, error checking, etc). Oracle haven't finished yet.But after Oracle being ready, I think every editor/IDE out there can provide best experience for rust by simply calling a bunch of API which is very simple thing to do compare to writing their own AST and autocomplete. About the project, not being GPL is serious bummer for me. I don't want to GNU project isolate more than this and anyone other who has simple understanding of politics behind the scene will understand GNU as foundation have done a lot of good things for programmer/developer/hackers community.By far more than any other player in this area. And since I have worked on Glibc for a while and I wanted to use rust just for experiment,I was seriously considering to work on this project if it were GPLv3.
- grokys 11y agoSlightly off-topic, but isn't Oracle a bit of a dangerous name to use? I seem to remember it was something to do with some big company or other... ;)
- Manishearth 11y agoit's not Oracle, it's "the oracle". Which is an english word being used in a context where it means approximately what it's supposed to mean.