I’m a newbie here. I write all my apps in AutoHotkey, but often I need smaller tools (Windows only) that need to be written in another language because AHK executables are too big (at least 500 kB). With the programming languages I’ve tried so far, I’ve had the big problem of missing Unicode support. So now I ended up here mainly because of the information that Go offers native Unicode support.
Could a friendly expert here show me if Go would be something for me? One tool I would need right now, for example, would be a small launcher program that would have to do the following, among other things:
- Command line arguments, specified when starting the launcher, are to be determined:
Launcher.exe “Arg 1” “Arg 2” …
- The content of a binary file is to be read in as a byte string.
- An executable is to be started with the previously determined CL arguments.
- Note: The arguments and the name of the executables can contain Unicode characters!
My question: Is this sufficiently easy to do in Go even for a newbie? Would such a tool be smaller than 50 kB? Can someone here sketch a short demo code for such a launcher that I could start with?
PS: I have already installed Go and successfully experimented with hello.go…