J2ObjC
J2ObjC

7
13
6
React Native
React Native

5.5K
4.5K
891
Add tool

J2ObjC vs React Native: What are the differences?

What is J2ObjC? Java to iOS Objective-C translation tool and runtime used by Google Inbox to share 70% of its code across Android, iOS, and Web. J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.

What is React Native? A framework for building native apps with React. React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.

J2ObjC and React Native belong to "Cross-Platform Mobile Development" category of the tech stack.

"Backed by Google" is the primary reason why developers consider J2ObjC over the competitors, whereas "Learn once write everywhere" was stated as the key factor in picking React Native.

J2ObjC and React Native are both open source tools. React Native with 78.8K GitHub stars and 17.6K forks on GitHub appears to be more popular than J2ObjC with 5.47K GitHub stars and 771 GitHub forks.

What is J2ObjC?

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.

What is React Native?

React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.

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

Why do developers choose J2ObjC?
Why do developers choose React Native?

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

What are the cons of using J2ObjC?
What are the cons of using React Native?
    Be the first to leave a con
    What companies use J2ObjC?
    What companies use React Native?

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

    What tools integrate with J2ObjC?
    What tools integrate with React Native?

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

    What are some alternatives to J2ObjC and React Native?
    Ionic
    Free and open source, Ionic offers a library of mobile and desktop-optimized HTML, CSS and JS components for building highly interactive apps. Use with Angular, React, Vue, or plain JavaScript.
    Xamarin
    Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.
    Apache Cordova
    Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
    PhoneGap
    PhoneGap is a web platform that exposes native mobile device apis and data to JavaScript. PhoneGap is a distribution of Apache Cordova. PhoneGap allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status.
    Flutter
    Flutter is a mobile app SDK to help developers and designers build modern mobile apps for iOS and Android.
    See all alternatives
    Decisions about J2ObjC and React Native
    No stack decisions found
    Interest over time
    Reviews of J2ObjC and React Native
    Avatar of tonyxiao
    Economics
    Review ofReact NativeReact Native

    Native iOS developer here. One of the most important thing React Native managed to accomplish is that it created a better single-platform development experience than the platform owner themselves did. It's faster and easier to develop a react native app than it is to develop an iOS app. And remember that react native is at the end of the day still native. So native views, native components, native modules. You get to pick and choose how much you want to be in JavaScript and how much you want to be in native.

    Avatar of gistya
    iOS Developer at JORY
    Review ofJ2ObjCJ2ObjC

    This is one of the most amazing open source projects out there. Tom and Kieth do an amazing job working with the developer community and quickly responding to questions and concerns. I was blown away by how solid the ported code was. What a life-saver and a ridiculously awesome tool.

    How developers use J2ObjC and React Native
    Avatar of Kurzor, s.r.o.
    Kurzor, s.r.o. uses React NativeReact Native

    React Native is great in that it reduces the overhead of writing native code based on a web app. If written in a good style, Redux part of the app can often just be copied or shared in the Native app - and it just works! What a timesaver.

    Avatar of fileee GmbH
    fileee GmbH uses J2ObjCJ2ObjC

    We use J2Objc and GWT to provide a shared library of cross-platform code that is used on all our client platforms (Android, iOS and the web) and even in the backend.

    Avatar of Ryan VanBelkum
    Ryan VanBelkum uses React NativeReact Native

    The framework used to write the mobile apps in this project. I've chosen this because of the "write once run all" (ios and android) mentality.

    Avatar of AmericanBibleSociety
    AmericanBibleSociety uses React NativeReact Native

    We are not currently using this product but we have very high interest in learning and using this for mobile apps.

    Avatar of JINJA Ltd.
    JINJA Ltd. uses React NativeReact Native

    New features of our app are developed on React Native, so we could maintain a small dev team.

    Avatar of Tana
    Tana uses React NativeReact Native

    100% of our mobile codebase is shared between iOS and Android. Using along with TypeScript.

    How much does J2ObjC cost?
    How much does React Native cost?
    Pricing unavailable
    Pricing unavailable
    News about J2ObjC
    More news