News for hackers. Stuff that matters.
Re:Why I'm Choosing C++ by pjmlp on Monday February 01, 2016 @05:08AM (#11010850)
> Can I easily use and debug Rust on Windows, Mac, Linux, iOS, Android

> Yes.

Easily means using something like Visual Studio debuggers, with its graphical visualizers.

Command line gdb is something I use when there isn't any other option available.

Re:Why I'm Choosing C++ by dkersten on Monday February 01, 2016 @08:32AM (#11011586)
As someone who used to write a ton of C++ and only occasionally fired up gdb (and never anything fancier), I feel like maybe "easily" means different things to different people.

Going by what was said above and how I developed in C++, it sounds like "easily" to me.

Re:Why I'm Choosing C++ by pjmlp on Monday February 01, 2016 @08:47AM (#11011650)
Yeah, I always been an IDE guy since Turbo Pascal 5.5 and only reluctantly used vi and Emacs as poor man's IDE replacement.
Re:Why I'm Choosing C++ by pcwalton on Monday February 01, 2016 @12:52PM (#11013560)
Rust debugging works beautifully with Xcode. I would assume it works with Linux graphical debugging tools as well.

Visual Studio support is mostly gated on LLVM support for PDB. We do have support for using the MSVC toolchain as of a couple of releases ago, so I'm not actually sure what if anything is left to get that working.

Re:Why I'm Choosing C++ by pjmlp on Monday February 01, 2016 @01:00PM (#11013656)
Thanks for the update, I thought it was worse than that given my experience on Windows.

Also many thanks for the MSVC toolchain, that is what I have been using.

Re:Why I'm Choosing C++ by Nang1975 on Monday February 01, 2016 @07:04PM (#11016713)
Any examples or tutorials? Last time I tried this (which wasn't very long ago), I would only occasionally be able to step across Rust code and Xcode would often crash on me.
Re:Why I'm Choosing C++ by pcwalton on Monday February 01, 2016 @10:12PM (#11017463)
I just use Xcode's debugger on Rust code. If you see issues, please file bugs against Rust; I'd like Xcode to work.
Re:Why I'm Choosing C++ by steveklabnik on Monday February 01, 2016 @10:16AM (#11012153)
I haven't used it yet, but https://github.com/pistondevelopers/visualrust claims to have started MIEngine integration.
Re:Why I'm Choosing C++ by pjmlp on Monday February 01, 2016 @01:01PM (#11013671)
Thanks for the heads up.
Re:Why I'm Choosing C++ by forrestthewoods on Monday February 01, 2016 @11:04AM (#11012521)
Easy means:

* breakpoint debugging * ability to step debugger line by line * high quality watch window

GDB does not qualify as easy. Ability to printf debug, while 100% mandatory, is also not easy.