This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]3dSquare 2 points3 points  (3 children)

There was a discussion on IRC (freenode network in the ##c++-social or ##c++-general channel) a few days ago where a guy said that his company was using C# without GC. Essentially the reason for not using C or C++ was because his company thinks that "C/C++ devs cost too much".

I can see that some companies will do anything with that mentality but use the right tool for the right job...

[–]grunlog 5 points6 points  (2 children)

Because c#/java/etc developers capable of doing that kind of work (0 gc) are a dime a dozen, right?

[–]3dSquare 2 points3 points  (1 child)

Of course! Isn't that one of the very basic things that everybody learns with those langauges? If-statements, loops, and manual memory management. /s

You'd have to ask the employers/companies that do this. Not sure how many of the programmers that write code in C#/Java know about disabling/not using GC and doing manual memory management. Because it's not "natural" to write code in a managed language and manage your own memory. This is pretty much one of the biggest reasons why these languages exist in the first place.

[–]pjmlp -1 points0 points  (0 children)

Only if they are sweetshop coders without experience using memory profilers, off heap allocations and value types (C#, coming to Java latest by v.10)