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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Thoughts on Objective-C and how it might/should evolve

7 点作者 samiq超过 14 年前

2 条评论

devmonk超过 14 年前
How about Obj-C that eliminates all of the memory alloc/dealloc and runs in the JVM? ;) Ok, that sounds just awful as I doubt much would port well. But, it doesn't seem to make any sense to reinvent the wheel. Recent JVMs handle garbage collection fairly well.<p>How about ditching all of the Obj-C and rewriting Cocoa (for OS X and iOS) in Java? Easier said than done.<p>I say just embrace the fact that everything in OS X/iOS today is using a somewhat fast but somewhat archaic language, and just make XCode better able to spot memory leaks in code.
评论 #1760350 未加载
xsmasher超过 14 年前
Apple won't abandon objective-C any time soon - the ongoing evolution of the language (properties, blocks) and platform (garbage collection) imply that they're in it for the long haul. The switch to LLVM also suggests... something. A switch to a new (virtualized?) platform with the same API / language is more likely.