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

Pages: 1-4041-

I hate TCO

Name: TCO HATER 2014-05-29 16:01

Tail Call Optimization IS SHIT

Name: Anonymous 2014-05-29 16:04

Explicit loops are shit because they make it very hard to see the loop invariants.

Name: Anonymous 2014-05-29 21:44

tco my anus

Name: Anonymous 2014-05-30 7:37

>>2
Holy fuck! there's a counterargument for everything, isn't there?

Name: Anonymous 2014-05-30 7:42

>>4

no, there is my ani.

Name: Anonymous 2014-08-26 21:54

>>3
lto my anus

Name: Anonymous 2014-08-26 22:37

TCO
Total Cost of Ownership?????????

Name: Anonymous 2014-08-27 1:20

Name: Anonymous 2014-08-27 3:11

Recursion is better than loops for higher minds because it exposes a more mathematical procedure for computation. Tail call optimization makes this efficient for poorly designed stack architectures.

Name: TACO hater 2014-08-27 5:36

TACOS ARE SHIT

Name: TAKO lover 2014-08-27 11:56

TAKO WA OISHII DESU~

Name: Anonymous 2014-08-27 14:43

Is fully recursion optimisation even possible?

Name: Anonymous 2014-08-27 17:44

taco: obvious implication is vagina (roast beef taco)
tako: nihongo for octopus... octopussy.. pussy = vagina

Name: Anonymous 2014-08-27 17:51

I ate a taco once.

Name: Anonymous 2014-08-27 17:57

>>13
Octopus = tentacles = sex

Name: Anonymous 2014-08-27 18:30

All bow before the octopussy

Name: Anonymous 2014-08-27 22:14

>>14

You think that's funny? Maybe cute? What do you think when making such a low-tier post? "oh they said something about taco, I'll say 'I ate a taco once.' since it's not a expected reply. It'll be so funny and cute".

IT ISN'T
it's a dumb shit, go eat a taco again and stop this, please

Name: Anonymous 2014-08-28 1:25

>>17
I have read your post and must make a corrective assertion. From the point of view from whence my consciousness steams, I found >>14-kun's comment to be profoundly cute. So cute in fact that I remembered to a time that I too ate a taco once, and reflected personally on my own treasured moment of the past. Perhaps if everyone reflected back to a time when they ate a taco once there would be no fighting and we would have world peace. Unity and understanding through a common love of tacos.

Name: Anonymous 2014-08-28 2:23

>>18
I was about to make a post decrying Mexicans and their taco based culture as the product of ignorant subhumans that should be exterminated for the good of the white race, but then I realized that that is exactly the sort of low-effort trolling that has been plaguing /prog/ lately, and decided against it. I don't often spam inane garbage like that, but when I do, I try to do so with humor and style, which is severely lacking in many posts here. Still, there are enough people here that seem to think that this is some sort of racist site for geeks without me giving them further evidence to support that.

So, I must give thanks to >>14 chan. Without his marvelous insight, I would have never realized the damage that racism was doing to the world. Now that I have realized this, I will do my best to only proffer the absolute highest quality, non-racist posts to /prog/. I think The Sussman (RIP) would have wanted it that way.

Name: Anonymous 2014-08-28 5:02

>>19
It's not my fault I'm not funny. I was born without a funny bone. HA. HAHA.

Name: Anonymous 2014-08-28 6:36

>>14
Hey! Me too but more than once

>>17
Don't you like taco?

Name: Anonymous 2014-08-28 15:46

Taco is shit, as is all Mexican food.

Name: Anonymous 2014-08-28 16:05

>>22
But I love mexican food.
This post makes you automaticaly and forever wrong

Name: Anonymous 2014-08-28 16:37

>>23
False.

Name: Anonymous 2014-08-28 19:21

We all live confined within our own universe of truths.

Name: Anonymous 2014-08-28 19:28

>>25

you forgot about the hidden markov model.

Name: Anonymous 2014-08-28 20:00

>>25
baseless assertion

Name: Anonymous 2014-09-01 5:49

>>27
baseless assertion

Name: Anonymous 2014-09-01 11:28

I ate too many tacos. Pooping wasn't fun today.

Name: Anonymous 2016-07-17 19:25

>>9
It has nothing to do with "poorly designed" stack architectures, unoptimized tail recursion is brain-damaged since you're wasting stack space to store instructions and data that aren't needed, and can potentially cause a stack overflow. If you're using a compiler that doesn't support TCO, you should always write tail-recursive algorithms as explicit loops to avoid wasting memory.

Name: posting 2 fast 2016-07-17 19:26

Tail Call Optimization IS THE SHIT

Name: Anonymous 2016-07-17 21:26

Recursion doesn't exist. It's a fiction created by kikes to steal more money from goyim.

Name: Anonymous 2016-07-17 23:04

>>32
Recursion exists, but tail recursion is a literal meme for math majors who think they're too good for while loops.

Name: Anonymous 2016-07-18 12:06

>>33
while loops aren't impotent

Name: Anonymous 2016-07-18 23:16

The total cost of ownership is too damn high!

Name: Anonymous 2016-07-18 23:18

>>34
Of course they're not. They have the same expressive power as tail recursive algorithms, with the added benefit of not requiring optimization to avoid the potential risk of stack overflows.

Name: Anonymous 2016-07-18 23:40

Mutual recursion is easier to write than fucking around with variable declarations in branching loops. The same sometimes holds for plain self recursion as well.

Name: Anonymous 2016-07-19 1:57

Superfast!

function loopy(int)
if(int%7 == 0) return loopy(int+11)
if(int%13 == 0) return loopy(int+19) + loopy(int+1)
if(int < 0) return loopy(int+100) + loopy(int+200) + loopy(int+300)
if(int% 36 == 0) return loopy(-int)
if(int % 10 == 0) return int
return loopy(int+3)
end

Name: Anonymous 2016-07-19 6:53

Check em

Name: Anonymous 2016-07-19 7:16

>>38
What programming language is this?

>>39
What GET is this?

Name: Anonymous 2016-07-19 18:39

In continuation-passing style `tail-call optimization` is simply the result of not allocating trivial continuations. i.e. Languages without proper tail calls do not know how to eta-reduce their continuations. fucking hacks

Name: Anonymous 2016-07-19 20:18

Check em

Name: Anonymous 2016-07-22 20:46

>>41
Languages without proper tail calls
Implementation details have nothing to do with languages.

Name: Anonymous 2016-07-22 23:38

>>43
So if I wrote a REPL for C that supported garbage collection and lazy evaluation, it would still be C?

Name: Anonymous 2016-07-23 0:12

Objective-C is just an implementation detail.

Name: Anonymous 2016-07-23 6:56

>>43
Unless they're exposed to the programmer through weird usage requirements.

Name: Anonymous 2016-07-24 12:48

Check em

Name: Anonymous 2016-07-24 14:29

>>44
ANSI put all that ``undefined behavior'' in the standard so you could do that kind of thing.

Name: Anonymous 2016-07-24 15:09

>>44
Yes

Name: Anonymous 2016-07-24 16:49

There's no such thing as tail call "optimization". What you call optimization is simply tail calls done right.

https://existentialtype.wordpress.com/2016/02/22/it-is-what-it-is-and-nothing-else/

But my main point is that self-reference is not tied to functions, and that it itself does not require space (as illustrated by the latch example). If self-reference is implemented properly, there is no need for “tail call optimization”, because it’s not about calls at all.

Name: Anonymous 2016-07-24 18:26

>>50
languages
languages
languages
Fucking retard.

Name: Anonymous 2016-07-24 18:42

>>51
Without languages, we're just talking machine code. And in machine code, there's no such thing as a "tail call" - its all just GOTOs.

Name: Anonymous 2016-07-24 20:53

>>52
actually, at this level it's referred to as branches or jumps. but you're wrong, there are calls at machine code level: they're branches which save return address (see: 'call' on x86, 'bl' on arm)

Name: Anonymous 2016-07-24 21:23

>>53
he's just saying goto to sound like a retard

Name: Anonymous 2016-07-24 22:10

goto considered harmful to >>54's sanity

Name: Anonymous 2016-07-24 22:27

>>53
Call on VAX also saves registers that will be clobbered by the calee.

Name: Anonymous 2016-07-25 3:16

>>52
Machine code is a language.

Name: Anonymous 2016-07-25 18:02

>>57
Not any more than electricity is a language.

Name: Anonymous 2016-07-25 21:11

>>58
If you take a dictionary, number all the words, then use those numbers to write with, is it still a language?

Name: Anonymous 2016-07-25 21:23

>>59
825 246 230 319 862 98 426 810 976 1076

Name: Anonymous 2016-07-26 0:12

>>58
Electricity is used as a medium for machine language. You're wrong.

Name: Anonymous 2016-07-26 6:26

>>59
it is the same language as the dictionary's language, just encoded differently

Name: Anonymous 2016-07-26 14:58

>>62
Therefore electricity is assembly language.

Name: Sage 2016-07-26 23:04

Check digits

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