# 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