Moscrif – Cross Platform Mobile Development with JavaScript

| by Abel Avram Follow 7 Followers on Nov 16, 2012. Estimated reading time: 1 minute |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

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 Stage

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.

Tell us what you think

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

Email me replies to any of my messages in this thread

What is the difference between Moscrif and Cordova? by 雷 慈祥

Is there any difference between Moscrif and Cordova?

Re: What is the difference between Moscrif and Cordova? by 萧 欢

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

Moscrif vs Cordova (PhoneGap) by Michal Habalcik

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

Appcelerator is not a webview wrapper like PhoneGap.

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

4 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you