BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Moscrif – Cross Platform Mobile Development with JavaScript

by Abel Avram on Nov 16, 2012 |

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.

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

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT