给上世纪的老编译器做移植,能有多折磨?
原创
一个专为Transputer芯片写死的C编译器,作者硬要把它变成跨平台可移植的——这操作怎么看都像给自己挖坑。Transputer是80年代并行处理器的代表,它的编译器从指令映射到内存模型,每一层都焊死在那套架构上。移植不是改几行代码的事,你得把整个编译器后端拆掉重搭,还得同时伺候现代工具链和一堆上古约束。这种活干的不是工程,是考古。但偏偏有人爱干这活,大概是因为当一份"注定不可移植"的代码终于在新平台上编译通过时,那种满足感,比换个框架再重跑一遍测试要真实得多。
原文:Making portable my unportable transputer C compiler · 来源:Hacker News
版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
相关文章
- Microsoft's Agent Framework PyPI package compromised to steal credentials
- Nvidia's Seven Billionaires Have Lost a Third of Their Wealth
- Stabyourself.net Games
- 【IT 早报】2026年11月19日 - 本周要闻与趋势
- 从均匀平铺到自适应路由:RINs 如何让扩散生成提速 10 倍?
- Claude Code makes a finished subagent send its report twice (70-second repro)
- Becerra faces a $2B budget deficit as potential AI bust looms
- Show HN: Agent Hive – cute Grokbot like agentic teams with queen and many bees
- Show HN: Lazycow Studio – turns footage you never edited into reels, locally
- Experiments in Weight-Space Programming
最新文章
- Microsoft's Agent Framework PyPI package compromised to steal credentials 7分钟前
- Nvidia's Seven Billionaires Have Lost a Third of Their Wealth 9分钟前
- Stabyourself.net Games 1小时前
- 【IT 早报】2026年11月19日 - 本周要闻与趋势 1小时前
- 从均匀平铺到自适应路由:RINs 如何让扩散生成提速 10 倍? 2小时前
- Claude Code makes a finished subagent send its report twice (70-second repro) 2小时前
- Becerra faces a $2B budget deficit as potential AI bust looms 2小时前
- Show HN: Agent Hive – cute Grokbot like agentic teams with queen and many bees 3小时前
- Show HN: Lazycow Studio – turns footage you never edited into reels, locally 3小时前
- Experiments in Weight-Space Programming 3小时前
itfan123






