3 ms·
I've been intrigued about this library, and specifically the possibility about a Python workflow, but a fallback to rust if needed. I mean, I haven't really loo
by lordgroff 6y ago
I've been intrigued about this library, and specifically the possibility about a Python workflow, but a fallback to rust if needed. I mean, I haven't really looked at what the interop is but should work, right?
It's not going to happen for now though because the project is still immature and there's zero documentation in Python from what I can see. But it's something in keeping a close eye on, I often work with R and C++ as a fallback when speed is paramount, but I think I'd rather replace C++ with Rust.
- wealthyyy 6y agoRust projects takes longer. If memory safety is not a concern, I'd advice stick to Modern C++.
- qchris 6y agoThis feels like a gross generalization that's not applicable in many situations, and is immensely dependent on each individual person and situation. I can write non-trivial performant code in Rust, including bindings across a C FFI much faster than I can weave together the equivalent code and build scripts in C++. Memory safety isn't the only thing Rust brings to the table. I sometimes don't because C++'s ecosystem is far developed for a certain application and it's not worth it for that particular situation. As with most things, it's about trade-offs.
- wealthyyy 6y agoAre you not using CMake for building C++ apps? You can use C++ for everything and it's not developed for certain applications.