frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why I Vibe in Go, Not Rust or Python

https://lifelog.my/episode/why-i-vibe-in-go-not-rust-or-python
28•riclib•2h ago

Comments

riclib•2h ago
Last night I built a website from scratch. Not a landing page. A full blog with three-domain routing, animated video covers, an audio player with playlists, dark mode, RSS feeds, social cards, and a sticky sidebar with a lightbox. Seven commits. Zero test failures. One binary.

The site you've read the article on. Built in one session. In Go.

I work with an AI that writes most of the code. The question everyone asks is which language to vibe in. Python is fast to start. Rust is correct by construction. Go is boring.

I choose boring. Here's why.

saidnooneever•2h ago
every page includes inline css, js etc. so each load it will pull all of that in each time. so each page transfer.

you could put the css and js parts that are common between them into separate files so that the browser can cache them and your users and server save some bandwidth.

happy to see most of it looks kinda decent. Not sure why you promote the site as being built in Go because its html, css and javascript. The backend can be go, but since it is not visible and theres no link to that code its impossible to see if its good or bad. the fact it does xyz doesnt really say anything about code quality..it just confirms the happy path works which is what AI is pretty good at.

it might be interesting to open it up for scrutiny and get some contributions if its good or some tips for footguns or bugfixes if there are such things.

not trying to discourage ofcourse :D and it sounds like a fun and rewarding project and ultimately i can navigate the pages just fine and it works ok on my connection regarding the bandwidth remark. (thats long run savings i guess, or handier when u receive higher volume traffic perhaps?)

gerdesj•1h ago
Would you mind showing us the Go bits of this website?

I'm also struggling with this: "The compiler is the floor. The human is the taste. The binary is the proof."

I'd initially go for parody but I'm not laughing (inwardly).

hackingonempty•1h ago
Why use an obscure language like Golang when you can use Java? It is just as capable and boring as Golang but has an order of magnitude or two more available libraries, training data, and runtime support.
wanderlust123•1h ago
Obscure? That is just false
alexjplant•36m ago
If you've only had exposure to one corner of the software industry then it's very easy to develop blinders. Not saying that this is what parent is guilty of but as somebody who has regrettably had this particular problem in the (thankfully distant) past I feel compelled to point out that this type of ignorance is sometimes just a side effect of one's circumstances.

As an example PHP still powers something like 75% of web sites and I've never once used it professionally. If I didn't know better I might think it dead.

malcolmgreaves•1h ago
You also have AI write your HN comments.
sodapopcan•1h ago
Here's why!
oldgregg•1h ago
Add air for auto reload and ur golden
dmix•1h ago
I use Node for one off vibe-coded stuff, that way I can't pretend it's not a piece of crap.
UltraSane•1h ago
I have found C# has a the same advantages as Go when vibe coding.
ebuyan•1h ago
I found TypeScript and Node.js particularly have advantages as well
giancarlostoro•1h ago
I "Vibe" in all three to be honest. I've had good success, the key thing is, and I say this often, you have to think like an architect, and basically tell it how you want something built not just what you want built.
Tempest1981•1h ago
> The deploy script is 30 lines of bash

riclib, should that be 3 lines?

m00dy•1h ago
I write Rust only and never look back.
jakelazaroff•59m ago
> Mypy exists. Mypy is optional. Optional means it’s not there. I’ve never seen a Python project where mypy covers 100% of the code with strict mode. I’ve seen hundreds where it covers the 20% someone added last quarter. The other 80% is Any, all the way down.

This is your project, is it not? Can you not simply tell the agent to cover 100% of the code?

Notably, types in TypeScript are also optional, but LLMs don't seem to have any problem generating fully type-safe code without `any` (though you do need to gently nudge them on occasion, or run a linter that forbids it). I don't see why they'd choke so hard on Mypy.

wenc•46m ago
It depends on the use case. Go seems like a dream... until you have to work with dataframes or do any kind of ML work. Then it's a nightmare.

Go's ecosystem is especially weak in ML, stats, and any kind of scientific computation. I mean, do you really want Claude to implement standard battle-tested ML algorithms in Go from scratch? You'd be burning tokens and still get a worse result than if you'd just used Python.

I use Go to write CLI tools, but for ML work I'd rather have Claude generate Python.

The suitability of language hinges not only on its language design, but its ecosystem as well.

Twey•16m ago
The case given here for ‘why Go, not Python’ is just as applicable for ‘why Rust, not Go’.

> The borrow checker catches real bugs. The type system is rigorous. The compiler says no, and when it says no, it’s right. The problem is that the compiler says no too much.

> When an AI writes Rust, the borrow checker fights the generated code. I — the human — spend my taste budget on lifetime annotations instead of architecture. Instead of saying “why do we keep both around?” — five words that collapse complexity — I’m saying “add a .clone() here” or “wrap this in Arc<Mutex<>>.” I’m using Layer 5, the most expensive layer, on problems the language invented.

These paragraphs are inconsistent. Either lifetimes catch real bugs — i.e. they reflect the ‘real’ (runtime) world, and when the compiler rejects some generated code it's because that code is buggy — or the language merely invented the problems they exist to solve and you're wasting your time thinking about them. (In my experience it's about 80:20 respectively, but for the level of code LLMs generate probably higher.)

> Go has goroutines. You write `go func()` and it works. Rust has colored functions.

Go also has coloured functions, but the only functions that are allowed to not be async are FFI. Go marks all functions as async just as JavaScript marks all return types as `any` — with the exception that sometimes Go is wrong and you have to remember where.

> One crate uses async-std. Now you have two runtimes.

Only if you start an async-std runtime. (There are compatibility options, too.) There are certainly occasional pitfalls when writing cross-runtime code in Rust, but relatively few these days, and not really the ones the article worries about.

> Come back to a Rust project after three months. Run `cargo update`. Half your transitive dependencies don’t compile because a trait bound changed in a crate you’ve never heard of.

If you lock your dependencies (which is in fact the case by default, and what you're explicitly opting out of by running `cargo update`) this doesn't happen. If you change the version of a Go dependency, it may also change API. Rust just has a tool to automate this workflow. If you choose not to use it you'll get the Go experience.

There are valid reasons (IMHO) to reject Rust for vibe coding (all else being equal). They're not these though.

PC Gamer recommends RSS readers in a 37mb article that just keeps downloading

https://stuartbreckenridge.net/2026-03-19-pc-gamer-recommends-rss-readers-in-a-37mb-article/
325•JumpCrisscross•7h ago•152 comments

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rolle...
192•mariuz•6h ago•69 comments

The future of version control

https://bramcohen.com/p/manyana
411•c17r•10h ago•238 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
249•stevekrouse•14h ago•208 comments

Intuitions for Tranformer Circuits

https://www.connorjdavis.com/p/intuitions-for-transformer-circuits
7•cjamsonhn•54m ago•0 comments

Why I love NixOS

https://www.birkey.co/2026-03-22-why-i-love-nixos.html
202•birkey•8h ago•145 comments

GrapheneOS will remain usable by anyone without requiring personal information

https://grapheneos.social/@GrapheneOS/116261301913660830
231•nothrowaways•4h ago•58 comments

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
362•jensgk•13h ago•109 comments

I Reverse-Engineered the TiinyAI Pocket Lab from Marketing Photos

https://bay41.com/posts/tiiny-ai-pocket-lab-review/
22•davidklemke•3d ago•7 comments

Flash-MoE: Running a 397B Parameter Model on a Laptop

https://github.com/danveloper/flash-moe
307•mft_•14h ago•106 comments

LLMs predict my coffee

https://dynomight.net/coffee/
75•surprisetalk•4d ago•35 comments

Department of State advises Americans worldwide to exercise increased caution

https://travel.state.gov/en/international-travel/travel-advisories/global-events/worldwide-cautio...
107•supernova215•57m ago•84 comments

First and Lego Education Partnership Update

https://community.firstinspires.org/first-lego-education-partnership-update
25•jchin•3d ago•9 comments

Five Years of Running a Systems Reading Group at Microsoft

https://armaansood.com/posts/systems-reading-group/
115•Foe•8h ago•32 comments

MAUI Is Coming to Linux

https://avaloniaui.net/blog/maui-avalonia-preview-1
158•DeathArrow•10h ago•79 comments

How to Attract AI Bots to Your Open Source Project

https://nesbitt.io/2026/03/21/how-to-attract-ai-bots-to-your-open-source-project.html
78•zdw•1d ago•13 comments

What Young Workers Are Doing to AI-Proof Themselves

https://www.wsj.com/economy/jobs/ai-jobs-young-people-careers-14282284
76•wallflower•7h ago•83 comments

Windows native app development is a mess

https://domenic.me/windows-native-dev/
330•domenicd•16h ago•353 comments

They're Vibe-Coding Spam Now

https://tedium.co/2026/02/25/vibe-coded-email-spam/
27•raybb•3h ago•17 comments

Building an FPGA 3dfx Voodoo with Modern RTL Tools

https://noquiche.fyi/voodoo
161•fayalalebrun•12h ago•34 comments

Show HN: Codala, a social network built on scanning barcodes

https://play.google.com/store/apps/details?id=com.hsynkrkye.codala&hl=en
30•hsynkrkye•4d ago•15 comments

Ordered Dithering with Arbitrary or Irregular Colour Palettes (2023)

https://matejlou.blog/2023/12/06/ordered-dithering-for-arbitrary-or-irregular-palettes/
7•surprisetalk•5d ago•0 comments

Theodosian Land Walls of Constantinople (2025)

https://turkisharchaeonews.net/object/theodosian-land-walls-constantinople
26•bcraven•3d ago•7 comments

More common mistakes to avoid when creating system architecture diagrams

https://www.ilograph.com/blog/posts/more-common-diagram-mistakes/
139•billyp-rva•14h ago•52 comments

You are not your job

https://jry.io/writing/you-are-not-your-job/
70•jryio•10h ago•98 comments

Migrating the American Express Payment Network, Twice

https://americanexpress.io/migrating-the-payments-network-twice/
4•madflojo•1h ago•0 comments

Teaching Claude to QA a mobile app

https://christophermeiklejohn.com/ai/zabriskie/development/android/ios/2026/03/22/teaching-claude...
64•azhenley•6h ago•5 comments

Vectorization of Verilog Designs and its Effects on Verification and Synthesis

https://arxiv.org/abs/2603.17099
23•matt_d•3d ago•4 comments

25 Years of Eggs

https://www.john-rush.com/posts/eggs-25-years-20260219.html
251•avyfain•4d ago•72 comments

The IBM scientist who rewrote the rules of information just won a Turing Award

https://www.ibm.com/think/news/ibm-scientist-charles-bennett-turing-award
100•rbanffy•14h ago•8 comments