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