←back to thread

107 points wmlive | 2 comments | | HN request time: 0.467s | source
Show context
itslennysfault ◴[] No.42129253[source]
So, this is why the abomination that is Obj-C is/was used for iPhone/Mac apps. I can't overstate how much I hate Obj-C. I'm so sooo happy Swift has pretty much entirely taken over.

Side note... I feel similarly about the Java to Kotlin transition. Sooo much better. Although, I don't hate Java NEARLY as much as Obj-C.

replies(5): >>42129327 #>>42129817 #>>42130011 #>>42130250 #>>42130804 #
pjmlp ◴[] No.42130804[source]
Metal is implemented in a mix of Objective-C (CPU) and C++ (Metal Shaders), Swift only has bindings.

Maybe one it they will rewrite the Objective-C, who knows.

Kotlin transition is a Google thing, outside Android barely anyone notices that it exists.

replies(1): >>42131103 #
ahoka ◴[] No.42131103[source]
“Kotlin transition is a Google thing, outside Android barely anyone notices that it exists.”

That’s not true.

replies(1): >>42134068 #
pjmlp ◴[] No.42134068[source]
It certainly is, one just needs to check any programming language market share analysis that omits Android deployments.

Kotlin hardly does more than 10% of JVM workloads, and it isn't as if any JVM vendor is replacing Java with Kotlin on their JVM implementation.

Besides Google with ART, which is anyway not a JVM proper, not fully TCK compliant to start with.

replies(1): >>42134553 #
panick21_ ◴[] No.42134553[source]
At least at my company we are increasingly using more and more Kotlin. And that happens in many places. This is Server JVM, not Android. And I know other places too.
replies(1): >>42136076 #
pjmlp ◴[] No.42136076[source]
Congratulations, you are part of those 10%.
replies(1): >>42136405 #
1. panick21_ ◴[] No.42136405[source]
10% is a large number for a new language on a VM.
replies(1): >>42145530 #
2. pjmlp ◴[] No.42145530[source]
It certainly is, but it isn't Rewrite In Kotlin, that is so common to hear the community talk about, specially when their creators are quite open that it is a way to sell InteliJ licenses.

I can provide you the public statement on that, if you feel like not searching yourself.