4 ms·
I really wish better Windows support was available now. Solid cross-platform support has allowed me to move some Python code to go. My attempts to do the same w
by LVB 12y ago
I really wish better Windows support was available now. Solid cross-platform support has allowed me to move some Python code to go. My attempts to do the same with Rust have been failures, on multiple occasions, but as recently as their 1.0 beta and nightlies (both 32/64 bit were tried).
After giving it a few hours with the IRC channel riding shotgun and hello_world.rs still crashing on Windows, I've again hit snooze of Rust. A pity too... I am quite re-interested after seeing some Rust demos/discussion at PyCon.
- kibwen 12y agoOne of the difficulties is that we really need a Windows platform expert, but they are remarkably elusive. Bit of a chicken/egg problem. Hey you reading this! Yeah, you! If you happen to be an expert in integrating native compilers with MSVC, we desperately need your help!
- moomin 12y agoNot to be funny, but you've been saying this for years now. Might be time to either give up on windows or accept you're going to have to make your own experts.
- kibwen 12y agoWorst-case scenario is that Mozilla lends us some of their Windows experts when it's time to integrate Rust components into Firefox (which uses MSVC) later this year. But that's not a satisfying answer to people who want to develop on Windows today!
- unethical_ban 12y ago"cargo new helloworld ; cargo run" doesn't work for you in Windows? I did some REALLY REALLY MINOR code in Windows before doing it on Ubuntu, and I had no issues dependent on OS.
- kibwen 12y agoI'm guessing that the parent poster was trying to do a "hello world" equivalent of calling Rust from Python (as per the Pycon presentation), which would definitely cause grief on Windows if Python isn't compiled with the same toolchain that Rust is.
- sinistersnare 12y agoI just gave a presentation on Rust + Python at a local meetup, and I have been constrained to windows only for the past few months. Have had 0 issues, and I have no idea what the fuss with windows is about. 0 ICEs nowadays, and it works like a champ speedwise (obviously) Compared to Ruby, Rust is basically C#, windows wise. In the past I have gotten ICEs and shit, but nowadays its perfect.
- LVB 12y ago"cargo" doesn't work for me on Windows (it crashes). I can compile things with rustc but the executables crash. I've spent a fair bit of time purging/uninstalling stuff, and rerunning the installers or even picking up binaries. No success. Obviously my system is a hostile environment for it. OTOH it's a pretty ordinary enterprise Win 7 box with plenty of dev tools happily running. I'm sure there is a series of steps to fix it. So one aspect of "Better Windows support" for me means the installer doing a better job at getting things going and complaining about missing things, incompatibilities, etc. I do hope mine in an exceptional case.
- vadimcn 12y agoI've just tried rust beta2 on a fresh Windows7 VM, and at least the "hello world" app compiles and runs without any issues. Would you mind filing a bug about this? (with as much configuration details as possible). Thanks!