Live data from Hacker News

Functional programmers need to take a look at Zig

pure-systems.org

161–163 of 163 posts

Re: Functional programmers need to take a look at Zig

#161

Earlier quoted context omitted.

Im with you on Go and SQLite, dropped Postgres for many of my projects, I might add: HTMX instead of a TS frontend, very few apps need a TS/React/... frontend. Doubling development effort with minimal gain (except games etc.) Dabbled with Rust some years ago, I think it is an excellent choice for sudo-rs and such but for GUI and web apps I (perhaps too stupid) end up with arcmutex soup. https://www.radicalsimpli.city

The sentiment on that page speaks to my soul. But I wonder how relevant it still is, just a few years later, in the age of AI tools? Certainly replacing a microservices morass with a single bare metal server running a single static go binary makes good fiscally responsible sense for a startup/MVP. But how does a CTO make the case that "we don't need React" when the developer can just get Claude to smack the React app…

I do think more relevant than before, Claude has less trouble running a modulith with HTMX than keeping everything in sync. I still run into context window problems on company code bases. When the 1M windows is 50% full Claude degenerates for me visibly. When this is no longer an issue, I would agree that we no longer need to care.

Re: Functional programmers need to take a look at Zig

#162

Earlier quoted context omitted.

nushell + 1. After ~20 years of bash+zsh, I'm translating all my scripts to nu. Yesterday I noticed I still don't know how to write ls | where modified in zsh after all years.

find . -type f -mtime +21 -delete Or if you have fd fd -t f --changed-before 3w -X rm

[deleted]

Re: Functional programmers need to take a look at Zig

#163

Earlier quoted context omitted.

I went the same way but with only using Lisp dialects like Elisp and Clojure and Nix. Although I would ditch Nix too if another Lisp could supplant it too.

I'm curious about your Clojure setup. Same as GO, I think Clojure has very strong backwards compatibility. If trying to avoid the cloud, like OP, which hosting option is suitable for Clojure, what do you use? I believe Clojure (JVM) has higher RAM requirements? And GO has pocketbase.io which looks quite interesting. Do know whether something similar exists for Clojure, or maybe it's straightforward enough to compose…

Howdy, great question. My setup for Clojure is mainly defined declaratively. For personal development: babashka clojure clojure-lsp clj-kondo cljfmt jdk25 For web development, I use re-frame (which uses reagent, which uses react) and have a push to app workflow paired seamlessly with it via Tauri. You can inspect an example template of that here: https://github.com/ArikRahman/Clojkstra
Post reply on HN