Remix.run Logo
▲ asim 7 hours ago

At this stage to me Go is the new C compiler. Quite honestly I spent 10 years or more writing Go code. At times 18 hours a day. And now with AI, I get models to write my Go code. I STILL want it to be Go code. Is that strange? No because I understand the performance and safety of Go. But I rarely write it directly anymore. Probably not at all in 6-9 months. Yet I still occasionally look at the code to see what the output looks like.

So yea hopefully a nice new addition but only my prompts now matter. So need to make sure they pickup on the new API.

▲BigTTYGothGF 30 minutes ago | parent | next [-]

> At times 18 hours a day

I hope you're not still doing this, it's nothing to brag about.

▲vikramkr 21 minutes ago | parent [-]

As long as you do it because you want to and not because you're forced to for work or something who cares? Whatever gives people energy

▲dofm 7 hours ago | parent | prev | next [-]

This is mostly why I have come back to Go.

I am using local LLMs and Go has a bunch of strengths where smaller contexts are concerned; less complicated flow of control being one of them.

▲calvinmorrison 6 hours ago | parent [-]

not a lot of overloading complexity, very verbose with a small total language structure too helps.

▲dofm 6 hours ago | parent [-]

Yes. It's that thing — the fact that a language helps you read what a single function does really easily, but in so doing makes the entire codebase quite dense, is not optimal for us, but is good for them.

And the things that we do to manage this, that are symbolic or based on visceral real-world analogy, are good for us and bad for them.

Go is kind of in the middle, in the way that many vaguely Wirth-like and CSP-like languages possibly are, I guess.

▲hoppp 3 hours ago | parent | prev | next [-]

Go is lovely. Best language to generate backend services with.

▲egnehots 6 hours ago | parent | prev | next [-]

Truly the argument can be made either way.

If you code in Go, the code is more high level, prettier, simpler.

If you code in Rust, the code is more robust, efficient, faster.

Both are important for LLM, why can't we have a high level, simple language that is also robust, efficient and fast? =)

▲satvikpendem 36 minutes ago | parent | next [-]

OCaml fits your bill. Super fast compile times and also very fast runtime.

▲andriy_koval 6 hours ago | parent | prev | next [-]

> Both are important for LLM, why can't we have a high level, simple language that is also robust, efficient and fast? =)

I think many variants from Rust can be stripped to make it simple, especially in type system, which is way more complicated than go.

▲nonethewiser 6 hours ago | parent [-]

I dont think we need simpler types for agentic coding though. We need compiler speed. I guess those are probably related to some degree though.

▲andriy_koval 5 hours ago | parent [-]

It depends if you are full vibe-coding mode or still try to understand your codebase.

LLM can generate very cryptic rust code.

▲rTX5CMRXIfFG 2 hours ago | parent | prev | next [-]

Swift

▲TheChaplain 6 hours ago | parent | prev | next [-]

Goose?

▲jimbob45 5 hours ago | parent | prev [-]

If I want simplicity and maintainability, I’d pick Kotlin over Go. If I want speed, I’m picking Rust over Go. Why would I ever pick Go? It’s the best at nothing.

▲coldtea an hour ago | parent | next [-]

It's surely better than Kotlin in simplicity and maintainability. It also doesn't tie you to the JVM.

▲procaryote 5 hours ago | parent | prev [-]

What if you want a single language that's pretty fast while simple and maintainable?

▲alexfortin an hour ago | parent | next [-]

Recently I stumbled upon https://crystal-lang.org/ and I love it!

It's really great fun to build stuff in Crystal, I don't have anything prod-grade yet to say how it scores there but the community seems to be happy about that too.

▲ksec an hour ago | parent [-]

Crystal is slow to compile. There is a variant of Crystal that compiles a lot faster. But I forgot its name. Need to dig it up when I get back home.

▲jimbob45 4 hours ago | parent | prev [-]

Then you pick C# which is both faster and simpler than Go.

▲metaltyphoon 2 hours ago | parent [-]

I like C# but simpler? I don’t believe so.

▲jacobgold 6 hours ago | parent | prev | next [-]

I still prefer Go over the alternatives because I'm reviewing the code carefully and trying to make it all look as good as if I'd written it very carefully by hand.

The few times I've needed a language without a GC and used Rust and C as target languages, I've reviewed the code less and enjoyed it less.

▲biztos 6 hours ago | parent | prev | next [-]

As I do more agentic coding, I am starting to feel strongly that I need to set aside a project -- and time -- for strictly hand-coding, using AI (if at all) only to explain things, never to write any code.

First, I like programming and don't want to stop doing it just because a machine can do it too. Second, I'm pretty sure atrophied coding skills will make me worse at directing the machines, thus worse at what seems to be "the job" these days.

▲nonethewiser 6 hours ago | parent | next [-]

>First, I like programming and don't want to stop doing it just because a machine can do it too. Second, I'm pretty sure atrophied coding skills will make me worse at directing the machines, thus worse at what seems to be "the job" these days.

In theory wouldn’t atrophied coding skills not matter if models are sufficiently good at coding? I mean isn’t whats left just design and architecture and testing?

Sure, if LLMs are producing shit code you need to have an understanding of what it should do instead. But I think that day is already gone.

Its hard to think of a skill that you’d need to build with an LLM that requires writing meaningful amounts of code by oneself. From my end all the complexity is business logic and system design.

▲cyphar 4 hours ago | parent | next [-]

> In theory wouldn’t atrophied coding skills not matter if models are sufficiently good at coding? I mean isn’t whats left just design and architecture and testing?

No, because good understanding of design comes from programming experience. Atrophied skills mean you lose touch with the actual nuts and bolts of what you are building.

This is also the worst kind of lock-in you can imagine, by outsourcing all of your understanding of a codebase and your skills you are now completely at the mercy of LLM providers. Even if you switch to open weight models you're at the mercy of graphics cards producers and scalpers.

> Sure, if LLMs are producing shit code you need to have an understanding of what it should do instead. But I think that day is already gone.

Maybe your standards are too low. By my standard, they still produce shit code and require lots of iterations to get reasonable designs (I often end up just rewriting the bits that are obviously wrong rather than trying to figure out how to "prompt engineer" the right output).

They do often produce passable code but my experience is the longer you spend reading the code the more things you find wrong with it, almost like an uncanny valley.

At least that's my experience with Opus and Fable. Maybe it's too old-fashioned at this point to complain about code quality, but I find it very strange how many people have started proclaiming that their code quality is good.

▲nonethewiser 3 hours ago | parent [-]

>No, because good understanding of design comes from programming experience.

“Programming” is a bit loaded. Do you mean thinking through and typing everything out yourself?

What design skills specifically can you only develop from continually programming in this way? I fully grant that you need to know how to code yourself to build things with models but what specific ability to use models atrophies alongside your no AI coding abilities?

Personally I’ve found the opposite to be true. As writing out code myself has shrank to nearly 0, I now do way more designing. There is a much shorter feedback loop on design now. You get a lot better at design when thats basically all you are doing, and seeing feedback on your design in minutes rather than weeks or even months.

▲skydhash 16 minutes ago | parent [-]

> seeing feedback on your design in minutes rather than weeks or even months.

Weeks and month for to wait for a feedback in developing software? Are you the sloth in zootopia?

The longest cycle for feedback for me has only been hours. And that was about redesigning the core architecture of an app. Otherwise, it’s like 10 minutes cycle if it’s edit-compile-run, 5 minutes if it’s REPL (lisp, bash, python,…).

▲swatcoder 5 hours ago | parent | prev | next [-]

If it helps, imagine they were talking about something like drawing or painting or stitching or sculpting instead of coding.

You don't expect everyone to stop wanting to do those just because they can be automated more or less effectively, right?

▲nonethewiser 5 hours ago | parent [-]

> You don't expect everyone to stop wanting to do those just because they can be automated more or less effectively, right?

Please reread my comment and the one im replying to. That’s not what I’m addressing.

▲xgulfie 5 hours ago | parent | prev [-]

> In theory wouldn’t atrophied coding skills not matter if models are sufficiently good at coding?

I am begging HN users to understand that some people enjoy writing software themselves

▲nonethewiser 5 hours ago | parent [-]

Read my comment again. And the one I replied to. He claimed that his ability to code through LLMs has decreased as his coding ability atrophied. That is what im questioning. Im not questioning coding for the love of the game.

▲nilamo 5 hours ago | parent | prev [-]

I haven't actually tried it yet, but I think it'd be good to write a dsl for whatever you're doing. Then have ai make an interpreter to run it. Sort of as a way to stay... interested? Engaged?

▲da02 3 hours ago | parent | prev | next [-]

Which are your favorite models for writing Go? Any models for editing/improving written documentation?

▲citizenpaul 6 hours ago | parent | prev [-]

People are sleeping on Go as a LLM language of choice. Everyone trying to rewrite in rust which is fine and rust is fine. However its compile times are several orders of magnitude greater than Go. You can have LLMs write and compile 20 apps in the time one rust app compiles. I've got a Go personal project that would take hours for rust to compile, I can't imagine making the same velocity in Rust. Though I do see the workplace appeal of bringing back the xkcd "compiling" meme.

However it kind of makes me feel like my professional life was wasted and I don't really know what kind of future I have. One of Go's main points was you can pick it up in a weekend. What career moat do people like us have?

▲simlevesque 6 hours ago | parent | next [-]

My only issue with it is that you can't ship a wasm go app in under 2mb. With rust you can make it under 100kb.

▲ 4 hours ago | parent [-]
[deleted]
▲pjmlp 6 hours ago | parent | prev [-]

I would rather have LLM directly generate machine code, and best of all, macro Assemblers are blazing fast for decades.

▲kibwen 26 minutes ago | parent | next [-]

This is like saying that a strong man would rather dig a hole with his bare hands than use a shovel. Structured programming languages are force multipliers, it makes absolutely zero sense to forego them just so you can vibe assembly directly.

▲politician 28 minutes ago | parent | prev | next [-]

Use a working Go program as the prompt+oracle for cross-language port or direct generation.

▲bayindirh 6 hours ago | parent | prev [-]

You can't PGO that code, though. Also, I'm not sure it can generate architecture specific optimized (-march, -mtune) code as well.

Considering it just pulls and remixes blocks, this is a very tall order for today's LLMs, and maybe a couple of generations as well.

Calling GCC/clang at the back and emitting ASM is both cheating and has no advantages whatsoever as well.

▲pjmlp 6 hours ago | parent [-]

That is fighting the last war on the early days of 5 GLs, and taken care by agentic runtimes.

This isn't futurology, besides a few projects that already came up on Phoronix and around here, with Assembly generation, there are enough SIGPLAN papers on ML driven compilers already.