Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Programming Language to Replace C++

Name: Anonymous 2010-08-11 21:49

I think we can all agree that C++ is a terrible language. So why is it still around?

When talking to most C++ users (game developers, systems programmers), I've found that most seem to recognize C++'s faults, but they don't really care. They aren't even the slightest bit interested in a new language that might solve its problems, even one that gives them all the power of C++ with none of the downsides. You can't even get them to look at something new.

Why is that? Why does everyone just 'live with it' without wanting to improve the situation?

Name: Anonymous 2010-08-11 23:02

>>7
malloc generally is re-enterant in modern operating systems or C standard library implementations. And the pause you get with malloc isn't a "GC pause", it's the cost of acquiring a global lock, and searching for a block of memory large enough to accommodate the allocation. And generally this cost is a fixed cost for small allocations under a given size as things like pool allocators are employed.

Perhaps you should read about how malloc is implemented before comparing it to GC.

http://en.wikipedia.org/wiki/Malloc#Implementations

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List