News for hackers. Stuff that matters.

_gerald_

Re:Why does Zig make Docker irrelevant on Thursday October 20, 2022 @07:55AM (#33273303)
It is. The guy is pushing a narrative. It's still a good idea to Dockerize your apps even if they are statically compiled. If your app has C dependencies e.g. libxml2, it won't run on another system if the required C headers are missing.

Another good reason for using Docker with Zig is shareability since Zig doesn't have a package manager.

Re:C Minus Minus on Wednesday October 19, 2022 @09:26AM (#33261798)
Does anyone know how Zig solves the memory-safety and concurrency questions? I tried Googling it and according to this blog post:

https://mikefsn.github.io/2022/10/18/goodbye-zig.html

it doesn't look like it offers solutions. The only thing I could find in the docs was about concurrency where they say "[concurrency] is an area of active research":

https://ziglang.org/learn/overview/#concurrency-via-async-fu...