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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Portability Is Reliability

63 点作者 adr_大约 4 年前

6 条评论

slver大约 4 年前
Focusing all your might on a single platform can give you reliability and even better performance, and is less work.<p>Focusing on portability gives you a set of abstractions to build upon, that will take your time, reduce performance often, and limit your capabilities. But... it can also make you have a better mental problem of the problem you&#x27;re solving, and allow you to move faster when underlying details change.<p>Like everything, it has ups and downs, I think.
lmm大约 4 年前
I don&#x27;t find the defence in depth approach appealing, because it&#x27;s never going to get you to 100% reliability. Rather than adding six swiss-cheese layers and hoping the holes don&#x27;t line up, it would be better to spend more time and effort on a single really solid layer.<p>For the same reason, I don&#x27;t find the argument for fixing bugs in C codebases at all compelling (at least if we&#x27;re talking about &quot;micro&quot; bugs rather than overall architecture issues that might carry over to a future rewrite). Sure, there&#x27;s a lot of C out there. Sure, a lot of the bugs in that C code are findable. But so what? However many bugs you uncover, you&#x27;re unlikely to find them all, and even if you did then how would you know? So isn&#x27;t fixing bugs in existing C codebases just throwing good money after bad? You know you&#x27;re inevitably going to have to rewrite it all eventually anyway.
评论 #27060159 未加载
评论 #27061149 未加载
评论 #27061243 未加载
评论 #27060303 未加载
评论 #27062122 未加载
评论 #27061974 未加载
not2b大约 4 年前
Eric Raymond, not Linus Torvalds, said the &quot;given enough eyeballs&quot; quote. Unfortunately there aren&#x27;t enough eyeballs, so bugs linger for years anyway.
评论 #27061511 未加载
legulere大约 4 年前
Portability is complexity. Complexity is diametrically opposed to reliability.
评论 #27061387 未加载
评论 #27061743 未加载
nottorp大约 4 年前
Nooo node&#x2F;electron should be enough for everyone.<p>Before node&#x2F;electron, that was msvc.<p>There is also the occasional article stating that people with multiplatform development experience are simply better at debugging their code.
jart大约 4 年前
Don&#x27;t let s390x and msvc drink your milkshake.