General > General Technical Chat
How many people code in C these days, and if so, why?
<< < (29/99) > >>
engrguy42:

--- Quote from: nctnico on May 07, 2020, 08:13:35 pm ---
--- Quote from: engrguy42 on May 07, 2020, 07:44:03 pm ---
--- Quote from: nctnico on May 07, 2020, 07:12:22 pm ---
--- Quote from: engrguy42 on May 07, 2020, 06:52:59 pm ---Now I'm sure there are fixes for much or all of this, and I'm sure I'll hear an unending stream of them. And I'm sure some of them involve jumping thru a bunch of annoying hoops. But for me it just isn't worth the hassle.

--- End quote ---
Your problem seems to be being stuck to VS (which is not the best tool to work on code; it is pretty clumsy).  >:D When I need to work on a VS project I load the same project in Eclipse CDT and use VS only to compile.

--- End quote ---

Funny, I was recently watching a video of a guy who teaches C++, and he's been working for years with one of the biggest game companies (Electronic Arts) and he writes game engines for them. And it sounds like he and his company use only Visual Studio.

--- End quote ---
That doesn't mean it is a good idea. But if you don't know any better then every screw looks like a nail. Last year I had to make some modifications to the Unreal engine and VS was just not up to the job to take on such a large project and work at a comfortable speed (on a machine with 18GB of memory!). Eclipse to the rescue!

--- End quote ---

No, I'm sure you're right. You just might want to warn EA that Visual Studio isn't up to the task. They have lots of $$$ riding on it.
JPortici:

--- Quote from: engrguy42 on May 07, 2020, 11:06:27 am ---At this point I tend to agree with Berni. You start up VS, start a C# app, the toolbox with all the GUI stuff appears, you drag-n-drop, and you're off. The code is automatically generated, as are the event handlers.

Trying to shoehorn Python/Qt/Qt Designer into VS is looking like a pain, especially when GUI's are involved. Apparently you need to run QtDesigner separately to generate the .ui file, then use command line crap to convert to .py, and merge your code into that.

For those who have gone thru the hassle and it's become second nature, then yeah, it's easy. For those who have no interest in going thru the hassle, it's a freakin' pain. And at the end of the day, is there really much benefit over C#? Or is it just because it's popular? I couldn't care less what others are using, and whether it's "popular".

From what I've seen so far it's a "loose" version of C#.

In any case, does anyone know of a tutorial on setting up PyQt5 and QtDesigner, for Python, in Visual Studio, that's more recent than 6 years ago?

--- End quote ---

some months ago i decided to really start with Qt (also because i was planning to do a project using a beaglebone and there weren't many alternatives for UI)
it took me a full work day, with both some tutorial websites and more importantly the examples on the BBB book by derek molloy and i finally cracked it!

Now almost all my applications have custom widget i generate on the IDE. layout is done mostly in code, and the event system is way more flexible to me and the drawing performance is much better.
The only thing i miss from Visual C# is the grid system (and sometimes to know how a QT widget will expand require a sacrifice of a certain amount of goats)
but everything else is a burden
Kosmic:

--- Quote from: engrguy42 on May 07, 2020, 07:44:03 pm ---
--- Quote from: nctnico on May 07, 2020, 07:12:22 pm ---
--- Quote from: engrguy42 on May 07, 2020, 06:52:59 pm ---Now I'm sure there are fixes for much or all of this, and I'm sure I'll hear an unending stream of them. And I'm sure some of them involve jumping thru a bunch of annoying hoops. But for me it just isn't worth the hassle.

--- End quote ---
Your problem seems to be being stuck to VS (which is not the best tool to work on code; it is pretty clumsy).  >:D When I need to work on a VS project I load the same project in Eclipse CDT and use VS only to compile.

--- End quote ---

Funny, I was recently watching a video of a guy who teaches C++, and he's been working for years with one of the biggest game companies (Electronic Arts) and he writes game engines for them. And it sounds like he and his company use only Visual Studio.

--- End quote ---

I can confirm (I worked for EA, Bioware, Ubisoft ... ), Most AAA company use Visual Studio in conjunction with, most of the time, Visual Assist. When you have project with more than 10000 files, the only IDE surviving is VS.
bd139:
10k files in VS is a pain in the fucking arse. We're at 30k on one project and it barely works. We have guys using vim and command line tools because it shits the bed (as it's still a damn 32-bit process)

As for the debugger. Yeah try opening a 30gb minidump, if windows will even create one without barfing  >:(. Oh and then there's the 20 minute wait for it to cache all the sodding symbols so you can get a stack trace from a thread.

There must be a better way. I think a lot of VS users suffer stockholm syndrome.
Kosmic:

--- Quote from: bd139 on May 07, 2020, 08:59:18 pm ---10k files in VS is a pain in the fucking arse. We're at 30k on one project and it barely works. We have guys using vim and command line tools because it shits the bed (as it's still a damn 32-bit process)

--- End quote ---

C# or C/C++ ? for our tools coded in C# someone had the great idea to put everything (all the tools) in the same solution. It just kill the IDE. I think it's doing a lot less in C++ because it was never a problem even if the file count is higher.


--- Quote from: bd139 on May 07, 2020, 08:59:18 pm ---As for the debugger. Yeah try opening a 30gb minidump, if windows will even create one without barfing  >:(. Oh and then there's the 20 minute wait for it to cache all the sodding symbols so you can get a stack trace from a thread.

There must be a better way. I think a lot of VS users suffer stockholm syndrome.

--- End quote ---

30gb well yeah it's a lot never seen that.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod