BT

InfoQ Homepage News Moscrif – Cross Platform Mobile Development with JavaScript

Moscrif – Cross Platform Mobile Development with JavaScript

Bookmarks

Moscrif is a cross-platform mobile development environment built on a custom virtual machine. Although this platform provides access to native device functionality, the programming language is a customized version of JavaScript.

Moscrif targets iOS, Android, Symbian, Windows Mobile, and Bada, and it will add support for Windows Phone 8 after Microsoft publishes the API, according to Michal Habalcik, co-founder of the company. The Moscrif SDK comes with an open source framework, a Mono-based IDE, and publishing tools for each platform supported.

Besides core functionality, the framework contains a number of libraries providing access to cryptography, game 2D, graphics, media (OGG, WAV), network, sensors, SQLite,  a simplified user interface, and others. Habalcik told us they intend to support native user interfaces in the near future, but that will come with the price of broken cross-platform development. They also intend to add support for HTML5 in the future, but for now Habalcik considers that “HTML5 has some serious issues with performance, so developing quality games with lots of graphics is impossible”.

The programming language is JavaScript, extended with 1st level classes, constructors, namespaces, properties, lambda functions, iterators, all natively implemented. The source code is compiled in a custom bytecode and run on garbage collected virtual machines written in C/C++/Objective-C and Java for each of the supported operating systems. There is no JIT compilation.

The IDE is also open source and custom built on Mono + Gtk# using some components from MonoDevelop, such as Text Editor. The associated publishing tools generate binaries for each OS without requiring a custom build server. Applications to be published on the Apple App Store, Google Play, etc. need to be signed by Moscrif. We were told that not the binaries are sent to be signed, but rather a manifest file containing the hashes of all the files in the package.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • What is the difference between Moscrif and Cordova?

    by 雷 慈祥 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Is there any difference between Moscrif and Cordova?

  • Re: What is the difference between Moscrif and Cordova?

    by 萧 欢 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Is there any difference between Moscrif and PhoneGap, calatrava.They are similar?

  • Moscrif vs Cordova (PhoneGap)

    by Michal Habalcik /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hey guys, Mike from Moscrif here ...

    The difference between Cordova (PhoneGap) is huge. Cordova, like Appcelerator and many others are just web wraps based on HTML5, not real native apps. Sure they are ideal for simple apps, but limited when it comes to more complex apps, especially games.

    On the other hand, Moscrif uses JavaScript as a regular programming language that is translated into the native code.

  • Re: Moscrif vs Cordova (PhoneGap)

    by David Sargeant /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Appcelerator is not a webview wrapper like PhoneGap.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.