{"by":"orisano","descendants":32,"id":40806858,"kids":[40812025,40825140,40819236,40812910,40812664,40813806,40814789,40812265,40830980,40811657,40812072,40811986],"score":76,"text":"I&#x27;ve just released gosax, a new Go library for high-performance SAX (Simple API for XML) parsing. It&#x27;s designed for efficient, memory-conscious XML processing, drawing inspiration from quick-xml and pkg&#x2F;json.\n<a href=\"https:&#x2F;&#x2F;github.com&#x2F;orisano&#x2F;gosax\">https:&#x2F;&#x2F;github.com&#x2F;orisano&#x2F;gosax</a>\nKey features:<p>- Read-only SAX parsing\n- Highly efficient parsing using techniques inspired by quick-xml and pkg&#x2F;json\n- SWAR (SIMD Within A Register) optimizations for fast text processing<p>gosax is particularly useful for processing large XML files or streams without loading the entire document into memory. It&#x27;s well-suited for data feeds, large configuration files, or any scenario where XML parsing speed is crucial.\nI&#x27;d appreciate any feedback, especially from those working with large-scale XML processing in Go. What are your current pain points with XML parsing? How could gosax potentially help your projects?","time":1719458229,"title":"Show HN: Gosax – A high-performance SAX XML parser for Go","type":"story","url":"https://github.com/orisano/gosax"}