GithubHelp home page GithubHelp logo

api's Introduction

API Working Group

The API WG will focus on creating two different specifications. A low-level JavaScript API and an API/ABI compatible native layer.

JS API

Here are some of the goals we will address:

  • Well Defined: It should have no ambiguity about how functions operate. Everything from explicitly stating when function arguments are coerced and when they aren't, to precisely stating when the function will throw.

  • Testable: By keeping the API well defined it will be much easier to test. This is key to properly creating a compatibility suit that allows other vendors to create their own implementation and make sure it still functions perfectly well with the existing ecosystem.

  • Flexible: Being strict and being well defined are not the same thing. By choosing a few key points within the API that give developers more leeway it will be easier for them to create new interfaces. While this API may be more verbose, it will not be restrictive.

  • Performant: The JS API should be not much more than a means to translate a developers intent down to the native layer. It should barely show up as a blip on any performance benchmarks.

  • Safe: Errors will propagate safely to the user as often is possible. If an exception is thrown then you'll know something actually went horribly wrong, and the application had no idea how to proceed.

Native API

Concisely, the goal for creating a native API:

Create an API/ABI C++ abstraction that is not affected by VM or version which meets the needs of the majority of native modules.

api's People

Contributors

obastemur avatar trevnorris avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.