# \[Blog Post\] A Very Fast IPv4 Parser, in Swift (not LLM generated btw)

**URL:** <https://forums.swift.org/t/blog-post-a-very-fast-ipv4-parser-in-swift-not-llm-generated-btw/90152>\
**Category:** Networking\
**Created:** [October 19, 2026, 6:21pm UTC](https://forums.swift.org/t/blog-post-a-very-fast-ipv4-parser-in-swift-not-llm-generated-btw/90152 "2026-10-19T18:21:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MahdiBM](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mahdibm/32/45271_2.png) [@MahdiBM](https://forums.swift.org/u/MahdiBM)\
**Post date:** [October 19, 2026, 6:21pm UTC](https://forums.swift.org/t/blog-post-a-very-fast-ipv4-parser-in-swift-not-llm-generated-btw/90152/1 "2026-10-19T18:21:27Z")

</div>

First personal blog post 👀.

> **[A Very Fast IPv4 Parser, in Swift](https://blog.mahdibm.com/posts/a-very-fast-ipv4-parser-in-swift/)**
>
> No lookup tables, SIMD, or out-of-bounds reads: just SWAR.
> Beating almost every implementation in ~3 nanoseconds.

I’ve already shared it in a few other places but @Finagolfin encouraged me to share it here as well, so why not.

This is all related to [Requirements for IP address and port APIs](https://forums.swift.org/t/requirements-for-ip-address-and-port-apis/88514/) .
