nowfound

Alternatives

Products that do what Dhi – 520x faster data validation for Python, 77x faster for TypeScript does

Hi HN! I built dhi, a data validation library that uses Zig to compile to both native C (Python) and SIMD WASM (TypeScript). Key points: - Drop-in API compatibility with Pydantic (Python) and Zod (TypeScript) - Python: 24.9M validations/sec (520x faster than Pydantic V2) - TypeScript: up to 77x faster than Zod on invalid data - 28KB WASM bundle, zero JS runtime overhead I'd love feedback on the API surface, benchmarks, and real-world integration pain points. If you're curious, the repo has full benchmarks and examples.

  1. 1FB
  2. 2IM

    I found a serious bottleneck in Python binding of Wasmer and Wasmtime and I found a trick to make 25x faster. Then beat all that using NumPy.

    2023 · medium.com

  3. 3V1

    A simple, fast, extensible python library for data validation. New features: * union validator * dynamic dict validator * timedelta validator * enum validator * slug validator * fqdn validator * nested model class GitHub: https://github.com/guyskk/validr Document: https://github.com/guyskk/validr/wiki Usage: https://github.com/guyskk/validr/wiki/Scenario-&-Example

    2020

  4. 4IB

    I built a Rust drop-in replacement for svelte-check that's 10-30x faster for Svelte 5 projects. What it does: - Parses Svelte files with a custom Rust parser - Transforms them to TSX in parallel using Rayon - Runs type-checking via Microsoft's tsgo (the native Go port of TypeScript) - Maps errors back to original .svelte locations via source maps Why it's fast: The official svelte-check uses TypeScript's Language Service API optimized for IDEs with persistent connections. Great for autocomplete but slow for batch CLI checks. svelte-check-rs writes real TSX files to disk and runs tsgo as a…

    Jan 2026 · svelte-check-rs.vercel.app

  5. 5BO

    Read the full blogpost at https://rach.codes/blog/Introducing-Bhumi (click on reader to see the technical breakdown!) AI inference should be fast, but in practice it’s painfully slow. Inference bottlenecks slow down LLM-powered chatbots and AI workflows everywhere. I built Bhumi to fix that. Bhumi is a Python library designed for developers, yet its performance-critical core is implemented in Rust (via PyO3) for near-native speed. This hybrid approach delivers up to 2.5x faster response times across providers like OpenAI, Anthropic, and Gemini—without changing the…

    2025 · bhumi.trilok.ai

  6. 6ZT
  7. 7CM
  8. 8HA

    Most ZK proving systems are optimized for server-grade hardware with massive RAM. When scaling to industrial-sized traces (2^20+ rows), they often hit a "Memory Wall" where allocation and data movement become a larger bottleneck than the actual computation. I have been developing Hekate, a ZK engine written in Rust that utilizes a Zero-Copy streaming model and a hybrid tiled evaluator. To test its limits, I ran a head-to-head benchmark against Binius64 on an Apple M3 Max laptop using Keccak-256. The results highlight a significant architectural divergence: At 2^15 rows: Binius64 is faster…

    Jan 2026

  9. 9BA

    Hi HN, We’ve all accepted the "Python tax"—you trade execution speed for developer happiness. But what if that trade-off was a thing of the past? I just came across BustAPI, and it’s basically a "cheat code" for Python web services. It’s not just another wrapper; it’s a hybrid engine that embeds a Rust (Actix-Web) core directly into the Python runtime. Is this the end of the "slow Python" era? The benchmarks are pretty shocking. I’d love to see someone stress-test this against a production-grade Go or Node.js setup. Repo: https://github.com/GrandpaEJ/BustAPI Benchmarks:…

    Dec 2025 · github.com

  10. 10BV

    Started with a pure JS implementation (still the fastest JS image diff), but wanted to push performance further. I rewrote the core in Rust to make it the fastest open-source single-threaded image diff. On 4K images (5600×3200): ~327ms vs odiff's ~1215ms. Binaries are ~3x smaller too (~700KB vs ~2MB). The core insight: make the cold pass smarter to make the hot pass do less work. Instead of simple pixel equality, the cold pass scans dynamic-sized blocks and marks "problematic" ones - blocks that might contain differences. The hot pass then only runs YIQ perceptual diff and antialiasing check…

    Dec 2025 · github.com

  11. 11IB

    Hey HN, A CSV parser using Go 1.26's experimental simd/archsimd package. I wanted to see what the new SIMD API looks like in practice. CSV parsing is mostly "find these bytes in a buffer"—load 64 bytes, compare, get a bitmask of positions. The interesting part was handling chunk boundaries correctly (quotes and line endings can split across chunks). - Drop-in replacement for encoding/csv - ~20% faster for unquoted data on AVX-512 - Quoted data is slower (still optimizing) - Scalar fallback for non-AVX-512 Requires GOEXPERIMENT=simd.…

    Jan 2026 · github.com

  12. 12NJ

    It's very early days for the project, but I wanted to share it to see if there is interest. It is the final piece of the FastAPI server-side rendering stack I started building with FastHX and htmy (the two dependencies of this project besides FastAPI). Think of it as a more powerful and convenient alternative to tools like FastHTML, powered by FastAPI (without any modifications). I hope you'll like it.

    Oct 2025 · volfpeter.github.io

  13. 13AW

    I've spent the past couple of weeks building a Wasm-to-Go translator. It supports a subset of Wasm useful enough to translate SQLite into 600k LoC (~20 MiB) of Go code. It already passes all of my Go SQLite driver's tests across the 20 platforms I support. Performance compared to https://wazero.io/ is a bit of a mixed bag: code that frequently crosses the Go-Wasm boundary improves, but code that spends most of its time in "Wasm land" doesn't. There's probably room for improvement (I'd love to hear your ideas), but this is also a testament to how good the wazero AOT compiler…

    Feb 2026 · github.com

  14. 14FZ
  15. 15RH
  16. 16ZZ

    A collection of high-performance data structures for Zig.

    Dec 2025 · github.com

  17. 17AG
  18. 18AE

    actually, nothing special about this implementation. just another event loop written in rust for educational purposes and joy in tests it shows seamless migration from uvloop for my scraping framework https://github.com/BitingSnakes/silkworm with APIs (fastapi) it shows only one advantage: better p99, uvloop is faster about 10-20% in the synthetic run currently, i am forking on the win branch to give it windows support that uvloop lacks

    Mar 2026 · github.com

  19. 19L3

    ran this over the weekend. stack was Llama 3.2 3B running locally + Keiro Research API for retrieval. 85.0% on 4,326 questions. where that lands: ROMA (357B): 93.9% OpenDeepSearch (671B): 88.3% Sonar Pro: 85.8% Llama 3.2 3B + Keiro: 85.0% the systems ahead of us are running models 100-200x larger. that's why they're ahead. not better retrieval, not better prompting — just way more parameters. the interesting part is how small the gap is despite that. 3 points behind a 671B model. 0.8 behind Sonar Pro. at some point you have to ask what you're actually buying with all that compute for this…

    Mar 2026 · keirolabs.cloud

  20. 20FN

    "I wanted to see if I could optimize the dequantization bottleneck during 4-bit LLM inference. By writing a custom kernel in Triton to optimize memory access patterns, I managed to get up to a 1.41x speedup over the standard bitsandbytes implementation. Check out the source code and benchmarks, feedback is highly appreciated!"

    Jul 2026 · github.com

  21. 21
    Velrim1

    Extract data from documents. Know which fields to trust.

    3d ago · velrim.com

  22. 22

    Durable C++ webhook & lead bots - 37k/sec p50 2us

    12d ago · botstudio9.com

  23. 23

    Less repo search, fewer wrong edits, faster Codex work

    14d ago · polar.sh

Ranked by how close each launch is in meaning, then by votes. Refine with a description →