Oct. 6, 2020, 10:50 p.m.

Zig SHOWTIME #12

Zig SHOWTIME

The Zig SHOWTIME Discord server
is now open for business!

JOIN NOW!

(From the Community Wiki Page)
The Zig SHOWTIME Discord server is used to coordinate speakers and to give a space for discussion to selected community projects. Everyone is welcome to join and have fun, but consider this Discord server more mission-focused than others. The mission is the success of Zig, of course. Unless you are pushing forward with a Zig project of your own, or are invested in the success of the language, consider trying out other communities first.

The next episode of Zig SHOWTIME airs on Saturday 10th of October!

Times for a few different timezones:
1pm CDT / 20.00 CEST / 11:30pm IST / 2am SGT (Sun) / 3am JST (Sun)

Go to https://zig.show for more info or subscribe to the Zig SHOWTIME calendar (iCal) to have all episodes automatically added to your calendar.

New Episode

Implementing an ARM backend for stage2

By Joachim Schmidt

I have to say I’m happy the reign of x86_64 is about to be over and that we’re finally switching to open, innovative, architectures such as NVIDIA™ ARM. I heard soon you’ll need to install NVIDIA™ GeForce Experience to be able to boot a NVIDIA™ ARM processor. Not a big deal, I love signing up for marketing emails just for the privilege of downloading 300MB worth of drivers. Do I want to share my usage statistics? Of course I do, why even ask!

Sarcasm aside, I’m a moron and I plan to buy one of the new ARM macbooks as soon as they come out, so I’m happy someone is making sure incremental compilation is going to work there too. I’m also looking forward to Jakub’s talk on creating MachO executables. I truly love open-source because thanks to everyone’s combined effort I’ll be able to swiftly implement off-by-one errors with unparalleled ease.

Advanced Hello World in Zig

By Loris Cro

You’ve surely implemented an Hello World application before. You might even think you’re good at it. Well, think again, SCRUB! In this talk we’re going to look at advanced techniques for implementing Hello World and we’re going to analyze the secret techniques employed by the world’s best programmers!

Nah, I’m joking, we’re mostly just going to answer the question of why Zig doesn’t have a print builtin and then we’re going to briefly take a look at std.log.


Last Episode

Here’s a recap of the talks in the last episode, in case you missed it. The full episode is available on YouTube.

LoLa - When you don’t trust the coder, you’re maybe a coding game creator (YouTube Link)

By Felix “xq” Queißner

As if trusting the coder was ever a good idea…

Trust web developers and all you’ll get is misalinged boxes. Trust embedded people and your teapot will require you to sign up and enable desktop notifications to function. Trust C programmers and all you’ll get is memory belonging to other processes. Anyway, LoLa is a small language meant to be embedded into video games, kinda like Lua often is, but with some critical differences. @Felix I hope in the presentation you’re going to explain to me and to JB (who’s certainly going to be watching) why your programming language isn’t as capable as Fortnite.

…uhmm I just realized Zig trusts the developer too much, brb going back to Java where nothing bad ever happException in thread “main” java.lang.NullPointerException
at FactoryFactory.loadClass(test.java:58)
at test.main(test.java:30)
at Main.main(Main.java:69)

Error, panic or unreachable? (YouTube Link)

By Loris Cro

The truth is that I have never once written in my life a piece of code that handled properly all possible errors. In this talk we’ll make the courteous assumption that instead we do know what we’re doing, that we know what to do when errors happen, and that we care about finishing our projects (yeah right).

In other words, this talk is useless: just @panic(“TODO”), that’s what the microservices people do anyway. If anybody complains, say that you’re following the “fail fast and loud” agile design pattern.
Boom, 30mins of your life saved.


See you at showtime,
Loris Cro

You just read issue #5 of Zig SHOWTIME. You can also browse the full archives of this newsletter.

Brought to you by Buttondown, the easiest way to start and grow your newsletter.