luizperes / simdjson_nodejs

Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"
https://arxiv.org/abs/1902.08318
Apache License 2.0
549 stars 25 forks source link

Unable to run on Apple ARM chips #70

Open net-tech opened 10 months ago

net-tech commented 10 months ago

Hi there,

I'm getting illegal hardware instruction when I try to run a benchmark. Judging by https://conan.io/center/recipes/simdjson?version=3.2.2 and https://github.com/simdjson/simdjson/pull/197, simdjson (the c++ version) supports ARM chips. Is this an issue with simdjson_nodejs?

System Information:
macOS Version: 14.0
Chip: Apple M2 Pro
Architecture: x86_64

JavaScript/TypeScript Project Information:
Node.js Version: v20.4.0
TypeScript Version: Version 5.2.2