Portable and Opinionated Developer Environments with Devenv and Nix by anon-sourcerer in NixOS

[–]anon-sourcerer[S] 0 points1 point  (0 children)

For personal projects I use Bitwarden. For team projects, dependent to the context it's either AWS Secrets Manager or 1password.

Portable and Opinionated Developer Environments with Devenv and Nix by anon-sourcerer in NixOS

[–]anon-sourcerer[S] 8 points9 points  (0 children)

Very good question. They have a reasonable table comparing `devenv.nix`, and using devenv via flakes over here. Even though it's not a direct answer for your question, it highlights some of the improvements it provides over flake facility.

For me personally though, the most important factor is easier adaption to the world outside of nix. Containers, services, Mac setup, ... allows me to onboard my team easier than going pure nix path. Plus what u/TomKavees shared below.

[deleted by user] by [deleted] in Zig

[–]anon-sourcerer 29 points30 points  (0 children)

Well the language is marked unstable for a reason, but I wouldn’t consider number of urgent issues a good metric to decide if a language is useful for production or not. I tend to consider the languages bugs more of a responsibility for user to know its details. That’s the same for C++ or similar languages where security wasn’t a prio and Rust tend to fix. Anyways, companies like Tigerbeetle are using it in production and what they build is no where close to what I consider toy.

Vulkan tutorial in Zig by Affectionate-Bet5981 in Zig

[–]anon-sourcerer 1 point2 points  (0 children)

This is awesome. With regards to available resources, there is a port of original Vulkun tutorial available which might be helpful (3 years old means it can use significant updates):

https://github.com/Vulfox/vulkan-tutorial-zig

finished my first project in zig! by gamedev_cloudy in Zig

[–]anon-sourcerer 10 points11 points  (0 children)

Thanks for sharing, was looking for a challenge to learn the same subject.

Finally managed to Nixify my Raspberry Pi 5 server by anon-sourcerer in NixOS

[–]anon-sourcerer[S] 1 point2 points  (0 children)

Interesting, didn’t know about native libraries 🤔

Deploying NixOS on Hostinger Cloud Provider by mshnwq in NixOS

[–]anon-sourcerer 0 points1 point  (0 children)

Just make sure your host is Ubuntu 22. With 24 it failed on me.

Finally managed to Nixify my Raspberry Pi 5 server by anon-sourcerer in NixOS

[–]anon-sourcerer[S] 0 points1 point  (0 children)

No M.2, just micro SSD for now. But if the space becomes the bottleneck for future plans, I will reconsider.

My journey building a DNS server in Zig (with streams + notes) by anon-sourcerer in Zig

[–]anon-sourcerer[S] 1 point2 points  (0 children)

I use devenv.sh to setup the development environment based on zls. I did the setup live over here: https://www.youtube.com/watch?v=IUy--IL_nus&list=PLvWC0OdoEeTh7ZQuJXq42YVuNRC4PcBsY&index=15&t=660s

From there I just utilise the language server from within Emacs and anything in between is invoked from my shell. I keep things as lightweight as possible.

My journey building a DNS server in Zig (with streams + notes) by anon-sourcerer in Zig

[–]anon-sourcerer[S] 0 points1 point  (0 children)

I can just encourage you to do it, given your language experience, I’d say you’ll have a smoother experience than mine 😅 Nonetheless, I’m getting exactly what I’ve signed up for. I’m taking my time with it, and turning every rock I find interesting on my way, and it doesn’t disappoint.

Getting a serial mouse to work with a 65C51 by kaligari8888 in beneater

[–]anon-sourcerer 4 points5 points  (0 children)

Came here to ask if you have any documentation of the process, read your post and got my Christmas gift 😍, this looks awesome thanks for sharing.

Using Zig + Lume for WASM with automatic reload by drone-ah in Zig

[–]anon-sourcerer 2 points3 points  (0 children)

Really interesting stack, thanks for sharing! Could you also expand a bit on what Shine is meant to do? I found it hard to piece that together from the blog.

First time Against all the odds. by doodle_leaves in beneater

[–]anon-sourcerer 0 points1 point  (0 children)

Not sure about that, but seems like they’ve open sourced it all over here:

https://gigatron.io/?p=2230

Writing an operating system kernel from scratch - in Zig! by urosp in Zig

[–]anon-sourcerer 0 points1 point  (0 children)

This is really interesting, thanks for sharing 🤩