<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/zig/best-of/2022" -->

---
title: Best Zig posts of 2022 | daily.dev
description: The most upvoted Zig posts of 2022, curated by the daily.dev community.
canonical: https://daily.dev/tags/zig/best-of/2022
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/zig/best-of/2022
og:type: website
og:site_name: daily.dev
og:title: Best Zig posts of 2022 | daily.dev
og:description: The most upvoted Zig posts of 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Zig — 2022

1. 1  
[](/posts/meet-bun-a-javascript-runtime-for-the-whole-dev-lifecycle-zwtjuvixx "Meet Bun: A JavaScript Runtime for the Whole Dev Lifecycle")  
Article  
![Avatar of newstack](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/newstack)The New Stack · 4y  
Meet Bun: A JavaScript Runtime for the Whole Dev Lifecycle  
Bun is a drop-in replacement for running JavaScript and Typescript applications. It was designed to be an all-in-one tool for bundling, transpiling, and running code at lightning speed. It processes about three times more HTTP requests per second than Node.js when rendering React server-side.  
116  
3
2. 2  
[](/posts/how-netflix-implements-load-shedding-equzlz2-p "How Netflix Implements Load Shedding")  
Article  
![Avatar of quastor](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/073e935e4893445ba562bf9e1ca38ec1)Quastor Daily · 4y  
How Netflix Implements Load Shedding  
API Gateway sits between the backend and the client and it handles things like rate limiting, authentication, monitoring and routing requests. The first decision was where to implement the load shedding algorithm. Zuul will throttle requests below a certain priority threshold. This is meant to protect the API gateway itself. The metrics used to trigger global throttling are concurrent.  
23
3. 3  
[](/posts/goodbye-to-the-c-implementation-of-zig-zig-programming-language-u0mlrsexa "Goodbye to the C++ Implementation of Zig ⚡ Zig Programming Language")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Goodbye to the C++ Implementation of Zig ⚡ Zig Programming Language  
The old one, written in 80,000 lines of C++, plus sharing Zig code with the new one. The new one was faster, used less memory, and was actively maintained and enhanced. This was a huge pain, especially as the design of these two compilers diverged. The C++ implementation of Zig originally used the same strategy.  
16  
2
4. 4  
[](/posts/self-hosted-compiler-upgrade-guide-ziglang-zig-wiki-obedredky "Self Hosted Compiler Upgrade Guide · ziglang/zig Wiki")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
Self Hosted Compiler Upgrade Guide · ziglang/zig Wiki  
The new compiler, sometimes called "stage2" or "stage3" is in many ways better than the old compiler. All 0.10.x releases will have the -fstage1 option; the upgrade only will become mandatory starting with 0.11.0.0\. For Zig, building itself went from using 9\. is a comptime-only function due to its Comptime only return type. However, pointers are still zero bit types.  
12

[See all Zig archives](/tags/zig/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/zig/best-of/2022#page","url":"https://daily.dev/tags/zig/best-of/2022","name":"Best Zig Posts of 2022","description":"The most upvoted Zig posts of 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/zig/best-of/2022#items","numberOfItems":4,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/meet-bun-a-javascript-runtime-for-the-whole-dev-lifecycle-zwtjuvixx","name":"Meet Bun: A JavaScript Runtime for the Whole Dev Lifecycle"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-netflix-implements-load-shedding-equzlz2-p","name":"How Netflix Implements Load Shedding"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/goodbye-to-the-c-implementation-of-zig-zig-programming-language-u0mlrsexa","name":"Goodbye to the C++ Implementation of Zig ⚡ Zig Programming Language"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/self-hosted-compiler-upgrade-guide-ziglang-zig-wiki-obedredky","name":"Self Hosted Compiler Upgrade Guide · ziglang/zig Wiki"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Zig","item":"https://daily.dev/tags/zig"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/zig/best-of"},{"@type":"ListItem","position":5,"name":"2022"}]}]}
```

