# Zig

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Fast and Hard Code

DevFeed: [Fast and Hard Code](<https://devfeed.tech/articles/fast-and-hard-code-30733.md>)

Original publisher: [Read original article](<https://lucumr.pocoo.org/2026/8/22/fast-hard-code/>)

Author: Armin Ronacher

Published: 2026-08-22T00:00:00Z

Content type: opinion

Language: en

Sources: [Armin Ronacher](<https://devfeed.tech/sources/armin-ronacher.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [LLMs](<https://devfeed.tech/topics/llms.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [eBPF](<https://devfeed.tech/topics/ebpf.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [ebpf](<https://devfeed.tech/tags/ebpf.md>), [llms](<https://devfeed.tech/tags/llms.md>), [performant](<https://devfeed.tech/tags/performant.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rust](<https://devfeed.tech/tags/rust.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>), [vercel](<https://devfeed.tech/tags/vercel.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

An opinion article argues that LLM-assisted programming makes language choice less consequential, allowing developers to use unfamiliar or traditionally difficult languages. It focuses on growing interest in fast, small software built with Rust and Zig, while noting examples involving WebAssembly, Cloudflare, Vercel, and other demanding technologies.

### Source excerpt

One of the memes on Twitter is that "programming is solved now." I'm not sure to what degree it is, but one thing is pretty clear: the act of familiarizing yourself with a language no longer matters and some of the friction that mattered for humans does not matter for agents. As a result, LLMs make language choice much less consequential than it used to be. If you don't like the choice, you can seemingly rewrite it in another language and you can make it pick a language that you, as a programmer, are entirely unfamiliar with. Which in turn means that people can, and do, choose based on the marketing of languages much more. As a long-term Rust programmer I found it quite fascinating to see people now ship Rust code who previously might not have chosen it. I attribute at least one part of this to two recent vibe shifts: there is a lot more talk about wanting fast software, and about LLMs being exceptional at optimizing code without regressing behavior. Folks like Mitchell Hashimoto, Charlie Marsh, Jarred Sumner, Daniel Lemire and quite a few others always carried a certain level of obsession with fast and performant software and they also all happen to be receptive to agents writing code. Maybe as a result, or unrelated others are now joining in. That's because with things like autoresearch you don't even necessarily need to know all the tricks: you just need to put an agent on it -- though knowledge greatly helps! If you look around, there are plenty of projects that want to be fast and small, and they increasingly pick "hard languages". And it's not just Rust that is benefiting. Even Zig -- despite the fact that the creators and parts of the core community are pretty negative on the whole AI thing -- is too. For instance Cloudflare's new Artifacts service uses a pure-Zig Git-protocol engine, compiled to a roughly 100 KB WebAssembly module and Vercel released fx, a Zig coding agent advertised to be small and fast. From what I can tell, all these projects are largely LLM

## Bun's migration from Zig to Rust reduced the estimated timeline from 1-2 years to 11 days

DevFeed: [Bun's migration from Zig to Rust reduced the estimated timeline from 1-2 years to 11 days](<https://devfeed.tech/articles/the-pulse-what-can-we-learn-from-bun-s-rapid-rust-rewrite-with-ai-40930.md>)

Original publisher: [Read original article](<https://blog.pragmaticengineer.com/the-pulse-what-can-we-learn-from-buns-rapid-rust-rewrite-with-ai/>)

Author: Ivan Klaric

Published: 2026-07-16T16:50:20Z

Content type: opinion

Language: en

Sources: [The Pragmatic Engineer](<https://devfeed.tech/sources/the-pragmatic-engineer-2.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [Fable](<https://devfeed.tech/topics/fable.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [fable](<https://devfeed.tech/tags/fable.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [migration](<https://devfeed.tech/tags/migration.md>), [rust](<https://devfeed.tech/tags/rust.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

The article examines Bun's rewrite from Zig to Rust, focusing on memory-safety problems and the migration approach. It reports that the migration timeline was shortened from an estimated 1-2 years to 11 days, while emphasizing that thorough testing was required.

### Source excerpt

To a sceptic, spending $165K to migrate Bun from Zig to Rust sounds very expensive. But to a realist, shortening a 1-2 year migration down to 11 days opens amazing new opportunities for devs. However, a thoroughly-tested project is required to pull it off.

## Using GoReleaser and GitHub Actions to release Rust and Zig projects

DevFeed: [Using GoReleaser and GitHub Actions to release Rust and Zig projects](<https://devfeed.tech/articles/using-goreleaser-and-github-actions-to-release-rust-and-zig-projects-37762.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/goreleaser-rust-zig/>)

Author: Carlos Alexandro Becker

Published: 2025-01-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Cross-Compilation](<https://devfeed.tech/topics/cross-compilation.md>), [releases](<https://devfeed.tech/topics/releases.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>)

Tags: [changelog](<https://devfeed.tech/tags/changelog.md>), [cross-compilation](<https://devfeed.tech/tags/cross-compilation.md>), [docker](<https://devfeed.tech/tags/docker.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [release](<https://devfeed.tech/tags/release.md>), [rust](<https://devfeed.tech/tags/rust.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

A tutorial on using GoReleaser v2.5 with GitHub Actions to build, package, sign, and publish Rust and Zig projects across multiple platforms. It covers configuration, cross-compilation, changelog generation, Docker images, and release automation.

### Source excerpt

GoReleaser v2.5 is out with Rust and Zig support - let's explore how we can use it!

## Why I am not yet ready to switch to Zig from Rust

DevFeed: [Why I am not yet ready to switch to Zig from Rust](<https://devfeed.tech/articles/why-i-am-not-yet-ready-to-switch-to-zig-from-rust-6111.md>)

Original publisher: [Read original article](<https://turso.tech/blog/why-i-am-not-yet-ready-to-switch-to-zig-from-rust>)

Author: Pekka Enberg

Published: 2024-06-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rust](<https://devfeed.tech/tags/rust.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

The author explains why they are not yet ready to switch from Rust to Zig, reflecting on prior experience with C, C++, Haskell, and Rust. They value Rust's memory safety and borrow checker but previously struggled with its changing tooling and ownership model.

### Source excerpt

Building a better-sqlite3 compatible JavaScript package with Rust

## Application and AI roundup - September

DevFeed: [Application and AI roundup - September](<https://devfeed.tech/articles/application-and-ai-roundup-september-36687.md>)

Original publisher: [Read original article](<https://shostack.org/blog/appsec-roundup-september/>)

Author: Adam

Published: 2023-10-04T00:00:00Z

Content type: article

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Application Security](<https://devfeed.tech/topics/application-security.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [open-source-security](<https://devfeed.tech/topics/open-source-security.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [cisa](<https://devfeed.tech/topics/cisa.md>)

Tags: [appsec](<https://devfeed.tech/tags/appsec.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [development](<https://devfeed.tech/tags/development.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [open-source-software-security](<https://devfeed.tech/tags/open-source-software-security.md>)

### AI overview

A September roundup covering application security developments involving memory safety, C and C++, Zig, hardware memory tagging, secure-by-design AI guidance, cybersecurity policy for medical devices, and open-source software security.

### Source excerpt

September was a big month in appsec for both memory safety and policy

## Node.js vs. Deno vs. Bun: Performance & JavaScript Runtime Comparison

DevFeed: [Node.js vs. Deno vs. Bun: Performance & JavaScript Runtime Comparison](<https://devfeed.tech/articles/node-js-vs-deno-vs-bun-performance-javascript-runtime-comparison-7991.md>)

Original publisher: [Read original article](<https://snyk.io/blog/javascript-runtime-compare-node-deno-bun/>)

Author: Liran Tal

Published: 2023-09-05T05:00:00Z

Content type: comparison

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [Bun](<https://devfeed.tech/topics/bun.md>), [Deno](<https://devfeed.tech/topics/deno.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Zig](<https://devfeed.tech/topics/zig.md>)

Tags: [awareness](<https://devfeed.tech/tags/awareness.md>), [backend](<https://devfeed.tech/tags/backend.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [blog](<https://devfeed.tech/tags/blog.md>), [bun](<https://devfeed.tech/tags/bun.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [draftdotdev](<https://devfeed.tech/tags/draftdotdev.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [rust](<https://devfeed.tech/tags/rust.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

This comparison examines Node.js, Deno, and Bun as JavaScript runtimes. It discusses their performance, security, development experience, scalability, tooling, compatibility, and suitability for backend applications. It also reports a Bun benchmark against Deno and Node.js for an HTTP handler rendering a server-side React page.

### Source excerpt

Node.js, Bun, and Deno: we compare these three popular JavaScript runtimes so you can determine which is the right one for your project.

## Chainguard Image now available for Zig

DevFeed: [Chainguard Image now available for Zig](<https://devfeed.tech/articles/chainguard-image-now-available-for-zig-12952.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/chainguard-image-now-available-for-zig>)

Published: 2023-08-18T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [chainguard](<https://devfeed.tech/topics/chainguard.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [application-development](<https://devfeed.tech/tags/application-development.md>), [build](<https://devfeed.tech/tags/build.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [chainguard-images](<https://devfeed.tech/tags/chainguard-images.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [code](<https://devfeed.tech/tags/code.md>), [containers](<https://devfeed.tech/tags/containers.md>), [cve](<https://devfeed.tech/tags/cve.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [security](<https://devfeed.tech/tags/security.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>), [vulnerability-management](<https://devfeed.tech/tags/vulnerability-management.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [web](<https://devfeed.tech/tags/web.md>), [web-services](<https://devfeed.tech/tags/web-services.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>), [wolfi](<https://devfeed.tech/tags/wolfi.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

Chainguard introduces a Zig container image built from its existing Wolfi Zig package. The article explains how to use the image for development, CI/CD, production Docker builds, and server-side WebAssembly workloads, highlighting its 96MB size and zero known CVEs.

### Source excerpt

Introducing Chainguard Image for Zig: Bridging superior security and seamless Zig application deployment.

## Zig helped us move data to the Edge. Here are our impressions

DevFeed: [Zig helped us move data to the Edge. Here are our impressions](<https://devfeed.tech/articles/zig-helped-us-move-data-to-the-edge-here-are-our-impressions-6126.md>)

Original publisher: [Read original article](<https://turso.tech/blog/zig-helped-us-move-data-to-the-edge-here-are-our-impressions-67d3a9c45af4>)

Author: Piotr Sarna

Published: 2023-07-24T00:00:00Z

Content type: article

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Turso](<https://devfeed.tech/topics/turso.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [rust](<https://devfeed.tech/tags/rust.md>), [turso](<https://devfeed.tech/tags/turso.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

The article shares impressions of using Zig to help move data to the edge. It presents Zig in the context of a company whose primary technology stack is Rust and discusses Turso, a SQLite rewrite whose databases can be queried remotely or synchronized with devices and servers.

### Source excerpt

Our company is a Rust shop. We love Rust, and believe Rust will be the main engine of our work for a lifetime. But as a bunch of performance nerds, we've been keeping a very close eye on Zig. It...

## Learning Zig - Day 4

DevFeed: [Learning Zig - Day 4](<https://devfeed.tech/articles/learning-zig-day-4-38543.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/learning-zig--day-4/>)

Author: Harsh Shandilya

Published: 2021-05-18T06:30:00Z

Content type: opinion

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [learn](<https://devfeed.tech/tags/learn.md>), [learning](<https://devfeed.tech/tags/learning.md>), [rust](<https://devfeed.tech/tags/rust.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

A personal learning journal about Zig's explicit allocator model and standard library. It discusses filesystem APIs, formatting, JSON, cryptography, random numbers, and advanced formatting, with comparisons to Rust and brief notes on topics skipped.

### Source excerpt

Brushing up on standards

## Learning Zig - Day 3

DevFeed: [Learning Zig - Day 3](<https://devfeed.tech/articles/learning-zig-day-3-38542.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/learning-zig--day-3/>)

Author: Harsh Shandilya

Published: 2021-05-16T06:30:00Z

Content type: tutorial

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [type coercion](<https://devfeed.tech/topics/type-coercion.md>), [Code](<https://devfeed.tech/topics/code.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [enums](<https://devfeed.tech/tags/enums.md>), [learn](<https://devfeed.tech/tags/learn.md>), [learning](<https://devfeed.tech/tags/learning.md>), [pointers](<https://devfeed.tech/tags/pointers.md>), [sealed-classes](<https://devfeed.tech/tags/sealed-classes.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [type-coercion](<https://devfeed.tech/tags/type-coercion.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

A personal learning log covering the remaining basics of ZigLearn chapter 1. The author discusses Zig pointers, enums, structs, unions, type coercion, floats, and optionals, often comparing Zig's syntax and behavior with Rust and Kotlin.

### Source excerpt

Finishing up the basics

## Learning Zig - Day 2

DevFeed: [Learning Zig - Day 2](<https://devfeed.tech/articles/learning-zig-day-2-38541.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/learning-zig--day-2/>)

Author: Harsh Shandilya

Published: 2021-05-15T06:30:00Z

Content type: tutorial

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [Code](<https://devfeed.tech/topics/code.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [test](<https://devfeed.tech/topics/test.md>), [formatting](<https://devfeed.tech/topics/formatting.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [learn](<https://devfeed.tech/tags/learn.md>), [learning](<https://devfeed.tech/tags/learning.md>), [rust](<https://devfeed.tech/tags/rust.md>), [testing](<https://devfeed.tech/tags/testing.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

A second-day learning journal about Zig covers rebuilding a Rust library, using ziglearn.org, and early observations about Zig's defaults, arrays, testing, and defer feature. The author compares several behaviors with Rust and notes unresolved questions about formatting and diagnostics.

### Source excerpt

Onwards in our quest to learn Zig

## First steps with Zig

DevFeed: [First steps with Zig](<https://devfeed.tech/articles/first-steps-with-zig-38535.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/first-steps-with-zig/>)

Author: Harsh Shandilya

Published: 2021-05-14T06:30:00Z

Content type: tutorial

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Zig](<https://devfeed.tech/topics/zig.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [ide](<https://devfeed.tech/tags/ide.md>), [learn](<https://devfeed.tech/tags/learn.md>), [learning](<https://devfeed.tech/tags/learning.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [nix](<https://devfeed.tech/tags/nix.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rust](<https://devfeed.tech/tags/rust.md>), [setup](<https://devfeed.tech/tags/setup.md>), [zig](<https://devfeed.tech/tags/zig.md>)

### AI overview

A developer documents their first steps learning Zig, including compiler and IDE setup with Nix and VSCode, language-server and syntax-highlighting considerations, available learning resources, and the creation of a first command-line project.

### Source excerpt

I've decided to learn Zig, and here's how I'm preparing for it.

## Cross-compiling with musl Toolchains

DevFeed: [Cross-compiling with musl Toolchains](<https://devfeed.tech/articles/cross-compiling-with-musl-toolchains-27450.md>)

Original publisher: [Read original article](<https://ariya.io/2020/06/cross-compiling-with-musl-toolchains/>)

Published: 2020-06-22T12:37:59Z

Content type: tutorial

Language: en

Sources: [Ariya Hidayat](<https://devfeed.tech/sources/ariya-hidayat.md>)

Topics: [Cross-Compilation](<https://devfeed.tech/topics/cross-compilation.md>), [toolchains](<https://devfeed.tech/topics/toolchains.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [C](<https://devfeed.tech/topics/c.md>), [qemu](<https://devfeed.tech/topics/qemu.md>), [ci](<https://devfeed.tech/topics/ci.md>), [make](<https://devfeed.tech/topics/make.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [cross-compilation](<https://devfeed.tech/tags/cross-compilation.md>), [docker](<https://devfeed.tech/tags/docker.md>), [linux](<https://devfeed.tech/tags/linux.md>), [make](<https://devfeed.tech/tags/make.md>), [mips](<https://devfeed.tech/tags/mips.md>), [qemu](<https://devfeed.tech/tags/qemu.md>), [toolchains](<https://devfeed.tech/tags/toolchains.md>), [windows](<https://devfeed.tech/tags/windows.md>), [x86](<https://devfeed.tech/tags/x86.md>)

### AI overview

A tutorial on using static musl-based toolchains to cross-compile command-line programs for multiple targets, including MIPS and Windows, from a Linux x86-64 host. It also covers testing non-native binaries with QEMU and migrating FastLZ continuous integration to musl.cc.

### Source excerpt

When working on command-line utilities which can be useful for various platforms, from Windows on x86 to Linux on MIPS, the existence of a cross-compilation is highly attractive. A number of different binaries can be constructed conveniently from a single, typically powerful host system.

## Better Log Parsing with Logstash and Google Protocol Buffers

DevFeed: [Better Log Parsing with Logstash and Google Protocol Buffers](<https://devfeed.tech/articles/better-log-parsing-with-logstash-and-google-protocol-buffers-27939.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2016-01-19-logstash_protobuf_codec/>)

Author: Inga Feick Follow

Published: 2016-01-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [logstash](<https://devfeed.tech/topics/logstash.md>), [Zig](<https://devfeed.tech/topics/zig.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Kafka](<https://devfeed.tech/topics/kafka.md>), [Development](<https://devfeed.tech/topics/development.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [data](<https://devfeed.tech/tags/data.md>), [devops](<https://devfeed.tech/tags/devops.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [google](<https://devfeed.tech/tags/google.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [logs](<https://devfeed.tech/tags/logs.md>), [logstash](<https://devfeed.tech/tags/logstash.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [stream](<https://devfeed.tech/tags/stream.md>)

### AI overview

This tutorial explains how trivago uses Google Protocol Buffers with Kafka, Elasticsearch, and Logstash for log processing. It describes why protobuf can reduce message size and enforce a stable structure, then outlines creating and using a custom Logstash codec for decoding protobuf messages.

### Source excerpt

At trivago we rely heavily on the ELK stack for our log processing. We stream our webserver access logs, error logs, performance benchmarks and all kind of diagnostic data into Kafka and process it from there into Elasticsearch using Logstash.