News for hackers. Stuff that matters.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by thekingofh on Thursday June 28, 2018 @02:12PM (#17419193)
After using Eclipse for C++ (CDT) off and on for a while now. I've come to the conclusion that when set up properly there's no better C++ tagging system (F3 Open Declaration) and auto-complete in any IDE except perhaps Visual Studio. It works so well that people like myself who dislike Java still use it on C++ projects out of the sheer advantage it gives you when browsing through a code base. I don't know what they've been up to there on the CDT project, but they sure have managed to get it right.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by dimitrov on Thursday June 28, 2018 @02:33PM (#17419338)
I used to think that before I tried using Qt Creator. Your project doesn't need to be a Qt project for you to use it. Make sure you enable the clang code model plugin. It's a bit slow but otherwise flawless.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by thekingofh on Thursday June 28, 2018 @02:48PM (#17419448)
Certainly willing to give it a try. I can say that I can't imagine any tagging system to be any better than CDT, so at best it may be comparable. Though if the system is comparable with an interface that's faster than Eclipse, it would be quite nice.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by jcelerier on Thursday June 28, 2018 @03:20PM (#17419702)
Having used both, Qt Creator is so much better than eclipse that it's not even funny. Of course, you first have to forget your eclipse habits and learn the equivalent QtC ones - in particular using the locator (http://doc.qt.io/qtcreator/creator-editor-locator.html), and the available refactorings (http://doc.qt.io/qtcreator/creator-editor-refactoring.html). Recent versions also ship with a clang backend for completion ; it also supports clang-format and clang-tidy natively, with inline fix-its that are shown automatically.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by pjmlp on Friday June 29, 2018 @04:20AM (#17423162)
Qt blog has quite a few complaints regarding completion performance delays on Windows from several seconds.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by cardiffspaceman on Thursday June 28, 2018 @04:22PM (#17420161)
Opinions vary on QT Creator. I personally found it to be hostile to my desires. The little thing that made it unfit for my purpose was that, when I code for Cygwin use, I need my Windows editor to be configurable for Unix conventions, but QT Creator was not configurable to Unix conventions. Eclipse is configurable.

I believe if I had been making programs targeting QT, I might not have run into this issue. But I don't make that kind of program.

Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by thekingofh on Friday June 29, 2018 @01:11PM (#17425877)
I tried out Qt Creator and I have to say I'm impressed. Once set up I can say that the tagging/autocomplete worked quite nicely. Very snappy.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by mavelikara on Thursday June 28, 2018 @02:19PM (#17419243)
Do you dislike programing in Java, or using programs written in Java?
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by thekingofh on Thursday June 28, 2018 @02:28PM (#17419305)
Generally Java has a large footprint on the machine and startup time can be slower (however they're attempting to solve through the Graal VM). Also Java's syntax is extremely verbose and the API usage is verbose as well. All common complaints coming from a C++ programmer. When comparing programs for daily use, native applications tend to feel snappier, though there's no reason a Java program can't feel that way if properly written.

I like Java for the comfy warm embrace that a business language provides, but C++ wins out in the world of 'get out of my way and let me get stuff done'.

Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by seanmcdirmid on Thursday June 28, 2018 @02:52PM (#17419487)
C++ wins out in the world of “get out of my way and let me shoot my feet off”. The only professional language hated more than Java is C++.
Re:New Photon Release of Eclipse IDE Ships with Full Rust Su... by thekingofh on Thursday June 28, 2018 @03:05PM (#17419590)
You're not wrong. This is a Rust post after all. I'm of the opinion that C++ by itself is both unfinished and bloated at the same time. Most memory access should be funneled through libraries better equipped to handle memory than our feeble minds, and when we really need the performance, we know when to break out of the cage and get things working. Most of the problems I've encountered in C++ is interpreting the crazy stuff other developers have done, because alas C++ has allowed it! Funny enough, the object oriented nature of the language has been the biggest thorn in my side. You'll get no shortage of complaints by me of how C++ is designed. Somehow I manage to forgive a lot due to the incredible performance of the code a C++ compiler generates.