TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

73 pointsby feeleyabout 3 years ago

7 comments

chongliabout 3 years ago
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 未加载
painesabout 3 years ago
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 未加载
latenightcodingabout 3 years ago
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 未加载
bjoliabout 3 years ago
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.
n8taabout 3 years ago
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 未加载
tmalyabout 3 years ago
4k does this mean I can do arduino development with it?
评论 #31131168 未加载
pmarreckabout 3 years ago
Very interesting!