Hacker News new | ask | show | jobs
by johnfn 18 days ago
Can you explain a bit about why token costs would favor Go and not Rust?
1 comments

Go is more verbose, but Rust have more complex syntax which in practice require more tokens.

The big thing though is because builds are slower, you will end up waiting longer as tests are modified, rebuilt and run. This difference piles up fast.

Waiting longer for tests / builds doesn't have effect on token usage..

Rust's compile time is longer because the compiler does much more. And therefore the binaries are often smaller, start and run faster than Go