Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » [C++] I'm Famous!

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
[C++] I'm Famous!
axilmar
Member #1,204
April 2001

ixilom said:

Then thats your problem for not documenting/planning correctly. I'm sure a GC would take care of that

It's not possible, realistically, to document every pointer access in a program. In a 200,000 lines of code, developed over 10 years, the documentation project would take another 10 years to be 100% complete.

Look, there is a reason for people wanting garbage collection. I do not see the point in resisting it, since it's going to be optional. If you don't want it, don't use it, but I see no point in forcing the rest of the world to your paradigm.

ixilom said:

Now, thats just scary.

It's reality, though. I have to finish a 60,000 LOC project in 4 months. In C++.

Dustin Dettmer said:

Axilmar, for someone who knows so little about this subject you sure talk loud. I do hope people are not mislead.

You are saying that I know so little. Can you prove it? do you have an argument? do you have any arguments against my arguments?

It's insulting to me, as a human being, to being told that I am wrong, without explaining why. I make a big effort here to maintain a good level of discussion where feelings are not important and only arguments count. But I don't see that from you and from other guys. At least my replies are full of arguments and explanations of why recent decisions for C++ are wrong.

Tobias Dammers
Member #2,604
August 2002
avatar

C++ is a nice language for the niche it fills: Something that allows some basic OO while still offering the cutting-edge runtime performance that other compiled languages have.
With increasing hardware possibilities and the focus moving from runtime performance to developer performance, this niche gets smaller by the day though. For most business application, a 10% runtime performance increase has zero value, while a 10% developer performance increase is worth, well, 10% of a developer's salary.

There are situations though where C++ is the only possible choice of language, while GC would still be useful. I don't see how (optional) GC in C++ would hurt anyone - if you don't want it, don't use it; if you do, a standardized way of building GC into the syntax and the compiler just makes sense.

BTW, said it before (in that other thread): Microsoft's idea of C++ already includes language-integrated GC, mainly because .NET needs it.

---
Me make music: Triofobie
---
"We need Tobias and his awesome trombone, too." - Johan Halmén

ixilom
Member #7,167
April 2006
avatar

I need to get from point A to point B in my car as fast as possible. I don't have the time to check the brakes so I'll just wrap the car into a huge bubble.

Of course, the optional GC is just fine by me. Not when its forced into a standard.

___________________________________________
Democracy in Sweden? Not since 2008-Jun-18.
<someone> The lesbians next door bought me a rolex for my birthday.
<someone> I think they misunderstood when I said I wanna watch...

GullRaDriel
Member #3,861
September 2003
avatar

Dustin said:

...Blah...
Has anyone else heard of move semantics and / or have an opinion on them?

Yeah, they will not change the face of the world. Nothing enough big to be interesting.
One day people will realize that they are STILL limited by the amount of instruction their processor have. No matter the language, no matter the complexity, it's always reduced to these few amount of instruction.

That's my opinion.

Ha, also, it makes the code ever more unreadable.

EDIT: While you are at GC thing, don't forget to collect yourself. ;D

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Vanneto
Member #8,643
May 2007

Quote:

Of course, the optional GC is just fine by me. Not when its forced into a standard.

You are full of bullshit, aren't you? ;D Sorry, but, are you playing stupid? If its in the standard doesn't mean you have to use it. It would be like <cmath> or <cstring>... OPTIONAL.

In capitalist America bank robs you.

ixilom
Member #7,167
April 2006
avatar

No I'm not full of shit.

Let say GC becomes part of the standard.
Next time someone wants support for featureX
Next time someone wants support for featureY
Next time someone wants support for featureZ

Hell, while we are at it, lets make the whole .NET library C++ standard.

Look what happened to HTML.

___________________________________________
Democracy in Sweden? Not since 2008-Jun-18.
<someone> The lesbians next door bought me a rolex for my birthday.
<someone> I think they misunderstood when I said I wanna watch...

BAF
Member #2,981
December 2002
avatar

.NET is C# standard, and it sure as hell beats C++ and it's pathetic libstdc++.

ixilom
Member #7,167
April 2006
avatar

We dig it BAF, you like C# ;D

___________________________________________
Democracy in Sweden? Not since 2008-Jun-18.
<someone> The lesbians next door bought me a rolex for my birthday.
<someone> I think they misunderstood when I said I wanna watch...

GullRaDriel
Member #3,861
September 2003
avatar

Baf said:

.NET is C# standard, and it sure as hell beats C++ and it's pathetic libstdc++.

How many parts of your body has been sold to Micro$oft ?

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Matthew Leverton
Supreme Loser
January 1999
avatar

None, just his soul.

GullRaDriel
Member #3,861
September 2003
avatar

Well, it's not an important part for a Zealot as Baf ;-p

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Paul whoknows
Member #5,081
September 2004
avatar

Due to their nature, I don't think we can compare C++ against C# or Java. However, comparisons between C++ against D or C makes more sense.

____

"The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner.

GullRaDriel
Member #3,861
September 2003
avatar

Paul said:

However, comparisons between C++ against D or C makes more sense.

A Father would not like to be compared to his son. Stop comparing C to anything, it's da Father ya know !

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Karadoc ~~
Member #2,749
September 2002
avatar

ixilom said:

If you can't keep track of your news and deletes you shouldn't be coding anything complex anyway. Unfortually there are programmers who can't and are involved in projects like FF, Explorer and other popular programs. But it doesn't mean we need GC in the C++ standard.

I think that you are becoming unreasonable, ixilom. You seem to be implying that anyone who ever makes a memory management mistake should basically be sacked from any complex programming job. Can you honestly say that you never make mistakes in your memory management?

If it wasn't for those 'inadequate' programmers, it is likely that we wouldn't have those buggy programs at all. Including FF and Explorer, but also most of our favourite games and other important software. As axilmar has said, these problems are quite common across a large range of projects. To say that the people who made the mistakes should not have been involved in those projects is - in my opinion - a very narrow viewpoint.

If you want to argue against including GC in the C++ standard, you really should take a different angle, like "no more bloat" or something like that.

-----------

ixilom
Member #7,167
April 2006
avatar

I'm not implying that I'm perfect with memory management, but I do test my applications to the extreme.

Maybe I was a bit harsh on the FF and IE example. What they should do rather than sack them is to educate them the importance of good code and documentation, and not wrap them into some huge bubble (read: gc).

'no more bloat' is one way to saying what I've been trying to tell people here, so I agree to that statement ;)

___________________________________________
Democracy in Sweden? Not since 2008-Jun-18.
<someone> The lesbians next door bought me a rolex for my birthday.
<someone> I think they misunderstood when I said I wanna watch...

Alan W.
Member #7,958
November 2006
avatar

Quote:

What they should do rather than sack them is to educate them the importance of good code and documentation, and not wrap them into some huge bubble (read: gc).

I would like to give another perspective:

Most of programmers are people who choose programming as a way to pays his bills, and they don't have any interest in being a guru. Maybe nerds think this is because they are stupid, but those guys maybe need to take care of other things, like family, etc...

And from the company side, if you have the tools to let those guys work without making disasters. As long the results satisfy your desired quality, contracting better programmers to do the same job, is just an absurd way of losing money.

The conservative attitude is fine, the C++ mafia is not interested in the previous scenario, so other technologies like .NET will fill that (big) space.

---
[url http://www.allegro.cc/forums/thread/596362/748772#target]
I couldn't care less that you see me as a fool
[/url] - Thomas Fjellstrom

 1   2   3 


Go to: