Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19287] Create JerryScript Titanium API on Apple Watch prototype

GitHub Issuen/a
TypeStory
PriorityCritical
StatusClosed
ResolutionDone
Resolution Date2015-08-07T00:05:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS, TiAPI, Windows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-07-29T23:34:57.000+0000
Updated2017-03-16T22:54:35.000+0000

Description

Generate a proof of concept for running Titanium API/apps on Apple Watch using JerryScript as the JS engine. Ideally this would be able to leverage our existing iOS titanium_mobile, or TitaniumKit/HAL codebase. Perhaps a HAL-equivalent on top of JerryScript that would require minimal work to have TitaniumKit to work on top (be able to swap between the two engines easily)? Github: https://github.com/Samsung/jerryscript Homepage: https://samsung.github.io/jerryscript/ API: https://samsung.github.io/jerryscript/API/

Comments

  1. Kota Iguchi 2015-08-07

    So the good part in JerryScript I see is that API similarity between JavaScriptCore, which makes it easier to integrate with HAL-TitaniumKit API. I was able to build [HAL API on top of JerryScript](https://github.com/infosia/Daisy). It actually runs pretty good on OS X. POC for TitaniumKit-WatchKit integration are done in [examples/JerryWatch](https://github.com/infosia/Daisy/tree/master/examples/JerryWatch). TitaniumKit are mostly working without changes, which is good. On WatchKit I was able to make it compiled, it executes TitaniumKit functions as expected, but immediately after that WatchKit freezes. It looks like root cause was from memory allocation in JerryScript. So I would say JerryScript is still early product but integration between HAL-TitaniumKit fits very well regarding architecture.
  2. Lee Morris 2017-03-16

    Closing ticket as done.

JSON Source