TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ribbit Scheme bootstraps with Posix shell while supporting TCO, call/cc and GC

73 点作者 feeley大约 3 年前

7 条评论

chongli大约 3 年前
I hate to be pedantic here but I see the term TCO thrown around all the time. The Scheme standard requires that unbounded tail call functions can run in constant space.<p>This is a semantic difference, not an optimization. Turning off optimizations should never cause your program to crash.
评论 #31129042 未加载
评论 #31131176 未加载
paines大约 3 年前
I am not sure if I understand correctly. So this is a scheme running on a scheme. You need e.g. Chicken to compile&#x2F;minify it and then run it via Gambit.... Why? Why would I do, except of learning puroposes of course, do such thing. I clearly am missing something.
评论 #31108487 未加载
latenightcoding大约 3 年前
the code is very cryptic: for example the go source: <a href="https:&#x2F;&#x2F;github.com&#x2F;udem-dlteam&#x2F;ribbit&#x2F;blob&#x2F;main&#x2F;src&#x2F;host&#x2F;go&#x2F;rvm.go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;udem-dlteam&#x2F;ribbit&#x2F;blob&#x2F;main&#x2F;src&#x2F;host&#x2F;go&#x2F;...</a><p>the C one has better comments, I imagine that&#x27;s the reference implementation? <a href="https:&#x2F;&#x2F;github.com&#x2F;udem-dlteam&#x2F;ribbit&#x2F;blob&#x2F;main&#x2F;src&#x2F;host&#x2F;c&#x2F;rvm.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;udem-dlteam&#x2F;ribbit&#x2F;blob&#x2F;main&#x2F;src&#x2F;host&#x2F;c&#x2F;r...</a>
评论 #31131100 未加载
bjoli大约 3 年前
Wow Marc! I see all your fun projects all the time and I feel sad I have so little time to play with them!<p>I will make sure to dive into the internals of this during my vacation, though.
n8ta大约 3 年前
Very cool. For someone with moderate compilers &amp; POSIX experience but no scheme experience why does it take 5 hours to bootstrap from POSIX?
评论 #31132377 未加载
tmaly大约 3 年前
4k does this mean I can do arduino development with it?
评论 #31131168 未加载
pmarreck大约 3 年前
Very interesting!