Show HN: Slate, a C to Rust Transpiler for multiple targets
Hey HN, For the past half year I've been working on Slate, my C to Rust transpiler. Slate parses C code as gcc/clang/msvc would, and then translates code to rust. The best supported "flavor" as I call them is clang, with clang flavor I've been able to translate the Linux kernel (built for x86_64 defconfig) and booted the built vmlinux to a busybox shell. Code is here: https://github.com/takashiidobe/slate-linux . Same for projects like Cpython: https://github.com/takashiidobe/slate-pyt
阅读原始来源来源记录
指标快照
points · 2 votes
2026-11-26 15:15:34.721Z
cumulative since publication
研究分析
项目记录
仓库:takashiidobe/slate。 来源描述:Hey HN, For the past half year I've been working on Slate, my C to Rust transpiler. Slate parses C code as gcc/clang/msvc would, and then translates code to rust. The best supported "flavor" as I call them is clang, with clang flavor I've been able to translate the Linux kernel (built for x86_64 defconfig) and booted the built vmlinux to a busybox shell. Code is here: https://github.com/takashiidobe/slate-linux . Same for projects like Cpython: https://github.com/takashiidobe/slate-pyt
采用记录与比较对象
来源票数: 2 votes (2026年11月26日 UTC; cumulative since publication) 可供比较的近期同类记录:“VUILabsAI/Luna-Translator” (Trendshift, 2026年11月27日);“ZigZagBoi1/ScarlettPort” (Trendshift, 2026年11月27日)。主题相近仅用于导航,未核验其是否属于同一需求或独立证据。
采用判断
应与它要替代的工具或人工流程比较。现有记录支持发现项目,尚不能确认可靠性、运行成本优势或商业采用。
尚未核验的门槛
尚未核验:许可证权限、硬件要求、安装步骤、维护状态,以及包含失败样例的代表性任务。
下一步试验
选择一个真实任务和现有替代方案,记录 commit、环境、输入、输出、耗时与失败行为;保留结果后再给出采用建议。