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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Average ratio of lines, Assembly vs. C#.NET

1 点作者 insoluble将近 9 年前
I just read an article saying that NASA&#x27;s Apollo 11 &quot;space program&quot; source code was released to GitHub on July 07 2016. They say it was programmed in a variant of the Assembly programming language. From an image on the article, the source code appears to span many thousands of pages when printed on paper.<p>My question is, what is a good ball-park ratio for the <i>average</i> efficiency in terms of lines-of-code when comparing Assembly with a relatively modern language (and framework) such as C# with .NET, assuming both are well-written?<p>Naturally this question of line-count efficiency between languages depends on numerous very important factors, such as level of abstraction and redundancy, but surely there can be a ball-park range for what to expect in the <i>real world</i> with professional programmers of similar experience levels. I was unable to find good comparisons for Assembly versus current modern languages. My underlying question is how much smaller the Apollo 11 source code would be if written in a modern language and framework.

暂无评论

暂无评论