3 ms·
> That means libraries possible, even easy in C++ cannot be coded in Rust. Can you give some examples of libraries that can be made in C++ that can't in Rust a
by asiachick 6y ago
> That means libraries possible, even easy in C++ cannot be coded in Rust.
Can you give some examples of libraries that can be made in C++ that can't in Rust and why they can't? Having never used Rust yet I'm curious what the issue is.
- deleted 6y ago[deleted]
- pjmlp 6y agoImagine something like SwiftUI, including support for dragging components out of a toolbox, and having an eco-system of companies selling such components. https://www.componentsource.com/search/products?f%5B0%5D=at%3A914099&f%5B1%5D=et%3A919786&f%5B2%5D=et%3A919791&sort=bestseller https://www.componentsource.com/search/products?f%5B0%5D=at%... https://microsoft.github.io/microsoft-ui-xaml/ https://microsoft.github.io/microsoft-ui-xaml/ The borrow checker in its current state makes it very hard to build such tools.
- antientropic 6y agoWhy? I don't understand what this has to do with the borrow checker.
- pjmlp 6y agoBecause you dynamically change the widgets graph, like in Unreal Blueprints or Shader Graph.