#tailcall
A tail-call interpreter in nightly Rust

#indiedev #rustlang #gamedevelopment #gamedev
2026-04-05-tailcall
www.mattkeeter.com
July 17, 2026 at 9:40 PM
A tail-call interpreter in nightly Rust

#indiedev #gamedevelopment #gamedev #rustlang
2026-04-05-tailcall
www.mattkeeter.com
August 13, 2026 at 1:11 PM
20 minutes in and we’re implementing macros and tailcall optimization (gonna skip screenshots from now on and just record notes and share the full session when we’re done—for some definition of done)
June 2, 2026 at 6:34 AM
ahh really good work on the TailCall() demo
April 25, 2024 at 3:46 PM
Taking inspiration from the ridiculous microbenchmark, made a LLM generate functions for generating actual nested loops functions after feeding it the #RStats language definition,Luke Cherney's codetools and some gratuitous #tailcall for the connaisseurs
sounkou-bioinfo.github.io/ridiculousBu...
August 14, 2025 at 9:42 PM
tailcallhq / tailcall: A high-performance GraphQL platform ★948 https://github.com/tailcallhq/tailcall
tailcallhq / tailcall
A high-performance GraphQL platform
github.com
February 3, 2024 at 8:44 AM
#rstats #adventofcode tail recursion for day 07 b
December 7, 2024 at 9:23 PM
Make n high enough and you’ll get the famed ‘stack overflow’. I think its about 10000. That’s why you don’t see it in the wild.

However there is s technique to avoid the overflow, see Tailcall().
November 6, 2025 at 8:36 PM
After seeig some recent commits on the #Rstats source tree around R_TailCall github.com/r-devel/r-sv... , this post from stackoverflow was quite interesting to read #esoterica stackoverflow.com/questions/78...
Optimization of tail recursion in R
Since version 4.4.0, R supports tail recursion through the Tailcall function. I automatically assumed that it means an improvement for codes that use tail recursion. However, consider the following
stackoverflow.com
May 6, 2026 at 1:25 AM
📦 tailcallhq / tailcall
⭐ 352 (+14)
🗒 Rust

A high-performance no-code GraphQL backend
GitHub - tailcallhq/tailcall: A high-performance no-code GraphQL backend
A high-performance no-code GraphQL backend. Contribute to tailcallhq/tailcall development by creating an account on GitHub.
github.com
January 2, 2024 at 9:50 PM
i was wondering how the recursive iteration stuff works out on javascript since you don't get guaranteed tailcall optimization. But turns out, you should use the `gleam/list` or `gleam/iterator` modules instead anyway. though tailcall optimization works great on the beam from what i can tell
March 14, 2025 at 6:33 AM
#OCaml developers are called Cameleers?
August 14, 2024 at 4:29 PM
Yes it is, and we don't need a specific keyword.

On the other hand there is currently no guarantee of tail-call optimization I think.
A RFC is in progress about this: github.com/rust-lang/rf...
And there is a crate: docs.rs/tailcall/lat...
So I'm for now a bit lost as a functional programmer...
July 18, 2025 at 1:45 PM
dev version of #rstats has experimental TailCall support. Here's what that means. Suppose we have a recursive function for reversing a function. The recursive idea is that you reverse a vector by moving the first element to the start of a new vector until you are all out of elements.
January 4, 2024 at 6:56 PM
Here is the function with Tailcall(). Only 1 line changes

tc_rev <- function(xs) {
tc_rev_iter <- function(acc, xs) {
if (length(xs) == 0) {
acc
} else {
acc <- c(xs[1], acc)
# recursion!!!
Tailcall(tc_rev_iter, acc, xs[-1])
}
}
tc_rev_iter(xs[0], xs)
}
January 4, 2024 at 7:06 PM
Scaling #GraphQL from thousands of requests to 500M/min! Watch Tushar Mathur break down how their team of 1000+ engineers handled massive growth without federation, plus unveil an open-source solution for optimal API design. youtu.be/RVBxFi88H1o
Lessons from Scaling GraphQL to Half a Billion Requests per Minute
Tailcall CEO & Founder @tusharmath shares the scaling challenges they faced within a hyper-growth startup, focusing on the infrastructure, organizational ch...
www.youtube.com
April 7, 2025 at 3:34 PM
lying in bed, about to fall asleep, my mind blurts out, "hey do you think the experimental tail call optimization in #RStats devel works on mutual recursion?" Let's see... Yes!
January 5, 2024 at 2:41 PM
JIT: Count `EXPLICITTHIS` args correctly in tailcall stress (114368) https://github.com/dotnet/runtime/pull/114368
JIT: Count `EXPLICITTHIS` args correctly in tailcall stress by jakobbotsch · Pull Request #114368 · dotnet/runtime
The validation that checks if tailcall stress is allowed to kick in was not handling EXPLICITTHIS correctly. Fix #114213
github.com
April 8, 2025 at 8:31 AM
see also Recall() and Tailcall()
April 1, 2025 at 6:37 PM
Design a GraphQL Schema So Good, It'll Make REST APIs Cry Discussion
Design a GraphQL Schema So Good, It'll Make REST APIs Cry | Tailcall
Learn how to design a robust, scalable GraphQL schema. Best practices and considerations to build a schema that can evolve with your application's needs.
tailcall.run
July 17, 2024 at 9:00 AM
A tail-call interpreter in (nightly) Rust
https://www.mattkeeter.com/blog/2026-04-05-tailcall/
[comments] [28 points]
April 5, 2026 at 5:03 PM
CVE-2025-38723 - LoongArch: BPF: Fix jump offset calculation in tailcall
CVE ID : CVE-2025-38723

Published : Sept. 4, 2025, 4:15 p.m. | 56 minutes ago

Description : In the Linux kernel, the following vulnerability has been resolved:

LoongArch: BPF: Fix jump offset calcu...
CVE-2025-38723 - LoongArch: BPF: Fix jump offset calculation in tailcall
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix jump offset calculation in tailcall The extra pass of bpf_int_jit_compile() skips JIT context initialization which essentially skips offset calculation leaving out_offset = -1, so the jmp_offset in emit_bpf_tail_call is calculated by "#define jmp_offset (out_offset - (cur_offset))" is …
cvefeed.io
September 4, 2025 at 7:30 PM