Hi all,
PicoLisp now has a kind of tail call optimization!
Despite my belief that this feature should never be needed, many people
asked for it.
As always in PicoLisp, it is completely under the programmer's control.
Two new functions 'tco' (tail call optimization) and 'tc' (the actual tail
call
On Sat, Feb 8, 2025 at 10:16 AM Alexander Burger
wrote:
>
> PicoLisp now has a kind of tail call optimization!
>
>
👍 👍 Yes! I am looking forward to trying this
/Lindsay
On Sat, Feb 8, 2025 at 10:16 AM Alexander Burger
wrote:
>
> PicoLisp now has a kind of tail call optimization!
>
> https://software-lab.de/doc/refT.html#tco
>
>
Hi Alex,
I just downloaded the rolling release, but it seems to be missing picolisp
"bin/picolisp: not found"
Other bits like httpG
On 08-02-2025 20:41, Lindsay Lawrence wrote:
On Sat, Feb 8, 2025 at 10:16 AM Alexander Burger
wrote:
PicoLisp now has a kind of tail call optimization!
https://software-lab.de/doc/refT.html#tco
Hi Alex,
I just downloaded the rolling release,
why you do not use git for distribution?
ht
On Sat, Feb 8, 2025 at 11:41 AM Lindsay Lawrence <
lawrence.lindsayj...@gmail.com> wrote:
> I just downloaded the rolling release, but it seems to be missing
> picolisp "bin/picolisp: not found"
> Other bits like httpGate etc are missing from bin/ as well.
>
>
Please disregard this previous e
On Sat, Feb 8, 2025 at 10:16 AM Alexander Burger
wrote:
> PicoLisp now has a kind of tail call optimization!
>
I gave 'tco' a try. I appreciate the syntax. The similarity with existing
recur syntax
makes it trivial to convert code where tail calls are possible.
In my bench tests below with a b
On 09-02-2025 04:23, Lindsay Lawrence wrote:
On Sat, Feb 8, 2025 at 10:16 AM Alexander Burger
wrote:
PicoLisp now has a kind of tail call optimization!
I gave 'tco' a try. I appreciate the syntax. The similarity with
existing recur syntax
makes it trivial to convert code where tail call
Hi Lindsay,
> In my bench tests below with a bst search, tail call is on par with
> iterative and consistently slightly faster then recur.
Very nice insights! Thanks a lot!
☺/ A!ex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe