The new Mac Gemini app has a huge executable binary (128MB!).
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus “Write once, run anywhere!”
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus “technically” native, then?
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
-
@sdpd Very cool, thanks for the pointer.
-
R relay@relay.mycrowd.ca shared this topic
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
Well thanks to @sdpd, I think this answers the Java to Objective-C question: https://developers.google.com/j2objc
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus it's probably using j2objc or something.
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
-
@ccgus it's probably using j2objc or something.
@heathborders @ccgus I still wonder how sth like this can actually work, mostly considering GC
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus Sounds like they’re using Kotlin, maybe.
-
@heathborders @ccgus I still wonder how sth like this can actually work, mostly considering GC
@helge looks like j2objc has heuristics to implement MRR
-
@ccgus “Write once, run anywhere!”
@DavidAnson @ccgus I think the term is “write once, suck everywhere”
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus Why am I not surprised? Everything Google does is trash.
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus @bugaevc cough https://developers.google.com/j2objc cough
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus Android is now a Swift target, but it's really kind of weird how it works. I'm still trying to figure it out. It wraps Swift code around Java https://www.swift.org/blog/exploring-the-swift-sdk-for-android/
-
The new Mac Gemini app has a huge executable binary (128MB!). Took a peak at it and … it contains 1,856 Objective-C classes whose class name starts with Java.
What in the world are they doing?
So I had Gemini analyze Gemini. Looks like there’s a lot of shared Android code in there, but compiled to Objective-C and Swift.
@ccgus I feel like everything Google does is cursed.
-
@DavidAnson @ccgus I think the term is “write once, suck everywhere”
Or "Write once, run away very very fast."
-
@ccgus this did not age well.

@i_am_fabs @ccgus I bet the J2ObjC usage is for the data modeling layer (so it's easily sharable with Android).
J2ObjC doesn't provide any kind of UI code support, so the UI layer is probably still native SwiftUI.
-
@i_am_fabs @ccgus I bet the J2ObjC usage is for the data modeling layer (so it's easily sharable with Android).
J2ObjC doesn't provide any kind of UI code support, so the UI layer is probably still native SwiftUI.
@cdoncarroll @ccgus he did not say SwiftUI … he said native swift … and so it’s not
-
R relay@relay.infosec.exchange shared this topic
