# Hyper-optimizing the Zig Parser

**URL:** <https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282>\
**Category:** Media\
**Created:** [May 11, 2024, 8:05pm UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282 "2024-05-11T20:05:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrboesch](https://ziggit.dev/user_avatar/ziggit.dev/chrboesch/32/438_2.png) [@chrboesch](https://ziggit.dev/u/chrboesch)\
**Post date:** [May 11, 2024, 8:05pm UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282/1 "2024-05-11T20:05:39Z")

</div>

One of the most top-class talks I’ve ever seen about SIMD/SWAR, with Niles Salter:  
(edit: adding the other parts + link to project topic)

Part1:

[![](https://ziggit.dev/uploads/default/original/2X/e/ebf8817413e41af80df04ff9170190469573459d.jpeg "Accelerating the Zig Parser w/ Niles Salter (@Validark)") ](https://www.youtube.com/watch?v=oN8LDpWuPWw)

Part2:

[![](https://ziggit.dev/uploads/default/original/2X/d/d88033007c477cfe2cdd2c88e2bd5143d61b8f6e.jpeg "Hyper-optimizing the Zig Parser: Part 2 w/ Niles @Validark") ](https://www.youtube.com/watch?v=FDiUKafPs0U)

Part3:

[![](https://ziggit.dev/uploads/default/original/2X/5/51e962ba255c4aac908c8d7b69d91f7f551365f8.jpeg "Intro to SIMD w/ Niles @validark") ](https://www.youtube.com/watch?v=fajcuqMX-mo)

Part4:

[![](https://ziggit.dev/uploads/default/original/2X/f/fbc1c9a3002d2a7aa05c2de3e927f15d0a1eaa3e.jpeg "Hyper-optimizing the Zig Parser - w/ Niles Salter (@validark)") ](https://www.youtube.com/watch?v=kr806zlZcY8)

Project:

> [@New Compaction-based Zig Tokenizer](https://ziggit.dev/t/new-compaction-based-zig-tokenizer/9661):
>
> Hello everyone, it’s Niles (@Validark). Today I have finally open-sourced my new compaction-based tokenizer for the Zig programming language. This does not mean it is done, but that I want to work on it publicly from now on so people can see how I progress each week, since I have started working on it regularly. Currently, it only works on x86-64 machines supporting AVX-512, and that platform will continue to be my focus for the next two or three weeks. After that I will optimize for RISC-V and…

---

<div class="post-metadata">

**Author:** ![Calder-Ty](https://ziggit.dev/user_avatar/ziggit.dev/calder-ty/32/10237_2.png) [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Post date:** [May 12, 2024, 1:09pm UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282/2 "2024-05-12T13:09:47Z")

</div>

If there is anyone who goes/runs Utah Zig, I’d be curious to know when the meetings happen and where.

---

<div class="post-metadata">

**Author:** ![squeek502](https://ziggit.dev/user_avatar/ziggit.dev/squeek502/32/409_2.png) [@squeek502](https://ziggit.dev/u/squeek502)\
**Post date:** [May 12, 2024, 6:08pm UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282/3 "2024-05-12T18:08:58Z")

</div>

> **[Utah Zig (Ziglang Ziguanas) in Lehi | Meetup](https://www.meetup.com/utah-zig/)**
>
> Welcome to Zig Utah! We welcome all the Ziguanas of Utah - from the little Ziglings to the real Zeros. And we want YOU to Zig with us!Come hangout, eat pizza, present, learn, and get Ziggy with Ziglang.Yes, we overdid it with the Zs a bit. Forgive...

Also in the [`#utah` channel](https://discord.com/channels/605571803288698900/1037105704860917810) in this [Zig Discord server](https://discord.gg/zig)

---

<div class="post-metadata">

**Author:** ![chrboesch](https://ziggit.dev/user_avatar/ziggit.dev/chrboesch/32/438_2.png) [@chrboesch](https://ziggit.dev/u/chrboesch)\
**Post date:** [June 16, 2024, 6:26pm UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282/4 "2024-06-16T18:26:38Z")

</div>

Today I found the first part of this talk, unfortunately not on the Utah Zig chanel, but here: [https://www.youtube.com/watch?v=oN8LDpWuPWw](https://www.youtube.com/watch?v=oN8LDpWuPWw)

---

<div class="post-metadata">

**Author:** ![Sze](https://ziggit.dev/user_avatar/ziggit.dev/sze/32/496_2.png) [@Sze](https://ziggit.dev/u/Sze)\
**Post date:** [September 24, 2024, 10:29am UTC](https://ziggit.dev/t/hyper-optimizing-the-zig-parser/4282/5 "2024-09-24T10:29:39Z")

</div>

[https://ziggit.dev/t/utah-zig-meetup-talks/3181](https://ziggit.dev/t/utah-zig-meetup-talks/3181)
