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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

My First LLVM Compiler (2015)

87 点作者 lrsjng超过 5 年前

2 条评论

JoshMcguigan超过 5 年前
I recently wrote a brainfuck compiler using Rust [0], but I targeted x86-64 asm directly. I implemented some very basic optimization (as you show at the bottom of your post), but I&#x27;d imagine llvm is able to take things much further. I&#x27;d be curious to see a performance comparison.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;JoshMcguigan&#x2F;nerve" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JoshMcguigan&#x2F;nerve</a>
评论 #20948672 未加载
quasarj超过 5 年前
So why did he use gcc to link the program at the end?
评论 #20949229 未加载
评论 #20946116 未加载
评论 #20946121 未加载
评论 #20948849 未加载