/explore
|
You are here |
azdavis.net | ||
| | | | |
blog.moertel.com
[AI summary] A technical guide explains how to manually convert recursive Python functions into iterative ones using a simple method and the accumulator pattern to avoid stack overflow limits. |
|
| | | | | ||
| | | | |
hurryabit.github.io
I demonstrate how to (ab)use generators to transform any recursive function into an iterative one with nearly zero code changes. |
|
| | | | | ||
| | | | |
recursion.wtf
This is a post about writing elegant and performant recursive algorithms in Rust. It makes heavy use of a pattern from Haskell called recursion schemes, but you don't need to know anything about that; it's just an implementation detail. Instead, as motivation, I have benchmarks showing a 14-34% improvement over the typical boxed pointer representation of recursive data structures in Rust. |
|
| | | | | ||
| | | | |
javascript.crockford.com
[AI summary] The provided text outlines the implementation of a parser and interpreter for a custom programming language, using a Pratt parsing approach. It details the structure of tokens, the handling of expressions, statements, and control flow, as well as the implementation of functions, objects, and arrays. The text also discusses potential extensions and enhancements to the language. |
|
| | | |||