logoalt Hacker News

egnehots • yesterday at 8:52 PM • 6 replies • view on HN

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? =)


Replies

satvikpendem • today at 2:14 AM

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

➕ show 1 reply
Vaushite • today at 4:15 AM

Efficient code means code with a large amount of embedded assumptions. Code that's more generic is almost always less efficient.

Go is about as far as you can "go" to the efficiency end without becoming Rust. It's a low-overhead language (like C) but with a GC that ensures memory safety. If you want to manage memory yourself and still prove safety it gets very complicated, as we see in Rust.

andriy_koval • yesterday at 9:05 PM

> 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.

➕ show 1 reply
TheChaplain • yesterday at 8:54 PM

Goose?

rTX5CMRXIfFG • today at 12:40 AM

Swift

jimbob45 • yesterday at 10:00 PM

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.

➕ show 2 replies