logoalt Hacker News

dofm • today at 7:14 AM • 2 replies • view on HN

Part of my LLM-and-agentic-learning phase is giving up interpreted web dev languages and forcing myself to develop agentic skills by using a language I am less familiar with.

I have some Go experience (a small utility used by some dozens of quite niche customers) and trivial experience of macOS development.

So far my two projects have been Go/Gin/goose etc. — a web app — and a small desktop Swift app. But there's GUI stuff for Go and web stuff for Swift. (I could have written my mac app exactly in Golang because there's a package that does what I need)

I had hoped I would find that one of these languages was clearly better than the other. Go is obviously better for the LLM, maybe a bit tiresome to see enormous reams of it for me. Swift is a little harder on the LLM (and it builds more slowly) but it's a bit easier on the eye; I've been very productive in it.

Here, again, it will be hard to separate TinyGo and Embedded Swift.

And there's WASM support for both.


Replies

shim__ • today at 11:32 AM

Swift has no garbage collector(just reference counting) as opposed to Go, which should make it a better fit for microcontrollers, since the runtime is lighter