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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

0.1 plus 0.2

12 点作者 rtfeldman12 个月前

2 条评论

eimrine12 个月前
Common Lisp also can answer 0.3, it was the only PL able to do that when I examined all the PLs installed on my PC.
redbar0n12 个月前
Thanks for a masterfully written article, with an excellent overview of the problem and the language design choice.<p>It makes sense to have to opt-in to floats for performance in domains like scientific computing or graphics (where silent precision loss matters less). But in all other cases business logic (money etc.) would give you normal arithmetic as you would expect.<p>It also makes sense to not allow numbers to overflow to the Heap, but rather have the programmer take special care for exceptionally high numbers.<p>Having no shenanigans between the compiler output and the runtime output is also a sane choice (staying true to predictability &#x2F; determinism).<p>All in all, it sounds like good language design choices for a Web Server and Business Applications focused language such as Roc.