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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ivy big number calculator for iOS, © 2015 the Go Authors, sold by Google, Inc

14 点作者 gldnspud将近 10 年前

4 条评论

akhilcacharya将近 10 年前
More information here -<p><a href="https:&#x2F;&#x2F;sourcegraph.com&#x2F;blog&#x2F;live&#x2F;gophercon2015&#x2F;123653512740" rel="nofollow">https:&#x2F;&#x2F;sourcegraph.com&#x2F;blog&#x2F;live&#x2F;gophercon2015&#x2F;123653512740</a><p>&quot;Example of porting a Go application to mobile ivy is a command line tool developed by Rob Pike.<p>It’s a useful desktop calculator that hangles big int, rational and floating-point numbers, vectors, matrices. It’s an interpreter for an APL-like language.<p>It is ~5k lines of Go code (not including tests, docs). It imports math, math&#x2F;big, unicode, etc.<p>Rewriting all that in Java or Objective-C would be a lot of work and is a non-starter, since this is already just works in Go.<p>After 2 hours, Hana had a working prorotype.&quot;
评论 #9866602 未加载
gldnspud将近 10 年前
I found this via <a href="http:&#x2F;&#x2F;9to5mac.com&#x2F;2015&#x2F;07&#x2F;10&#x2F;google-ivy-experimental-big-number-calculator&#x2F;" rel="nofollow">http:&#x2F;&#x2F;9to5mac.com&#x2F;2015&#x2F;07&#x2F;10&#x2F;google-ivy-experimental-big-nu...</a>.<p>That article speculated that it&#x27;s a &quot;companion tool for the [Go Programming Language] project&quot;.<p>I couldn&#x27;t find any other references to iOS apps written using Go, so I&#x27;m going to speculate that Ivy itself was written in Go. :-)
评论 #9866444 未加载
ctdonath将近 10 年前
While I understand accurate handling of big numbers is difficult, I&#x27;m surprised it&#x27;s not the general norm for calculator programs&#x2F;apps by now. Glad to see someone has done so (not the first, but they are rare).
minimaxir将近 10 年前
...for certain definitions of big. 1e100000000 causes an app lock.<p>Also, what is going on with that app icon? Many startups nowadays have forced quirky-and-random mascots, but here it doesn&#x27;t make much sense.
评论 #9866620 未加载
评论 #9866219 未加载