Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Creating Native Addons - General Principles by Gabriel Schulhof, Intel Finland Oy

Автор: node.js

Загружено: 2016-12-15

Просмотров: 3467

Описание:

Creating Native Addons - General Principles - Gabriel Schulhof, Intel Finland Oy

This talk is about creating node.js interfaces for native libraries written in C. It is not so much about the mechanics of writing the code, or about the structure of a npm package containing a native addon, but about the various situations you are likely to face when writing addons. It starts with the assumption that it is best to create an addon that provides as little abstraction as possible so as to allow you to provide a Javascript API to the consumers of your project that is itself written in Javascript. The portion of the node.js documentation that describes native addons, the V8 reference, and the reference provided by the Native Abstractions for Node project give you an ample toolset for creating native addons. Once you've managed to create your first native addon, and are ready to bring a complete native library into the node.js world, you will be faced with having to translate the artifacts of the C language into Javascript concepts. At that point, it pays to be systematic. It is beneficial to break the library's API into constants, enums, structures, and functions, and bind each onto the node.js module you are creating in as automated a fashion as possible. In my presentation, I will describe some patterns for dealing with data structures, pointers, and callbacks one needs to pass to the native library. Finally, I will show some examples of projects where I've applied these concepts.

About

Creating Native Addons - General Principles by Gabriel Schulhof, Intel Finland Oy

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Real-Life Node.js Troubleshooting by Damian Schenkelman, Auth0

Real-Life Node.js Troubleshooting by Damian Schenkelman, Auth0

Учебник по React для начинающих

Учебник по React для начинающих

Путин начинает новую войну / Удар по Тайваню / Названа дата

Путин начинает новую войну / Удар по Тайваню / Названа дата

KEYNOTE: Express, State of the Union by Doug Wilson, Express

KEYNOTE: Express, State of the Union by Doug Wilson, Express

What's Up with the Community Post-Mortem Diagnostics Working Group by Richard Chamberlain, IBM

What's Up with the Community Post-Mortem Diagnostics Working Group by Richard Chamberlain, IBM

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

Понимание Active Directory и групповой политики

Понимание Active Directory и групповой политики

Луаз из будущего. Тест на пригодность

Луаз из будущего. Тест на пригодность

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

Алгоритмы на Python 3. Лекция №1

Алгоритмы на Python 3. Лекция №1

Структура файлов и каталогов в Linux

Структура файлов и каталогов в Linux

Микросервисная архитектура VS монолиты | Инженерная целесообразность без хайпа

Микросервисная архитектура VS монолиты | Инженерная целесообразность без хайпа

Как производятся микрочипы? 🖥️🛠️ Этапы производства процессоров

Как производятся микрочипы? 🖥️🛠️ Этапы производства процессоров

Введение в локальные сети — основы сетевых технологий

Введение в локальные сети — основы сетевых технологий

3D принтер + Лазер?! Идеальный бизнес или развод на бабки?

3D принтер + Лазер?! Идеальный бизнес или развод на бабки?

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Linux Command Line for Beginners

Linux Command Line for Beginners

Маска подсети — пояснения

Маска подсети — пояснения

2025-12-12 Node-API Team meeting

2025-12-12 Node-API Team meeting

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]