什么是尾调用优化为F#的当前状态在Mono(2.11)? [英] What is the current state of tail-call-optimization for F# on Mono (2.11)?

查看:280
本文介绍了什么是尾调用优化为F#的当前状态在Mono(2.11)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是尾部调用优化(TCO)实现对单声道(2.11)的当前状态?读的地方,所有的codeBase的需要进行修改,以使用被叫方,持久性有机污染物的参数约定。什么是这种变化的状态?是ARM / Linux移植最新的关于此事?

What is the current state of Tail Call Optimization (TCO) implementation on Mono (2.11) ? Read somewhere that all the codebase would need to be modified to use a callee-pops-arguments convention. What is the status of this change ? Is the ARM/Linux port up to date on this matter ?

谢谢!

推荐答案

尾调用肯定对单在Linux上工作 - 测试使用

Tail calls definitely work on mono on linux - tested using

let rec f a = f (a+1)

这没有崩溃 - 在Mono 2.9.2测试

which didn't crash - tested on Mono 2.10.2

从布赖恩链接测试 - https://bugzilla.novell.com/show_bug。 CGI?ID = 476785

Tested with link from Brian - https://bugzilla.novell.com/show_bug.cgi?id=476785

这篇关于什么是尾调用优化为F#的当前状态在Mono(2.11)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆