Must tail call attribute in D?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Aug 21 19:01:11 UTC 2024
On 22/08/2024 12:22 AM, Dmitry Olshansky wrote:
> https://blog.reverberate.org/2021/04/21/musttail-efficient-interpreters.html
>
> This returns me back to threaded code VM for std.regex, AFAICT it was
> blocked because I only could get tail calls in optimized build.
> Otherwise it was going to blow up the stack, particularly if it was
> small fiber stack.
>
> What do you think is it feasible to enable in D?
>
> ——
> Dmitry Olshansky
> CEO @ [Glow Labs](https://glow-labs.pro)
> https://olshansky.me/about/
Likely.
https://llvm.org/docs/LangRef.html#id331
``musttail``
More information about the Digitalmars-d
mailing list