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

GC is shit

Name: Anonymous 2011-09-07 9:18

discuss

Name: Anonymous 2012-08-01 12:31

>>173
Oh, please. A Go program starts up about as fast as a C one and will often finish before the Java program comes to main.
statements that are easily verifiable as wrong
http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php?calc=chart&java=on&go=on

Name: Anonymous 2012-08-01 13:52

>>173
Exceptions (or similar constructs using jmp operators) are necessary to build reliable software. They are often more efficient than the alternatives, like passing around error codes to which Go does not offer anything else. See >>177-san's comments about Go's performance, or lack thereof. This once again dispels ``compiled to platform menas fast,'' yet another bad idea Go was built around. I don't particularly like Java anyway (I prefer C++). Java has its own problems, but it's a lot better than Go. You're not doing Go any favors by criticizing Java.

Name: Anonymous 2012-08-01 13:58

>>177
You ARE aware that the startup time for Java programs in the benchmark game have been taken out of the measurements right? (only Java at that)
http://shootout.alioth.debian.org/help.php#java

Name: Anonymous 2012-08-01 14:05

>>179
It's the start-up time for the JVM that was taken out.

Name: Anonymous 2012-08-01 14:27

>>180
And? The Java ones have zero startup time as a result, only the overhead of a static method call. The rest of the language implementations have their total startup time counted, many of them have VMs.

Name: Anonymous 2012-08-01 14:39

>>178
Exceptions (or similar constructs using jmp operators) are necessary to build reliable software.
Untrue. You can as easily write reliable software with alternate error handling and Go's error return parameters do the job well. In fact, they even get rid of a common ``feature'' that actually makes exceptions less reliable: your programs will no longer abort just because you've forgotten to handle whichever exception something may throw. Exceptions introduce problems of their own and are not nearly the best and ultimate way to handle errors.

They are often more efficient than the alternatives, like passing around error codes
Haha, you're funny. Please, do tell me how exactly is stack unwinding more efficient than, say, errno or returning a value?

to which Go does not offer anything else.
Another piece of disinformation. Go offers the panic/recover mechanism, which is basically what your exceptions are. However, you shouldn't use it for standard errors, only for truly catastrophic failures that make the continuation of this program (at least this piece of it) impossible.

Name: Anonymous 2012-08-01 19:25

I don't even have JVM installed on any machine I run, on fucking principle. Guess whether or not I've written in JAVAAAAAAAAAAAAAAAAAAAA.

Name: Anonymous 2012-08-01 21:14

>>175
It doesn't even support long lived processes on 32 bit, the GC runs out of memory in no time since it can't tell the difference between a value and a pointer.
They need a conservative GC so they can do pointer arithmetic. Go was designed as a systems language, after all. What's that I hear? Go doesn't have pointer arithmetic? They released Go ``1.0'' with a broken GC because they couldn't be bothered to write one that keeps track of pointers? It sure shows how much Google cares about their new language.

Name: Anonymous 2012-08-01 21:27

>>182
What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class at MIT, and I've been involved in numerous Agile/SCRUM gatherings for my work, and I have over 300 confirmed commits to my git repository. I am trained in Enterprise Java Programming and I'm the top code monkey in the entire Software Industry. You are nothing to me but just logic error to debug. I will comment you the fuck out with scope the likes of which has never been seen before on this JVM, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting the oracle headquarters and your IP is being piped through an interface written in visual basic. Now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little code you call "Software". You're fucking compiled, kid. I can be anywhere, anytime, and I can write a Hello World in over seven hundred ways, and that's just with Assembly. Not only am I extensively trained in Network administration, but I have access to the entire GNU C Library and I will use it to its full extent to wipe your miserable ass off the face of my monitor, you little shit. If only you could have known what unholy retribution your little "clever" comment was about to bring down upon you, maybe you would have truncated your input. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot.I will shit unformatted code all over your face and you will drown in it. You're fucking decompiled, Skiddo.

Name: Anonymous 2012-08-01 21:36

>>175,184
I admit that Go's GC could be better (in fact, they do plan to improve it sometime in the future).
However, the current one, while suboptimal, works. Not too well, but sufficiently enough to do its job. While it's true that it may miss some objects sometimes, that should happen very rarely, so it shouldn't be a problem for a few months of the program's uptime in the worst case.

Name: Anonymous 2012-08-01 21:41

>>185
lolol u mad bro u mad bro
suck my dick, faggot

Name: Anonymous 2012-08-01 22:15

>>184
They need a conservative GC
fucking right-wing dipshits

Name: Anonymous 2012-08-02 3:41

>>188
/prog/ stands for reactionary rock.

Name: Anonymous 2012-08-02 16:37

>>176
Java scales better. JVM start up time is a ridiculous thing to care about, since 99% of the time the JVM will be always running on a production server.

Name: Anonymous 2012-08-27 6:40

Found this in rationale saying why GCC should be written in C++



- GCC generates temporary garbage which is only freedby ggc collect.
-- ggc collect is expensive–scales by total memory usage.

- C++ permits reference counting smart pointers.
-- Fast allocation.
-- Lower total memory usage.
-- Copying a pointer adds an increment instruction.
-- Letting a pointer go out of scope adds a decrement and a test.
-- Reference counts are normally in memory cache, unlike ggc collect.

- We may want to use a mixture of reference counting and garbage collection.




So there you have it. GC is shit. C forces GC, C++ does not. Therefore C is also shit while C++ is not.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-08-27 7:05

>>191
GCC is horribly bloated anyway, in typical GNU style.

Name: Anonymous 2012-08-27 9:17

>>192
I never understood why people hate GNU so much; then I tried reading some glibc code

Name: Anonymous 2012-08-27 15:47

>>191
ref counting
worse than GC

Name: Anonymous 2012-09-05 11:08

http://3d.benjamin-thaut.de/?p=20

TLDR:
Garbage collection: 71 FPS, 14.0 ms frametime
Manual memory management: 142.8 FPS, 7.02 ms frametime

Name: Anonymous 2012-09-05 11:29

This is only a problem for toy programs. Real programs comes with a specification that states the amount of memory needed. Not less, not more!

Name: Anonymous 2012-09-05 11:31

Yeah, if it doesn't include SQL Server it's not a real program.

Name: Anonymous 2012-09-05 11:46

>>197

SQL Server is garbage, a black buggy hole, it's really simple to make it crap on itself. Sure in some cases a relational database might seem to be needed, but in the end it just means that you handed over a great part of your code to a black shitty hole. That's not a real program in my book.

Name: Anonymous 2012-09-05 12:10

>>198

And it implies your program will handle an unspecified amount of data, which per definition makes it a lala-land-toy program in my book.

Name: Anonymous 2012-09-05 13:16

>>196
only works if you never have to deal with user input of any kind, or even basic data structures

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