Email or username:

Password:

Forgot your password?
Andrew Kelley

regarding ziglang.org/news/migrate-to-se

some people didn't understand why switching to self-hosting from the cloud makes website deployments faster.

I didn't explain in the article, so I'll explain here:

docker is slow, installing system dependencies is slow, uploading to the cloud is slow, etc.

with self-hosting you set up the computer ahead of time, then just run a script that copies files around on the same computer, which is really fast.

7 comments
Andrew Kelley

in our case we made the .zig-cache directory preserved across runs, so it additionally only has to rebuild the parts of the website that changed.

segfault-enjoyer

@andrewrk How is zig cache of relevance here? In terms of the compilers the are available or is the site already running on zine?

Andrew Kelley

@Markus already running in zine. @kristoff is planning to make a blog post about that soon

segfault-enjoyer

@andrewrk @kristoff Thats really exciting news! I love it

I asked out of curiousity, thinking there was no way that it already happened.

Chucho :gnu: :freedo: :guix:

@andrewrk I have been saying for long time to many people that migrating everything to the "cloud" is a big mistake. I saw many use cases where companies have problems of money because the cloud is expensive and even worse the loss of control.

jonny (good kind)

@andrewrk
The first time I set up my static site builder with forgejo and forgejo actions it absolutely blew me away how big of a deal going from ~5m down to ~3s from the time I hit enter on "push" to when the site is live and deployed on the web was. It made me feel like the dream of the read write web was real

Go Up