@yuuang/ffi-rs-linux-arm64-musl
Advanced tools
Comparing version 1.0.17 to 1.0.18
{ | ||
"name": "@yuuang/ffi-rs-linux-arm64-musl", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"os": [ | ||
@@ -5,0 +5,0 @@ "linux" |
@@ -12,3 +12,3 @@ # ffi-rs | ||
[ffi-rs](https://github.com/zhangyuang/node-ffi-rs) is a module written in Rust and N-API that provides FFI (Foreign Function Interface) features for Node.js. It allows developers to call functions written in other languages such as C++, C, and Rust directly from JavaScript without writing any C++ code. | ||
[ffi-rs](https://github.com/zhangyuang/node-ffi-rs) is a high performance module written in Rust and N-API that provides FFI (Foreign Function Interface) features for Node.js. It allows developers to call functions written in other languages such as C++, C, and Rust directly from JavaScript without writing any C++ code. | ||
@@ -27,9 +27,6 @@ This module aims to provide similar functionality to the node-ffi module, but with a completely rewritten underlying codebase. The node-ffi module has been unmaintained for several years and is no longer usable, which is why ffi-rs was developed. | ||
koffi: | ||
78 846 ops/s, ±13.74% | 70.63% slower | ||
ffi-rs: | ||
268 468 ops/s, ±0.27% | fastest | ||
287 523 ops/s, ±0.17% | fastest | ||
Finished 3 cases! | ||
Finished 2 cases! | ||
Fastest: ffi-rs | ||
@@ -59,2 +56,3 @@ Slowest: ffi-napi | ||
- object | ||
- function(developmenting) | ||
@@ -146,3 +144,3 @@ ## Support Platform | ||
const { equal } = require('assert') | ||
const { load, RetType, ParamsType, open, close } = require('ffi-rs') | ||
const { load, DataType, open, close } = require('ffi-rs') | ||
const a = 1 | ||
@@ -149,0 +147,0 @@ const b = 100 |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
520635
1
249