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.

Chris Lattner on the Realm WWDC 2017 Swift Panel

121 pointsby king7532almost 8 years ago

9 comments

smailialmost 8 years ago
&gt; What irritates me is when people say classes are bad. Or subclassing is bad. Thatʼs totally false. Classes are super important. Reference semantics are super important. If anything, the thing thatʼs wrong is to say, one thing is bad and the other thing is good. These are all different tools in our toolbox, and theyʼre used to solve different kinds of problems.<p>Couldn&#x27;t agree more
评论 #14673814 未加载
评论 #14676009 未加载
geodelalmost 8 years ago
Interesting interview. Java is mentioned many times as language Swift aspires to replace. He is right about Kotlin:<p>&quot;Kotlin is very reference semantics, itʼs a thin layer on top of Java, and so it perpetuates through a lot of the Javaisms in its model.<p>If we had done an analog to that for Objective-C it would be like, everything is an NSObject and itʼs objc_msgSend everywhere, just with parentheses instead of square brackets. ..&quot;<p>I think Swift has real chance to reach Java level popularity. It is already at #11 in Redmonk ranking. All languages above Swift are at least 15 year older than Swift. And once it server side features like concurrency it can be much more general purpose.
评论 #14674075 未加载
评论 #14673944 未加载
评论 #14675033 未加载
hellofunkalmost 8 years ago
Wow, he just really really does not like C++. He is certainly an extremely knowledgeable C++ guy, obviously Swift is written in C++, but it&#x27;s hard to entirely agree with his opinion on it across all fronts.
评论 #14673980 未加载
评论 #14673586 未加载
评论 #14676123 未加载
coldteaalmost 8 years ago
&gt;<i>Look at Javascript or any of these other languages out there. They started with a simple premise (“I want to do simple scripting in a web browser”) and now people are writing freaking server apps in it. What happened there? Is there a logical leap that was missed? How is this a good idea? [Audience laughs] Sorry, I love Javascript too. Iʼd just love to kill it even more.</i><p>Emphasis mine. Not that I disagree completely...
评论 #14677076 未加载
anshargalalmost 8 years ago
I think that very important aspect of achieving world domination for Swift is front-end development for Web (with compiler targeting JS or Web Assembly)<p>In a way many iOS and macOS applications are front-end software. It much more makes sense to make Swift available for other kinds of front-end development that for server-side coding.
评论 #14717320 未加载
评论 #14677224 未加载
milansukalmost 8 years ago
&gt; My goal for Swift has always been and still is total world domination<p>I hope that this is never happen. Swift is great, it&#x27;s universal and it saves you a lot of time during coding, BUT It also has very large syntax and high number of features - documentation is huge! The most of swift programmers probably don&#x27;t know complete syntax and all features which is problem in a world where we code in teams and work with open source(both cases mean that you work with code you didn&#x27;t write).<p>We just need new simple way how billions of people can explain computers what to do and backwards understand what computer was told to do and I&#x27;m sure that it&#x27;s not Swift, Java or C++.
评论 #14673600 未加载
评论 #14675428 未加载
draw_downalmost 8 years ago
More shitting on JS. It&#x27;s ok though.
valuearbalmost 8 years ago
BTW: Before we get too deep in specific language criticisms, let&#x27;s not forget that Chris Lattner is awesome. The fact that two super smart guys with huge work ethics like Chris and Elon Musk couldn&#x27;t get along is very disappointing to me.
评论 #14674030 未加载
评论 #14676454 未加载
评论 #14673862 未加载
评论 #14673816 未加载
dgfgfdagasdfgfaalmost 8 years ago
Could someone explain why I should build a language developed entirely by and for writing Apple ecosystem products? It seems like if I&#x27;m not targeting MacOS or iOS directly, the long list of benefits suddenly looks much, much smaller compared to e.g. JVM, .NET, Go, etc etc.<p>&quot;letʼs start hacking, letʼs start building something, letʼs see where it goes pulling on the string&quot; feels scarily accurate, and it&#x27;s unclear where the language will be in 5 years.<p>Among other things, there&#x27;s no way to disable objective-c interop, even though it complicates the language and feels like someone merged smalltalk, C++, and ML—not a pretty combination. But—literally the only reason you&#x27;d enable that would be to work with Cocoa&#x2F;UIKit.<p>I&#x27;m still out on ARC—it was much less of a problem than I expected on my last project, but it never feels like an optimal solution, and you can never just &quot;forget about it for the first draft&quot; the way you can a VM&#x27;s GC.
评论 #14674074 未加载
评论 #14674261 未加载