datalevin

magra 2026-03-20T09:44:12.858169Z

@huahaiy I am in the process of bringing datalevin into FreeBSD Ports and Packages. So far I have submitted Ports for USearch, javacpp, dlmdb and dtlvnative. USearch and javacpp have been accepted, dlmdb and dtlvnative are in progress. I noticed that you added code to limit SIMSIMD to Haswell. Since I portet USearch separately, if I follow you with this, this would limit all potenial other consumers of USearch, not just dtlvnative. Could you please elaborate on this? FreeBSD uses Clang.

Huahai 2026-03-20T14:25:37.868139Z

The reason is to provide wider compatibility. There are still many machines that do not support AVX512, they crash if we do not limit the architecture to Haswell.

Huahai 2026-03-20T14:29:33.683439Z

simsimd unfortunately detects hardware at compile time.

Huahai 2026-03-20T14:43:44.752529Z

So on a CI server with AVX512, the compiled library crashed on a machine without AVX512. It's probably an upstream bug, I didn't have time to investigate.

magra 2026-03-20T17:39:02.353479Z

Could you share what operating systems were involved? USearch seems to set -march=native on gcc, but not on clang.

Huahai 2026-03-20T17:39:31.081159Z

The crash was on Linux

Huahai 2026-03-20T17:40:52.333139Z

if the problem is only about gcc, feel free to send a PR.

Huahai 2026-03-30T15:09:04.111509Z

Removed Haswell limitation