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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The half strap: self-hosting and Guile

82 点作者 epsylon超过 9 年前

2 条评论

davexunit超过 9 年前
I've built the new Guile from source a handful of times now. It's definitely a slow process, but I'm very grateful that Guile doesn't require an older version of itself in order to build like a lot of other self-hosted languages. Self-hosting is good, but it's imperative that users can bootstrap on their own so that they don't have to place trust in a pre-built binary of the compiler in order to build the compiler. For example, Go has a self-hosted compiler now, but you don't need to trust a pre-built Go compiler binary to build Go, because you can bootstrap it using gccgo.
评论 #10894872 未加载
评论 #10895036 未加载
评论 #10895775 未加载
outworlder超过 9 年前
I like Chicken Scheme&#x27;s take on this. Since Chicken&#x27;s compiler always generates C code, which is then compiled by GCC (or Clang), one just releases both the source and the compiled scheme files(which are C sources).<p>Then, it&#x27;s just &quot;make&quot; as usual.<p>I&#x27;ve even used this strategy to run a scheme program on iOS, trivially. You just have to ask it to stop at the C code generation and not invoke the C compiler. You then insert both chicken&#x27;s C code and your program&#x27;s in the xcode project, and call libchicken&#x27;s initialization code from Objective-C. And then compile the whole blob with clang.<p>EDIT: :%s&#x2F;compiled C&#x2F;compiled scheme&#x2F;g
评论 #10896449 未加载