3 ms·
I am seriously considering Go for a portion of a desktop application. This portion needs to be cross-platform (Linux, OS X, and Windows), thread-aware, and safe
by SoftwareMaven 14y ago
I am seriously considering Go for a portion of a desktop application. This portion needs to be cross-platform (Linux, OS X, and Windows), thread-aware, and safe (I really don't want buffer overruns raining on my parade).
I would also prefer to have a single executable as opposed to a run time that has to be installed first, especially since I want to be able to sign the executable.
Are there any other options out there that fits the bill? I don't consider C or C++ safe. Python, ruby and others are safe, but they aren't wrapped up as conveniently (especially on Windows). C# would work on Windows, but is less than ideal on OS X and Linux (but it is a contender, thanks to Mono).
- pcwalton 14y agoDisclaimer: Shameless plug; I work on Rust. Since you asked, you may be interested in Rust as well. It's designed for exactly this use case, with a focus on safety and real-time requirements. However, be warned that it's not at all mature yet. There's also D, which has quite good Windows support from what I hear.
- nadinengland 14y agoI cant find the exact link to what I'm thinking of (I'll pop back if I do) but there are tools that package ruby scripts up with the runtime into one executable, especially on windows. There was one that could produce executables for many platforms, in the meantime take a look at https://www.ruby-toolbox.com/categories/packaging_to_executables https://www.ruby-toolbox.com/categories/packaging_to_executa...