Live data from Hacker News

A case for Go as the best language for AI agents

getbruin.com

291–300 of 310 posts

Re: A case for Go as the best language for AI agents

#291

Earlier quoted context omitted.

I think very nearly every assertion in this statement is demonstrably untrue.

It's not, especially the part about it being actively changed to adapt to Linux. I've heard several complaints about this already. I may have been a little harsh on the stability concerns but I stand by my assertions in general.

They’re not changing the language, they’re stabilizing new capabilities to it. Golang is stabilizing new features too in every release.

Re: A case for Go as the best language for AI agents

#292
post #284

Earlier quoted context omitted.

[flagged]

[flagged]

> Take your meds

> I genuinely think you're having a mental health episode

It's not acceptable to post like this on HN. It counts as name-calling, snark, flamebait and other breaches of the guidelines. We're trying for curious conversation here, not this. I understand the other commenter was the first to escalate, but it takes two to make a hellish subthread like this.

https://news.ycombinator.com/newsguidelines.html

Re: A case for Go as the best language for AI agents

#293
post #284

Earlier quoted context omitted.

[flagged]

[flagged]

If your first comment in the subthread wasn't escalatory enough, this phrase in your second comment was way out of line:

> Surely you're not just talking out of your ass

It's not cool to start a flamewar like this then call in moderator support when replies get heated. We can't take sides in a flamewar like this when both participants are going at each other.

You evidently understand plenty how HN's guidelines and moderation work. Please make more effort to uphold the standards that are expected here in future.

Re: A case for Go as the best language for AI agents

#294
post #277

Earlier quoted context omitted.

Lambdas have been available for 10+ years. Also, hard disagree on "register" method being simpler. A register method is code, while an annotation is a static declaration, ergo data. The former can happen in a helper function, renaming it from "register" to "path", changing/modifying the parameters, or putting it into some while loop dynamically generating endpoints. At the very extreme it is Turing complete to figure…

10+ years of lambdas, but you can still tell from new code that the language used to not have lambdas. Plenty of code is older than that too. The annotations are static, yeah. That's one advantage. I would still rather not do that. A lot of people were happy not to need that anymore in like NodeJS.

I mean, there are bad developers in every language.

And old code continuing to run 10 years later is a huge value of the platform.

Re: A case for Go as the best language for AI agents

#295

Earlier quoted context omitted.

Exactly, the propping up of Go seems unfounded. Java in it's newest iterations make it more compelling as a target, and people, especially young people, overlook it because of its stigma as enterprise cruft.

Most of the young people like me learned Java as a first language in AP Computer Science, then probably again in college. We were tested thoroughly on all the OOP details and required to use that in projects. The most popular video game is/was also in Java, and people love to mod it. But still nobody wants to use it given the choice, because it sucks. 75% of the code you write is boilerplate mainly thanks to OOP, the…

Well, you should have learned about the language something in the meanwhile then.

75% boilerplate, come on. It has records and pattern matching now. Many of the cases of boilerplate are strictly self inflicted. And this criticism is absolutely laughable in a thread about Go, where you have to repeat some error ritual every 3 lines, losing the signal in all the noise. Java is a much more concise language than Go.

com.foo.bar solves a very real issue that is a big problem in e.g. the Node and Rust ecosystem (package name squatting).

And it uses as much RAM as you set it to use. It's true of every managed language that more memory equals less work to do, that is better throughput. But Java's GCs are the state of the art, it will work just fine with half the pre-configured memory.

Re: A case for Go as the best language for AI agents

#296
post #243

Earlier quoted context omitted.

"AI guys" use Claude CLI that renders to a terminal via freakin' react. Come on, java starts up fast enough and the memory usage can be set (better throughput vs less memory, it's a classic tradeoff. Go just defaults to worse throughput). Really, without some fat framework doing all kinds of initialization stuff, java code starts up practically instantly.

Java takes flags for min/initial/max memory that, as a strict law of nature, are always wrong the first time you try. And it holds onto unused memory unless you pass another flag. Idk exactly why there's no reasonable default for that, but probably cause it's in a VM. No other language has this problem.

It does give back memory nowadays.

And it's not really a VM in that sense of the word. It's a runtime, Go also has such a runtime it's just bundled.

Re: A case for Go as the best language for AI agents

#297
post #165
post #115

Earlier quoted context omitted.

> But LLMs don't care about expressiveness, they care about predictability. I think this is true, but it misses a very key point. Go does an impressively bad job at designing APIs that are difficult to misuse, so LLMs will misuse them and will require also writing unit tests to walk through it, just to validate it used the libraries correctly. This isn't always possible (or is awkward/cumbersome) for certain scenario…

Go is not difficult to maintain at large scale, I mean take Kubernetes for example, it's "trivial" to understand and modified even though it's in the millions loc.

Kubuernetes is built by a trillion dollar company who has the resources to manage QA and dev tooling at a scale that the vast majority of teams do not.

Re: A case for Go as the best language for AI agents

#298
post #293

Earlier quoted context omitted.

[flagged]

If your first comment in the subthread wasn't escalatory enough, this phrase in your second comment was way out of line: > Surely you're not just talking out of your ass It's not cool to start a flamewar like this then call in moderator support when replies get heated. We can't take sides in a flamewar like this when both participants are going at each other. You evidently understand plenty how HN's guidelines and mo…

Maybe your cultural frame is that mental health isn't a protected category and it's an appropriate insult. That's not what the law says in professional environments and that's not been my experience in professional discourse.

If your attitude is that if one person litters it's now ok for anyone else to dump on protected categories, it's your clubhouse and you can set the rules.

That's your right, and it's also my right to say that I don't want to be associated with this forum even indirectly.

Could you provide me with a good email address to send my CCPA request to delete all my data and comments and account? I sent emails to a few YC addresses with:

"I am writing to request that you delete my personal data from all of your paper and/or computer records pursuant to Section 1798.105 of the California Consumer Privacy Act (CCPA)

To the extent that you rely on consent to process my personal data, I withdraw that consent. To the extent that you rely on your 'legitimate interest' to process my personal data, I object to the processing as there are no overriding legitimate grounds.

If you are selling my personal data to third parties, please consider this email as my direction to you not to sell my personal data to third parties.

Please don’t ask me to perform a self-service process such as locating my information on your website, filling out a form, or providing a mobile advertising ID. These requests place an undue burden on my side.

If you are not able to comply with my request to delete all of my personal data, please advise as to the specific reason for which this request cannot be acted on. Please advise which sections and subsections of the law you are relying upon, and identify the specific reason for which you are relying on those exceptions, such as which legal obligation, or internal purpose or use. Please delete all my personal data which does not fall under these exceptions."

I have not received a response.

I can write again in 46 days with a complaint attached mentioning you personally and a letter from my state representative indicating they'd like to know more as well. Or you can resolve this quickly in a mutually amicable way by just deleting my account and all my comments.

Re: A case for Go as the best language for AI agents

#299
post #293

Earlier quoted context omitted.

If your first comment in the subthread wasn't escalatory enough, this phrase in your second comment was way out of line: > Surely you're not just talking out of your ass It's not cool to start a flamewar like this then call in moderator support when replies get heated. We can't take sides in a flamewar like this when both participants are going at each other. You evidently understand plenty how HN's guidelines and mo…

Maybe your cultural frame is that mental health isn't a protected category and it's an appropriate insult. That's not what the law says in professional environments and that's not been my experience in professional discourse. If your attitude is that if one person litters it's now ok for anyone else to dump on protected categories, it's your clubhouse and you can set the rules. That's your right, and it's also my rig…

I replied to the other commenter before I replied to you and made it clear that attacks on fellow community members with insults about mental health are not acceptable.

YC's privacy policy and instructions for requesting data removal can be found here: https://www.ycombinator.com/legal/.

Re: A case for Go as the best language for AI agents

#300
post #295

Earlier quoted context omitted.

Most of the young people like me learned Java as a first language in AP Computer Science, then probably again in college. We were tested thoroughly on all the OOP details and required to use that in projects. The most popular video game is/was also in Java, and people love to mod it. But still nobody wants to use it given the choice, because it sucks. 75% of the code you write is boilerplate mainly thanks to OOP, the…

Well, you should have learned about the language something in the meanwhile then. 75% boilerplate, come on. It has records and pattern matching now. Many of the cases of boilerplate are strictly self inflicted. And this criticism is absolutely laughable in a thread about Go, where you have to repeat some error ritual every 3 lines, losing the signal in all the noise. Java is a much more concise language than Go. com.…

Records and pattern-matching didn't exist back then and are only used in new codebases. That isn't enough to fix it anyway.

The Go error handling is bad enough that it makes the lang not a top choice for me. Seems like entire vision of Go was being the opposite of C++ in every way, and that resulted in something halfway decent, but it unfortunately doesn't use exceptions. You get stuff done in fewer loc than in Java at least, and it always had solid m:n greenthreading, and the GC just works without having to tune it.

Post reply on HN