TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

0.1 plus 0.2

12 pointsby rtfeldmanabout 1 year ago

2 comments

eimrineabout 1 year ago
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.
redbar0nabout 1 year ago
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.