Hacker Newsnew | past | comments | ask | show | jobs | submit | shepherdjerred's commentslogin

Go is statically typed but the type system leaves much to be desired.

Go’s benefit are primarily around simplicity, readability, and concurrency.


>Go is statically typed but the type system leaves much to be desired.

Not that much. Looking at Rust or Haskell complexity, I don't really desire it.


Why use Go when you can use Rust?

1. Amount of Rust training data isn’t as much as Go.

2. Golang syntax and style is very verbose yet simple. There’s not as many options nor programming language to domain mapping needed as in Rust. Leads to needing less sophisticated LLM to spit out Golang than Rust successfully and efficiently.


This must really depend on your niche. I assume you do web stuff or something? Good luck finding any golang examples in a lot of other fields. Rust, on the other hand, is taking over the world in systems programming.

Been reading and drinking that kool-aid for some time until I realized it's just an internet bubble mumbo jumbo. Majority of systems are still written in C and C++, and will be for unforeseeable future.

>Good luck finding any golang examples in a lot of other fields.

There are go examples (and full blown programs) for anything, from servers to Kubernetes and Docker.


In short, compile times and a more full-featured stdlib

Doesn't Rust have long compile times? Does Go suffer from the same problem?

One of the design goals of Go was to be fast to compile. And they achieved it.

Go famously has stupidly fast compile times.

why use Rust when you can use Zig?

Because LLMs are better at Go? And because some people understand Go code easier and they might want to look at the code?

why,i have same question

I’m heavy into rust and never really use golang, but one big benefit of go over rust is compile times are significantly quicker, which could be more fun if you’re running CI checks 50 billion times

>which could be more fun if you’re running CI checks 50 billion times

Even running them 5 times it's WAY more fun


The first paragraph of the README says this was hand written so I’m not sure why you’re bringing up LLMs

Because it's absurd for most people to write too much Assembly by hand.

What if the author wants to learn? Is learning just out of style now?

I'd be doing the same kind of thing if I had more free time.


So go learn, and stop harassing others who are okay with using an LLM for some tasks.

You're the only person harassing anyone here; someone wanted to show off a handwritten project they did to learn a thing, and you came in with unsolicited LLM crap.

Pay closer attention. Using an LLM is the only way to get it be cross-compatible with Mac and Linux, since the author admitted that it would be too much to do this by hand. What good is code that can't even run? Heck it can't even run on Docker on a Mac.

Have you considered that as a hobby project, cross-compatibility (and especially on a tight timeline) might not be a priority, or even the point?

How is that relevant to a general audience? Why does such an obscure hobby project deserve attention by a broad audience if one can't even run it on a Linux-like VPS? It doesn't, and I was faithfully attempting to bridge that gap, with your nasty trolling interruption coming in the way.

I don't know how much you know about assembly code, but people write it professionally to squeeze performance, typically on a server, and servers are lot more likely to run Linux than Mac. The project in question literally is a web server. Who runs a real production-grade web server on a Mac?


Show HN has a long history of people just posting random shit they’ve built that they think is cool.

Some of it is in pursuit of productization feedback. Some of it isn’t.

The general audience here is (or at least, used to be) tech enthusiasts, and you can usually assume that crowd will enjoy cool shit in tech.

Personally I’ve had to occasionally hand write x86 assembly for work on a handful of occasions to ensure certain runtime guarantees were met that the programming language i was using couldn’t provide directly. I’ve used it a ton in hobby projects because it’s just kinda cool, and i want to have a better understanding of that world.


How did you prompt Claude to be so paranoid but also bad at fingerprinting?

Of course the browser knows my IP and language. Nothing on this page is really surprising


Go is probably my second least favorite language, right behind C++

You need a lot of linters e.g. to make sure errors are being handled, and the lack of algebraic data types make expressing data difficult.

I do think it has merits, but I’ll take type safety over simplicity



"Make A Bomb In The Kitchen Of Your Mom" sounds like the beginning of a teenager's bad joke

under no circumstances should you google the anarchist's cookbook

Also Open AI/ Sam admit that the concerns were quite silly in retrospect

Didn't it used to be branded as lightweight?

https://techcrunch.com/2010/09/02/google-chrome-birthday/

> I fondly remember the good old days of 2004 when I first started using Firefox as my main browser and thinking how fresh and lightweight it felt compared to the atrocity that was IE. Firefox, sadly, got bloated over the years. So far, Chrome hasn’t put on the same weight


So, yes, 15 years ago.


I'm disappointed this wasn't a joke about https://en.wikipedia.org/wiki/Universal_property


HN is normal HTML, so I think that's fair to call 'plaintext'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: