←back to thread

The Anatomy of a macOS App

(eclecticlight.co)
278 points elashri | 9 comments | | HN request time: 1.055s | source | bottom
1. pjmlp ◴[] No.46182736[source]
As side note, NeXTSTEP bundle system was the inspiration for Java's JAR files.
replies(1): >>46183045 #
2. dana321 ◴[] No.46183045[source]
jars are just zip files renamed
replies(3): >>46183164 #>>46183287 #>>46185482 #
3. pjmlp ◴[] No.46183164[source]
Inspired by how NeXTSTEP bundles work.

People keep missing Java's ideas due to OpenSTEP collaboration before Java came to be.

https://cs.gmu.edu/~sean/stuff/java-objc.html

https://en.wikipedia.org/wiki/Distributed_Objects_Everywhere

replies(1): >>46185382 #
4. kbolino ◴[] No.46183287[source]
JAR has additional structure to it, though it's mostly optional stuff, like metadata and code signing:

https://docs.oracle.com/en/java/javase/21/docs/specs/jar/jar...

replies(1): >>46184698 #
5. LoganDark ◴[] No.46184698{3}[source]
Don't forget to delete META-INF!
6. steve1977 ◴[] No.46185382{3}[source]
I guess there’s a reason that Cocoa was called Cocoa… it’s also a hot beverage like Java, just sweeter ;)
replies(1): >>46186878 #
7. favorited ◴[] No.46185482[source]
Wait until you learn what an iOS app's .ipa file is.
replies(1): >>46189374 #
8. andrekandre ◴[] No.46186878{4}[source]
also unlike java, cocoa doesn't cause jitters
9. wpm ◴[] No.46189374{3}[source]
What’s that saying, there are 3 kinds of files?

zips, text files, and binary files