- 主题:Apple从Java转向Swift:硬件利用率降低 50%,内存减少 90%,吞
An internal Apple developer team revealed in a new case study that “Java’s memory management approach no longer aligns with our growing demands and efficiency goals.”
The team is now looking for more efficient languages, and in this example chose Swift, achieving a claimed 50 percent reduction in hardware utilization, 90 percent less memory, and 40 percent more throughput.
It is possible that another aspect of the port, a near 85 percent reduction in lines of code, was more significant than the memory management. The team identified aspects of Swift which resulted in cleaner and more concise code, including an emphasis on protocols (interfaces) rather than inheritance, the use of async and await for concurrency, and type safety which eliminates the need for null checks.
--
FROM 223.166.244.*
Apple从Java转向Swift:硬件利用率降低 50%,内存减少 90%,吞吐量提高 40%,代码减少了 85%
--
FROM 223.166.244.*
啥?我还以为swift语言没有人用了呢
【 在 bsxfun 的大作中提到: 】
: Apple从Java转向Swift:硬件利用率降低 50%,内存减少 90%,吞吐量提高 40%,代码减少了 85%
硬件利用率 这个说法,有歧义啊
--
FROM 116.1.3.*
啥,apple什么时候用java了
--
FROM 120.244.55.*
自己去apple的G网看,Apple有很多后端服务和企业应用是基于Java的,并且为很多开源Java项目做贡献。
【 在 hothail 的大作中提到: 】
: 啥,apple什么时候用java了
--
FROM 117.186.5.*
擦,为啥apple的官网地址发不出来,就是例举其参与的开源项目的那个网站,自己找吧
--
FROM 117.186.5.*
苹果要完啊
swift写后台是能的,还有个官方网页,但这个基本自己都不用的东西
现在拿出来讲,怕不是 “精简经费”要求
以前java可以,现在就不行了?非也,怕是没钱了。。。
【 在 bsxfun 的大作中提到: 】
: 自己去apple的G网看,Apple有很多后端服务和企业应用是基于Java的,并且为很多开源Java项目做贡献。
:
--
FROM 120.244.55.*
这有点离谱,不用java也是go吧
【 在 bsxfun 的大作中提到: 】
: An internal Apple developer team revealed in a new case study that “Java’s memory management approach no longer aligns with our growing demands and efficiency goals.”
: The team is now looking for more efficient languages, and in this example chose Swift, achieving a claimed 50 percent reduction in hardware utilization, 90 percent less memory, and 40 percent more throughput.
: It is possible that another aspect of the port, a near 85 percent reduction in lines of code, was more significant than the memory management. The team identified aspects of Swift which resulted in cleaner and more concise code, including an emphasis on p
: ...................
--
FROM 120.244.14.103
技术考虑是对的
但G开头的,就不能用了
apple旧病复发,重新发明轮子了
- 来自 水木社区APP v3.5.7
【 在 PaoloMaldini 的大作中提到: 】
: 这有点离谱,不用java也是go吧
--
FROM 223.104.41.*
swift开发,要收钱才给你用来开发的吧?
--
FROM 117.143.149.*