Below you will find pages that utilize the taxonomy term “Golang”
Base64 Decoder - Complete Example
This is the complete implementation of the base64 decoder discussed in Cross-Lane Communication: When Lanes Need to Talk.
IPv4 Parser - Complete Example
This is the complete implementation of the high-performance IPv4 address parser discussed in Putting It All Together: Fast IPv4 Parsing with SPMD Go.
Putting It All Together
Network address parsing is ubiquitous in Go applications, yet the standard library implementations process strings character by character, leaving significant performance on the table. In this comprehensive exploration, we’ll combine the SPMD concepts from our previous blogs to build a high-performance IPv4 parser inspired by Wojciech Muła’s SIMD research.
This post demonstrates how SPMD Go could be used to keep code readable, but significantly improve performance by applying the techniques we’ve explored: parallel processing, reduction operations, and cross-lane communication. This example is a lot less complex than trying things like base64 and shows the benefit of language-level support for parallel data manipulation in my opinion.