Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19792] Android: Investigate use of NAN to abstract V8 API changes and support building against multiple V8 library versions

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2016-02-25T15:35:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelslook1
ReporterChristopher Williams
AssigneeChristopher Williams
Created2015-10-26T14:41:50.000+0000
Updated2017-07-26T03:35:23.000+0000

Description

In the node community, they've developed a project called NAN to abstract the v8 apis. The intention is to allow developers to pull in these headers and code against the latest V8 API but still be able to build/target older versions through adapter interfaces. https://github.com/nodejs/nan This may be useful for us if we want to shield ourselves a little from V8 API changes, but really would only give us the benefit of being able to target older V8 versions over time. We'd still need to update when we pull in new V8 versions. It _may_ be useful as an abstraction for native module developers, though?

Comments

  1. Christopher Williams 2016-02-25

    NaN looks nice, but is geared for Node. It is useful as a reference for how the V8 Apis evolved over time though.

JSON Source