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

Pages: 1-4041-

Garbage collection wouldn't be necessary

Name: Anonymous 2016-01-14 21:16

If programmers learned not to litter

Name: Anonymous 2016-01-14 21:18

pick up that trash

Name: SuperTrash 2016-01-15 12:47

Name: Anonymous 2016-01-15 13:03

Why was the C programmer's apartment so dirty?

He was a curry nigger.

Name: Anonymous 2016-01-15 21:38

"Pick up that can, citizen!"

Manual memory management is for bootlicking fascists.

Name: Anonymous 2016-01-15 22:05

>>5
"The world would be better place without trash, so I pick it up and maybe others will too"
Nobody forces you to manage memory but the system will suffer if you don't.

Name: Anonymous 2016-01-15 22:25

It's really easy when compiling to CPS to see when you need to allocate and deallocate something. In fact, it could be compile-time GC.

Name: Anonymous 2016-01-15 22:38

I wrote Hello World! in lambda calculus when I was 12 (it still hasn't halted).

Name: Anonymous 2016-01-16 11:22

>>7
Chicken Scheme and, I'm sure, some other compilers for functional languages do this. No one has seen any real opportunity to make it into compile-time GC. You're saying you're smarter than those compiler writers?

Name: Anonymous 2016-01-16 12:23

>>7
One word: User input. Static analysis of memory requirements go out the window.
Example: Take an input string and make a sorted list of all the vowels. Compile-time GC that!

Name: Anonymous 2016-01-16 12:46

Being paranoid about your girlfriend wouldn't be necessary

if your girls wasn't a ho

Name: Anonymous 2016-01-16 13:02

>>11
* whore

Do not use degenerate negroid spelling.

Name: Anonymous 2016-01-16 13:50

>>12
negroid
*African-Americans

Name: Anonymous 2016-01-16 15:04

>>9
You're saying you're smarter than those compiler writers?
Yes

Name: Anonymous 2016-01-16 15:07

>>14
You're saying you're able to solve the halting problem?

Name: Anonymous 2016-01-16 15:23

>>15
No

Name: Anonymous 2016-01-16 15:28

>>16
And yet you say you could implement compile-time GC?

Name: Anonymous 2016-01-16 16:00

Name: >>18 2016-01-16 16:02

>>17
Are you saying that to decide if you will put free in your C program after you have put malloc you need to solve the halting problem? Please do not claim things you have no idea about.

Name: Anonymous 2016-01-16 16:02

>>17
Yes

Name: Anonymous 2016-01-16 16:06

>>18
A key element of declarative languages is that they disallow explicit memory updates (which are common operations in most other programming paradigms)
Ivory tower shit.
>>19
free and malloc aren't GC you total fucking idiot.

Name: Anonymous 2016-01-16 17:40

>>21
``Compile time GC'' is simply inserting free() at the right points in the output source.

Name: Anonymous 2016-01-16 17:47

>>22
If this is as simplistic as you believe, then http://bbs.progrider.org/prog/read/1452961602 should be no problem for you, no?

Name: Anonymous 2016-01-16 17:53

>>23
No, stop being a retard.

Name: Anonymous 2016-01-16 20:25

>>24
Thanks for explaining yourself. Everyone else is now enlightened by how clever you are.

Name: Anonymous 2016-01-17 0:37

>>25
why are you arguing with a retard? He either doesn't know this problem is undecidable and will never understand that -- in which case arguing is pointless. Or he has figured that out and is too embrassed to admit he was wring -- in which case arguing is pointless.
do something better that let idiots enjoy arguing on here! If we keep responding to them about haskell or the turing machine section of cs 101 the board will be taken over by them and we wont be able to talk about anything else.

Name: Anonymous 2016-01-17 0:52

>>26
Nice circlejerk faggot, keep spreading works you don't understand such as ``undecidable'', I bet it makes you feel better.

Name: Anonymous 2016-01-17 1:29

>>26
read >>18-chan's post

Name: Anonymous 2016-01-17 2:11

>>28
A complementary form of automatic memory management

you still need a runtime GC along with this. It just means the runtime GC does less.

Name: Anonymous 2016-01-17 2:15

>>28
also if you're pointing me at this because you're actually interested in compile time GC (and aren't just just some shitter wasting peoples time trying to prove that a thing you said is "right") you should read matt mights thesis - it has a chapter on abstract GC.

Name: Anonymous 2016-01-17 4:01

>>26
You're the stupid /g/ faggot, and you have no right to meta-circlejerk with us.

Name: Anonymous 2016-01-17 11:22

>>28
Learn to use honorifics properly, and read >>21-cudder's quote.

Name: Anonymous 2016-01-18 5:18

>>32
cudder is a shitty namefag

Name: Anonymous 2016-01-18 6:41

>>33
Who are you quoting?

Name: Anonymous 2016-01-18 7:49

>tfw when you will never cuddle with cudder
why live?

Name: Anonymous 2016-01-18 7:52

>>35
I don't know who cudder is but I suspect that they're not relevant to this message board.

Name: Anonymous 2016-01-18 9:11

>>35
cuddle my anus

Name: Anonymous 2016-01-18 12:12

>>36
*she

Name: Anonymous 2016-01-18 12:14

>>35
>>36
stop giving attention to namefags

Name: Anonymous 2016-01-18 15:38

>>39
optimise you are fucking quotes

Name: Anonymous 2016-01-18 16:12

>>40
optimise my anus!

Name: Shlomo Lispberg 2016-01-18 17:41

Welcome to C. You must be new. Enjoy your malloc() and free().

Seriously, go crank open an old school book on actual Computer Science sometime, as opposed to the standard Java diploma mill schmutz that mostly gets pumped out nowadays. The more I (slowly) learn, the more I realize there's bugger all math or science involved in 99% of today's mainstream programming and languages. It's mostly bureaucracy, ideology, and good ole John Wayne cowboyism; just high-functioning Dunning Kruger-ism.

To quote Guy Steele (before he went to the dark side): "The most important concept in all of computer science is abstraction."

Everything else is just the tedious mechanical crap you've gotta wade through on your way to being able to say what you mean. And modern mainstream languages are *fantastically good* at drowning that one simple truth under such infinite barrels of crap. Sorry, but if your only pleasure in life is spelunking code all day, every day, there is something wrong with you as a person. Go write a metacircular evaluator. I'll wait.

Name: Anonymous 2016-01-18 21:01

>>42
The wisest thing ever said on /prog/ was that programming is demeaning. My kneejerk reaction was that this was wrong, but after puzzling over it for a few years, I can see the brilliance of it. Anonymous wasn't speaking of the nature of programming, or an idealized programming, or anything like that, he was speaking of programming as it is practiced. Programming in C or Java is not an mental exercise (though it too often is mental masturbation), it is a menial one. One does not create universes by fiddling with electrons, electrons are just a building block. Likewise, it is likely to be impossible for a human programmer to ever creating meaningful programs while he is tethered to the ground by his limited toolset. Languages like Scheme set the programmer free from the tedious shackles of manual memory management, and allow him to instantly begin exploring the beautiful side of programming. Lisp is a language for humans, C is a language for computers. To program in C (or any other low level language), one forces oneself to subsume the role of the computer, to become it. How is that fitting for great beings such as ourselves?

Name: Anonymous 2016-01-18 22:08

>>43
It's a trade off. Do you want fine control over the computer? The price to pay for this control is a more complex programming paradigm as you're required to specify the details of what to control. If you prefer a more abstract programming paradigm, there are other languages that are designed to automatically manage the machine bookkeeping aspect of programming.

I like C and I use it for what it is good for: a systems level programming language good for writing operating systems, compiler tools and other applications that would benefit from explicit programmer control. Most of the applications that I write don't need such level of control so I prefer to reduce my cognitive burden by using a more abstract language. Scheme is my general purpose language of choice.

Name: Anonymous 2016-01-19 2:35

You wanna know what's a good systems language, vee-echci-fucking-dee-ell.

Name: Anonymous 2016-01-19 3:20

the average gro needs GC bc he can't into low level stuff

Name: Anonymous 2016-08-24 2:17

If Java has garbage collection, why doesn't it collect itself?

Name: Anonymous 2016-08-24 2:22

>>47
Because it's not a Lisp dialect.

Name: Anonymous 2016-08-24 5:02

>>7
only if you put certain restrictions on the code, that lisp/scheme don't.

i know mercury has compile-time gc

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