|
Go's strengths are in system programming; writing simple servers and file processors. There's very little support for anything GUI, sound, or realtime like you'd want for an emulator. Anything like that you'd probably have to write in C and link in to Go, defeating the purpose of the exercise. I'd at least try something a little less ambitious first just to get a feel for the language. A URL-shortener is a good example. It's a server, needs a simple UI, some minor config, and needs to talk to either a SQL or key/value storage engine. So you'd learn about: - the net/http package for the server - html/template for rendering web pages - optionally gRPC if you want to offer a programmatic API - reading and parsing config files - Google's flags package for handling CLI flags - The SQL interface + sqlite3 for a backend storage engine, or boltdb if you want to use a durable key/value store. And the program itself is relatively straightforward to write.
|
# ¿ Dec 22, 2017 08:30 |
|
|
# ¿ May 5, 2024 12:00 |
|
It's great in a devops space because compiling to a statically-linked binary makes deployment dead easy. No need to faff about with containers to bundle up (say) Python and all its deps.
|
# ¿ Aug 15, 2018 02:36 |
|
Riven posted:to basically have Russ Meyer go,
|
# ¿ Sep 9, 2018 22:54 |