Java vs Objective-C

Java
Java

25.3K
15K
3.2K
Objective-C
Objective-C

4.1K
2K
490
Add tool

Java vs Objective-C: What are the differences?

Developers describe Java as "A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible". Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!. On the other hand, Objective-C is detailed as "The primary programming language you use when writing software for OS X and iOS". Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

Java and Objective-C can be primarily classified as "Languages" tools.

"Great libraries", "Widely used" and "Excellent tooling" are the key factors why developers consider Java; whereas "Ios", "Xcode" and "Backed by apple" are the primary reasons why Objective-C is favored.

According to the StackShare community, Java has a broader approval, being mentioned in 2399 company stacks & 2723 developers stacks; compared to Objective-C, which is listed in 851 company stacks and 363 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is Java?

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

What is Objective-C?

Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Java?
Why do developers choose Objective-C?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Java?
What are the cons of using Objective-C?
    Be the first to leave a con

    Sign up to add, upvote and see more consMake informed product decisions

    What companies use Java?
    What companies use Objective-C?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Java?
    What tools integrate with Objective-C?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Java and Objective-C?
    C
    Abstract
    Abstract builds upon and extends the stable technology of Git to host and manage your work.
    Go
    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Scala
    Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
    See all alternatives
    Decisions about Java and Objective-C
    No stack decisions found
    Interest over time
    Reviews of Java and Objective-C
    No reviews found
    How developers use Java and Objective-C
    Avatar of Instacart
    Instacart uses Objective-CObjective-C

    Basically, the trajectory was we had our iOS app, which started out native, right? It started as a native app, and then we realized you have to go through a review process and it’s slow, and at a very early stage, it made sense for us to make it a wrapped web view. Basically, the app would open, and it would be a web view inside of it that we could iterate on quickly and change very rapidly and not have to wait for app store view process to change it. It wasn’t totally a native experience, but it was as actually a pretty good experience and lasted for a very long time and was up until recently the foundation of our current mobile web experience, which is different from our app situation. So for a long time, basically, our app store iOS Instacart app was a wrapped web view of just our store, a condensed version of our store, which meant that we could add things. We could change sales. We could change the formatting. We could change the UI really fast and not have to worry about the app store review process.

    This all changed about a year ago, I would like to say, at which point it became a totally native app. We felt comfortable enough with the product and all the features that we made it a native experience and made it a fully featured app.

    Avatar of Brian Fults
    Brian Fults uses JavaJava

    Pretty much everything - Java is reasonably fast, reasonably safe, and reasonably expressive. I wouldn't call it the best at any of those things. The real advantage to me is that the virtual machine is ubiquitous and many people can understand it. Since I have the most experience in this language, it's my tool of choice for most projects.

    I've also been learning JavaFx so that I can build user interfaces without the web. I've started several single-page-application projects that worked, but felt like workarounds or hacks and would be better-served as self-contained applications.

    Avatar of denkbar.io
    denkbar.io uses JavaJava

    Do I really need to explain? Well to me, the most appealing factor in Java besides the unbelievable community and vast array of available libraries, is just the amount of effort that has been put in the modern JVM. Decades of optimization and improvements have lead to a terrific piece of technology. I admire the people contributed to that.

    Avatar of Scrayos UG (haftungsbeschränkt)
    Scrayos UG (haftungsbeschränkt) uses JavaJava

    Shouldn't surprise anyone, as minecraft is also java-based. Java is used for much more than just the plugins though. JCVortex (our API) is also served with vert.x (Java) and many of our team-internal tools also originated from java or are still java-applications.

    Avatar of Refractal
    Refractal uses Objective-CObjective-C

    While the majority of our stack is now using Swift, we still love Objective-C in many cases, especially low-level software manipulation, where it's just easier. It doesn't hurt that a lot of iOS/OS X Libraries out there are written in it either.

    Avatar of Web Dreams
    Web Dreams uses JavaJava

    The most popular language in the world, definitely every programmer would use the Java language at some point. Frankly, I only use java when it’s a must. I find the language to be a little bit tedious when working with it.

    Avatar of brenoinojosa
    brenoinojosa uses JavaJava

    bytelore.com makes extensive use of Java in its applications. We use Java due to its performance, community and the number of other projects built in the language. We have many projects and libraries built in Java.

    Avatar of SmartLogic
    SmartLogic uses Objective-CObjective-C

    We like to go native with iOS development, and Objective-C has been the only game in town until recent introduction of Swift. We're keeping an eye on Swift, but we aren't giving up on the [old way:to do:things]!

    Avatar of DailySMSCollection
    DailySMSCollection uses Objective-CObjective-C
    Avatar of Promethean TV
    Promethean TV uses Objective-CObjective-C

    PrometheanTV provides SDKs for IOS devices including support for the Objective-C language.

    How much does Java cost?
    How much does Objective-C cost?
    Pricing unavailable
    Pricing unavailable