This repo has Swift wrappers, not a rewrite of hnsw.c, which apparently you weren't the only author of.
Thanks,I thought it was a complete rewrite of the same logic and algorithms.