This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Rust: Preferred IDE

 
Sheriff
Posts: 17712
302
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm planning on making Rust my choice for this year's Pragmatic Programmer Learn a New Programming Language every year.

A few questions for newbies:
1. Is there an IDE that works better for Rust programming? What does your development environment look like?
2. Is Rust mostly for command line / console programs or can it be used for other things?
3. What kind of programs might it not be the best choice to use?


 
Saloon Keeper
Posts: 28325
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I may interject…

There is an Eclipse plugin for Rust called Corrosion with 10K downloads so far. If I read it properly you can actually get an Eclipse spin that specifically kitted out for Rust just like the spin for JEE. Or simply install the plugin, if you already have Eclipse. I have found Eclipse to be the best IDE for beyond-the-box development. It has plugins for everything. Even COBOL.

There may be a plugin for IntelliJ — I don't know. For the most part, though, when I think IntelliJ, I think Java (or Kotlin ).

I'm ignorant about NetBeans, but I've never heard anything about non-Java language support in NetBeans.

Or, if you prefer, there's a Rust Mode for Emacs  
 
Tim Holloway
Saloon Keeper
Posts: 28325
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh yeah. For Part B. Rust is being considered as an official language for use in coding parts of the Linux kernel. Basically, any language that can be used for kernel code can be used anywhere. Granted, other languages might be more attuned to specific environments, but they're generally trading that for something.
 
Author
Posts: 22
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Junilu Lacar wrote:I'm planning on making Rust my choice for this year's Pragmatic Programmer Learn a New Programming Language every year.

A few questions for newbies:
1. Is there an IDE that works better for Rust programming? What does your development environment look like?
2. Is Rust mostly for command line / console programs or can it be used for other things?
3. What kind of programs might it not be the best choice to use?




1. I learned vim 25 years ago, and it's been my only text editor my whole career. I write every language (bash, Perl, Python, Haskell, Rust, JavaScript, etc.) in it. (I've also written all three of my books in vim. I detest Word.) I have a few customizations for each language mostly around syntax checking and auto-formatting (e.g., yapf with Python, rustfmt for Rust). I personally dislike IDEs. I find them busy and pushy. I don't like using a mouse. I prefer using vim shortcuts where my hands never leave the keyboard, and I find I'm quite faster at editing code. With my training in music, I actually feel like vim is an instrument that I've mastered such that I barely think about how to execute very complex operations. I usually open 2-3 terminal windows where I use the command line to execute programs and tests in some and edit source code in others. I keep it as simple and as possible, so when I'm developing locally on my machine I use the same tools that I use when I'm shelled into a remote machine.
2. Rust is killer on the command line and is making progress in many other areas such as WASM (web assembly) and the Linux kernel. Honestly, I've only used it for CLIs, which is about 90% of what I do. For web development, I use Elm to write front-ends and generally Python to interact with databases for the API. Rust is a relatively young language, so I expect it will keep expanding into all these areas. I would love to use Rust to code web front- and back-ends one day. I still have a lot to learn, esp about WASM.
3. I find I still have to use Python quite a bit in the data science realm. My gig is bioinformatics, and while Rust is making some headway there, most of the tools and libraries I need are Python and R. E.g., I rely a lot on the Python "pandas" library to parse tabular data and perform basic statistical operations. The relative looseness of Python can be an advantage with nebulous and poorly formulated data, so I would only jump to Rust if I was trying to battle-harden some code. I did recently write a rather large Python application for a customer and found Python required me to write loads of tests, many of which would have been superfluous in Rust. Unfortunately, I was lacking Rust libraries to parse some very specific and tricky genetic data. Time constraints didn't allow me to roll my own version in Rust because the Python module was just fine. This will change one day, and maybe I should work on that Rust library (in my copious free time!).
 
Bartender
Posts: 1158
20
Mac OS X IntelliJ IDE Oracle Spring VI Editor Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another vote for good old vim ;-)  Rust and web assembly are on my forever-expanding list of stuff to learn ;-)  
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic