cd /news/natural-language-processing/fortran-kernels-for-nlp · home › topics › natural-language-processing › article
[ARTICLE · art-159465] src=fortran-lang.discourse.group ↗ pub= topic=natural-language-processing verified=true sentiment=↑ positive

Fortran kernels for NLP

A developer released fortran-nlp-kernels, a Python package that uses Fortran backends for exact lexical and vector similarity search. The package supports Jaccard similarity search and inner product, cosine and L2 vector search, with serial and OpenMP backends, Python bindings via C ABI and nanobind, benchmark-informed CPU autotuning with workload-aware runtime dispatch, and PyPI wheels. The developer said the project began as a personal experiment exploring modern Fortran outside traditional HPC and scientific computing and became a packaged library.

read1 min views1 publishedOct 28, 2026

Hi everyone,

I recently released fortran-nlp-kernels, a Python package that uses Fortran backends for exact lexical and vector similarity search.

Current features:

  • Jaccard similarity search

  • Inner product, cosine and L2 vector search

  • Serial and OpenMP backends

  • Python bindings via C ABI + nanobind

  • benchmark informed CPU autotuning and workload aware runtime dispatch, after extensive multicore CPU measurements

  • PyPI wheels

This started as a personal experiment exploring modern Fortran outside traditional HPC/scientific computing and ended up becoming a packaged library.

I’d appreciate any feedback, suggestions, or ideas for future directions.

GitHub:

PyPI:

── more in #natural-language-processing 4 stories · sorted by recency
dev.to · · #natural-language-processing
GhostShell
── more on @fortran-nlp-kernels 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/fortran-kernels-for-…] indexed:0 read:1min 2026-10-28 · —