Ask HN: What's a strong “use everywhere” language for smaller problems?
Between work, personal projects, and being 4 classes into my Master's in CS, I'm really in need of dedicating myself to a language that's easy to write and execute across all 3 of the major platforms, that I can hack together solutions to smaller problems for. Up until about 3 years ago I was primarily an iOS dev, so my go to tends to be use my MBP and open a new XCode project in swift, but that obviously has its Windows limitations, and only slightly less so on the Linux side.
The majority of my back end work for my employer is Java, but that's anything but quick and simple for small problems. About 20% of my professional time is doing firmware dev for embedded systems, and I know how to write and run C everywhere, but it definitely doesn't feel like the right tool for the job.
Python? Ruby? Perl5/6/Other? I'd like basic stdin/out, probably file writing abilities, and db (specifically pg) integration would probably be a nice touch. Simple http servers are something I've got spoiled with as well. I didn't care a ton for node.js when I dabbled, but the < 40 lines required to have a http server with an endpoint up was handy. I had the same experience when playing with Go, but I haven't really caught up with it's usability in the last two years, maybe it has the sort of ecosystem I'm looking for.
I might be asking for a silver bullet that doesn't exist and I need to further tune where I'm willing to compromise for a single solution. FWIW, I've grown quite fond of the Swift closure style syntax, and just the process of writing Swift and Go both stand out to me as more positive experiences syntactically, as opposed to Java/Obj-C/C.