Hacker News new | ask | show | jobs
by copx 3439 days ago
>Ruby and JavaScript have modern dependency managers (bundler and npm/yarn). They're easy to get working cross-platform.

Ruby is easy to get working cross-platform? The only fully supported platforms are Linux and OS X (and really only the Linux-like parts of OS X). Ruby on Windows is a trainwreck, and other platforms are not supported at all. Meanwhile C++ runs on everything and the toaster. Ruby might have many strengths but cross-platform support is not among them.

2 comments

> Ruby is easy to get working cross-platform?

Compared to a C++ project which relies on a half-dozen external libraries each with their own build system? Yes, in my experience. I've spent too much of my life converting autoconf scripts to Visual C++ project files.

But Rust is definitely quite reasonable to get working on Windows, especially pure Rust, but small C extensions are OK as long as OpenSSL isn't involved. Usually I can just cross-compile or build using Travis CI.

https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/Supporte... has many more than just Linux and OS X.

(I still agree with you that it's not a super strong point.)