Feeds

Appcelerator polishes Titanium for platform-neutral JavaScript reboot

One language, one WebKit, to rule them all

Top 5 reasons to deploy VMware with Tegile

Success and age are catching up with Appcelerator, which is re-writing its Titanium mobile development framework to be leaner and cheaper to run on more mobes.

Chief executive Jeff Haynie quietly let slip earlier this month (and was eventually spotted by IT Writing’s Tim Anderson) that a project – called Ti.Next – is now under way to re-write Titanium in JavaScript, using just one virtual machine based on WebKit to let developers' mobile apps talk to more devices in one hit.

The goal is for Appcelerator to stop devoting over half its annual $10m R&D budget on Titanium, a free product, while also supporting new mobes as they roll out.

Also, Appcelerator wants to clean up its code base, which has grown as new features and platform support has been added.

Founded in 2006 to build rich web and desktop apps, Appcelerator was one of the first to jump on the iPhone. The company today claims to have nearly half a million registered developers using its kit.

According to Haynie:

“A lot has changed in a short period of time. Not only is Android a major market share leader with Apple, but Microsoft now has a viable platform, RIM has a re-tooled Blackberry, Firefox has just released the first phones with Firefox OS, Samsung and Intel have collaborated to create Tizen and Ubuntu is doing something.”

Yes, he said Microsoft now has a “viable platform,” although he didn’t say which.

He continued: “We believe that we can cut the overall total costs of building and maintaining Titanium in ways that we couldn’t do in the current architecture. Today, each new platform is a linear-plus cost equation. Tomorrow, it will be fractional – in fact, each platform could drive down the overall cost to some degree.”

Haynie believes apps written on Ti.Next can beat the performance of the actual native apps on their home turf. Currently, the conversion from JavaScript to the Titanium API takes up to 10ms. Titanium works by the native code talking to the Titanium framework's JavaScript API. You can read more about how it works here.

“That’s fast," Haynie said of the current performance, "but not too fast for modern CPUs. Our target is sub-microsecond operations – in fact, we think we can get faster in most cases than pure native code."

Ti.Next will make JavaScript the “primary language” for the TiRuntime. The idea is, you will no longer need to write apps with a knowledge of each target platform – C for iOS, C# for Windows and so on. According to Haynie this will mean greater code re-use and – potentially – application portability.

Also, for simplicity, there will be WebKit KJS VM for all platforms.

“We have found a way to make the WebKit KJS VM work on multiple platforms instead of using different VMs per platform,” Haynie said. Appcelerator have created a small microkernel that’ll have “minimal bootstrap code in the native language,” he said.

There was no date on when Ti.Next would be released. ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
That dreaded syncing feeling: Will Microsoft EVER fix OneDrive?
Microsoft's long history of broken Windows sync
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
Mozilla, EFF, Cisco back free-as-in-FREE-BEER SSL cert authority
Let’s Encrypt to give HTTPS-everywhere a boost in 2015
SLURP! Flick your TONGUE around our LOLLIPOP – Google
Android 5 is coming – IF you're lucky enough to have the right gadget
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.