恶魔之书:Deno 外函数接口编程的黑暗艺术
Denonomicon: The Dark Arts of Deno Foreign Function Interface Programming

原始链接: https://denonomicon.deno.dev/introduction

## Denonomicon:Deno FFI 指南 本文档由第三方创建,与 Deno 团队**无关**,是对 Deno 外来函数接口 (FFI) 的深入研究。它被称为“Denonomicon”,旨在补充官方 Deno 手册和 TypeScript 定义,特别关注使用 FFI 的复杂性。 它假定您已经具备 TypeScript 和 Deno 编程的知识——它不会教授任何一方的基础知识。相反,它仅专注于*如何*有效地从 Deno 接口到 C API,以及开发人员可能遇到的潜在挑战。 Denonomicon 被认为是一份有些不祥的资源(带有俏皮的黑暗语气!),为那些寻求全面了解 Deno 的 FFI 功能的人提供详细信息。Logo 由 hashrock 设计,并以 CC BY-NC-ND 4.0 许可授权。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Denonomicon:Deno 外置函数接口编程的黑暗艺术 (denonomicon.deno.dev) 5 分,由 enz 1小时前发布 | 隐藏 | 过去 | 收藏 | 1 条评论 帮助 mort96 13分钟前 [–] > Deno FFI 与使用 C API 的原生库一起工作。这当然是指 ABI 吧?回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
Deno Shrine Maiden SVG

This document is not written by, or associated with the Deno team in any way. The information here is incomplete and haunted by spirits conjured into existence by the evils within. Go in peace, take heed and remember that this is all written by a third party.

Go forth, and be protected by the Deno Shrine Maiden.

The Dark Arts of Deno Foreign Function Interface

The Denonomicon digs into all the sordid details of the Deno Foreign Function Inteface (henceforth Deno FFI or just FFI). It is intended to bridge any knowledge gaps left behind by the Deno Manual and TypeScript definitions of FFI.

This document will not provide guidance on TypeScript programming itself, nor will it explain any Deno specific APIs used other than FFI itself. If you want to know how to write Deno programs, then refer to the Deno Manual. If you want to know how to interface with C APIs from Deno, how to do it well and what sorts of pitfalls await you, then please do come in.

The Denonomicon logo and menu title were designed by hashrock, licensed under CC BY-NC-ND 4.0.

联系我们 contact @ memedata.com