We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Casey Muratori
gazto Casey steps from one level of knowledge(beginner) to the other(guru) in a blink of an eye. …
»
Andrew Chronister
JohnL Yes, you are absolutely right that not every recursive solution will use tail calls (the wi…
»
John Lorre
Yes, you are absolutely right that not every recursive solution will use tail calls (the wikipedi…
»
m1el
There are algorithms that cannot be optimized "away" using tail call elimination. For example, tr…
»
Sergey Haritonov
I highly recommend anything about compiling Scheme to C, "Cheney on the MTA" being a prime exampl…
»
John Lorre
Regarding recursion and worry about stack frames. Modern compilers can optimize this away and use…
»
Andrew Chronister
New results: Recursive (Forwards): 198543 cycles Recursive (Backwards): 202639 cycles Non-recurs…
»
Andrew Chronister
Whoop, thought I sanitized all that :P PushAllArrayIndirected (what a mouthful) is just this: 1…
»
d7samurai
node and html_node are the same thing? What does PushAllArrayIndirected look like?
»
Andrew Chronister
Ah, yeah, I thought of that but wasn't sure it would make much difference. I guess since I'm only…
»
Miguel Lechón
Is it possible that you're visiting the children in a different order in the non-recursive versio…
»
Casey Muratori
As with many things, 3dmasons, it's hard to say whether something is "bad" out of context. In a …
»
Andrew Chronister
My std:: container comparison was popular on twitter, so I figured I better replicate the usage c…
»
drjeats
More code gen from the ZeroMQ / nanomsg guy: http://ribosome.ch/ I imagine a DNA reader implem…
»
Carlos Gabriel Hasbun Comandari
I remember you mentioned Steven Pinker's "The Sense of Style" in the first part of your Text Edi…
»
Andrew Chronister
Okay, so I did some initial tests and here's what I've got. The actual cycle count isn't too rele…
»
Miguel Lechón
When calling a function recursively, take also into account that the whole state of the function …
»
Andrew Chronister
abnercoimbre Check out this chapter from author V. Anton Spraul (pages 24-27) for some arguments …
»
Abner Coimbre
Check out this chapter from author V. Anton Spraul (pages 24-27) for some arguments to think about.
»
Paul
Awesome, thanks ChronalDragon!
»
Andrew Chronister
I'm writing some code that seems like it would be simpler to express using a recursive method (it…
»
Andrew Chronister
If your file structure means that a file will be included twice, the compiler will have no qualms…
»
Paul
Very interesting, Casey. Thank you greatly for your replies. In your opinion and from experience…
»
Abner Coimbre
Expanding on gazto's comments, those interested in the topic should check out Steven Pinker's mos…
»
Casey Muratori
I usually set up a dummy project, then set the "run" settings to create a custom run config to po…
»
Ori Avtalion
DomsL Is there any way to do that better? Like open from the command line? Or something that does…
»
Dominik
Hello, I'm trying to use Qt Creator for debugging on Linux (for a side project). As for now I o…
»
Benjamin Kloster
To reduce the length of lines, I sometimes like to format function calls like this: 1 2 3 4 5int…
»
Carlos Gabriel Hasbun Comandari
I agree. However, one constructive criticism I insist on the didactic side is that it seems to su…
»
Casey Muratori
The problem with const is that the C++ spec is busted, so there's no real way for the compiler to…
»