General > General Technical Chat

How many people code in C these days, and if so, why?

<< < (31/99) > >>

nctnico:

--- Quote from: Kosmic on May 07, 2020, 09:10:47 pm ---
--- 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 ---
Something was definitely wrong there. Used Unreal and Visual Studio for years and it works perfectly.

Edit: intellisense was probably running in background. Normally when I set up my workstation it's the first thing I disable  :-DD It's the reason why we use Visual Assist most of the time.

--- End quote ---
Probably but Eclipse CDT can do the things Intellisense does with the Unreal engine codebase just fine (after setting the memory limits higher) without needing an extra plugin. 'Whole tomato' which makes 'Visual Assist' does ring a bell from the time I used VS almost daily at one my previous employers.

bd139:

--- Quote from: Kosmic on May 07, 2020, 09:06:10 pm ---
--- 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.

--- End quote ---

Was C#. Look down...


--- Quote from: IanB on May 07, 2020, 09:15:07 pm ---
--- Quote from: bd139 on May 07, 2020, 08:59:18 pm ---As for the debugger. Yeah try opening a 30gb minidump...
--- End quote ---

I think that is not a "mini-dump", it is a "maxi-dump"  ;D

--- End quote ---

It is a minidump based on the host machine... :popcorn:



Two socket machine. Maxxed out. NOT a hypervisor

Most people don't get to wrestle shit like this. I wouldn't recommend it  :-DD

maginnovision:
For me... Between VS, eclipse, netbeans I definitely rank them in that order. I only use eclipse because it's a requirement for some projects but I'm used to it so it's not bad but I definitely prefer VS. It's all a matter of opinion though based on individual experiences so it's really not worth arguing about. Supposed to be arguing about C anyway, haha.

Kosmic:

--- Quote from: bd139 on May 07, 2020, 09:28:09 pm ---
--- Quote from: Kosmic on May 07, 2020, 09:06:10 pm ---
--- 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.

--- End quote ---

Was C#. Look down...


--- Quote from: IanB on May 07, 2020, 09:15:07 pm ---
--- Quote from: bd139 on May 07, 2020, 08:59:18 pm ---As for the debugger. Yeah try opening a 30gb minidump...
--- End quote ---

I think that is not a "mini-dump", it is a "maxi-dump"  ;D

--- End quote ---

It is a minidump based on the host machine... :popcorn:



Two socket machine. Maxxed out. NOT a hypervisor

Most people don't get to wrestle shit like this. I wouldn't recommend it  :-DD

--- End quote ---

hmmm the whole database is in RAM ?  ;D

bd139:
Yes sort of. However this particular scenario was caused by a memory leak and spinlock deadlock (ReaderWriterLockSlim in C# is BUGGY AS HELL which makes a mockery of their "concurrent" data structures). Usually doesn't run that hot. Working set is around 800gb and 30% CPU load.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod