J2ObjC
J2ObjC

7
13
6
NativeScript
NativeScript

272
387
408
Add tool

J2ObjC vs NativeScript: What are the differences?

Developers describe J2ObjC as "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. On the other hand, NativeScript is detailed as "Build truly native apps with JavaScript". NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.

J2ObjC and NativeScript can be categorized as "Cross-Platform Mobile Development" tools.

"Backed by Google" is the top reason why over 3 developers like J2ObjC, while over 55 developers mention "Access to the entire native api" as the leading cause for choosing NativeScript.

J2ObjC and NativeScript are both open source tools. It seems that NativeScript with 17.2K GitHub stars and 1.27K forks on GitHub has more adoption 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 NativeScript?

NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.

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

Why do developers choose J2ObjC?
Why do developers choose NativeScript?

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 NativeScript?
    Be the first to leave a con
      Be the first to leave a con
      What companies use J2ObjC?
      What companies use NativeScript?

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

      What tools integrate with J2ObjC?
      What tools integrate with NativeScript?

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

      What are some alternatives to J2ObjC and NativeScript?
      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.
      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.
      See all alternatives
      Decisions about J2ObjC and NativeScript
      No stack decisions found
      Interest over time
      Reviews of J2ObjC and NativeScript
      Review ofNativeScriptNativeScript

      It is using the native components to build the UI and offers the best skills reuse story. All you need to know is JS/TS and CSS. Angular 2 is also supported which leads to even more code reuse across web and mobile.This is also the best way to access the native platform APIs directly.

      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.

      Review ofNativeScriptNativeScript

      NativeScript allows you to reuse your JS skills to build Native mobile apps without any sacrifices. It takes a bit to learn about all possible features, but each time you discover a new one you can't help but get more and more excited.

      How developers use J2ObjC and NativeScript
      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.

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