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

Pages: 1-

GC is shit.

Name: Anonymous 2011-10-26 16:08

Why can't everyone just use C++ and C and throw away all GC-languages.

It's simple, just write all your applications in C++ and all your OSs in C and everything will be fast and beautiful.

Is there any place where using GC would actually benefit in any way? I think not.

Name: Anonymous 2011-10-26 16:12

state is shit.

Name: Anonymous 2011-10-26 16:13

Why can't everyone just use Java and Python and throw away all C-languages.

 It's simple, just write all your applications in Java and all your OSs in Python and everything will be easy and beautiful.

 Is there any place where using C would actually benefit in any way? I think not.

Name: Anonymous 2011-10-26 16:16

Why can't everyone just use BBCode and Bonerlang and throw away all real languages.

It's simple, just write all your applications in BBCode and all your OSs in Bonerlang and everything will be easy and beautiful.

Is there any place where using anus would actually benefit in any way? I think not.

Name: Anonymous 2011-10-26 16:21

GC is used to avoid mutable state.

for problems that don't directly have to do with hardware (that is, most software problems) memory is an irrelevant thing and worrying about it is completely crippling to designing a good solution. RIAA is a stupid hack.

Name: Anonymous 2011-10-26 16:29

memory is an irrelevant thing
It's relevant if you are programming computers.

Name: Anonymous 2011-10-26 16:32

avoid mutable state
Almost never worth it.

Name: Anonymous 2011-10-26 16:34

I dislike GC but CL gives me orgasms so I use it anyway.

Name: Anonymous 2011-10-26 17:01

>>1
Fuck off and die you fucking faggot.

Name: Anonymous 2011-10-26 17:27

>>7
It's almost never worth it in the case that you have to manually manage memory. No argument there.

Name: Anonymous 2011-10-26 22:02

>>7
with the increasing number of cores and not good ways to halve the work between them, having no state can help implement correct parallel programs with STM or data parallelism

Name: Anonymous 2011-10-26 22:45

>>6
no it's not. 90% of the time it has nothing to do with the problem you're solving.

Do you worry about CPU registers? Caches? microcode? Why is it OK to abstract some of the machine but not all of it?

Name: Anonymous 2011-10-26 22:54

>>12
You don't?

Name: Anonymous 2011-10-26 23:44

>>13
No. I don't write device drivers. I don't write math libraries. I write applications. I write front-ends and back-ends for databases. I write "business logic." I write server code that needs to be portable and scalable. I write GUIs. I write network layers.

I am the 99%.

Name: Anonymous 2011-10-26 23:47

So you are saying optimizations are not necessary on those things?

Name: Anonymous 2011-10-27 0:31

>>14
Nope. There is no 99% that wholly cares (or doesn't) about memory. Too many PHP/Ruby/Python kids, yet not enough. You'll get about 30% who can care much about memory and the rest are at the mercies of their runtime.

(And if you're writing a DB backend without caring about the CPU, please let me know what your product is so I can avoid it. There are too many players in that game to put up with crap. I will take any chance to make the shortlist shorter.)

Name: Anonymous 2011-10-27 3:14

So the people who care about optimizing memory are:
- performance matters
- CPU is bottleneck
- have to run on single core

This is clearly a minority.

Name: Anonymous 2011-10-27 3:23

>>17
Use the right tool for the job. The requirements of the system ought to dictate which tools you will need to use to deliver the system.

Name: Anonymous 2011-10-27 3:25

>>18
sure.

And I'm saying, for most programmers, who don't have that particular combination of factors, GC is almost a requirement. To not use it is to not use the right tool for the job.

Name: Anonymous 2011-10-27 3:30

C++ is such a good garbage-collected language because it creates so little garbage that needs to be collected

Name: Anonymous 2011-10-27 3:32

>>19
There is absolutely no case where GC is a requirement.

Name: Anonymous 2011-10-27 3:44

>>21
avoiding working on irrelevant bullshit and letting it leak into your designs and brains is always a requirement.

Name: Anonymous 2011-10-27 4:05

>>22
nice dubs bro

Name: Anonymous 2011-10-27 4:22

Why can't everyone who have no clue of programing go back to /b/ and not try to repeat the shit that he read here so he looks likes he is not a usless piece of shit?

Name: Anonymous 2011-10-27 5:26

not popping the stack
2011

GC is for faggots.

Name: Anonymous 2011-10-27 6:22

>>25
/backplate getgoes/!

Name: Anonymous 2011-10-27 12:31

>>24
I'm pro-GC and I've written well over 10000 hours of C/C++

I became pro-GC when I realized that the same amount of work could have been 2000 hours.

Name: Anonymous 2011-10-27 12:36

python

Name: Anonymous 2011-10-27 12:40

>>28
LOL @ the cute little phythonista faggot.

Learn a real language, kid. C'mon now, it's 2011 already.

Name: Anonymous 2011-10-27 12:52

i never became a pro-gc
i was born a pro-gc
i dont code i paint

Name: Anonymous 2011-10-27 16:59

Garbage collection is bullshit. The Universe doesn't use garbage collection, it uses pre-allocation. Biology doesn't use garbage collection, it uses cellular respiration and transcription. Real programmers don't use garbage collection either.

Name: Anonymous 2011-10-27 17:20

if you lrn2stl you basicly never need to worry bout calling new/delete by yourself

Name: Anonymous 2011-10-27 17:34

>>31
eerrr because you said the universe function that way is true?

also accepting what you say is true (which i don't), we as a species have a long history of anti-nature behavior and we have done fine (say for example change the course of a river for our own benefit)

Name: Anonymous 2011-10-27 17:36

>>31
holy shit that's why people hate C programmers,
they can switch some pointees and suddenly
>I am the master of the universe hurr durr derp!?
>Implying you know how the universe werks

Name: Anonymous 2011-10-27 17:37

>>34
Back to /g/, ``please''!

Name: Anonymous 2011-10-27 19:53

>>31
fuck off and die you cock sucking piece of shit

Name: Anonymous 2011-10-27 21:17

>>31
the universe does not keep track of "owners"

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