3 ms·
>"Rust has quickly become the best language for integrating with existing web applications." In what senses? Interested to know, being both a CLI and a web dev
by vram22 8y ago
>"Rust has quickly become the best language for integrating with existing web applications."
In what senses? Interested to know, being both a CLI and a web dev guy, and not having looked much into either Rust or wasm yet (read a little of the Rust book, only, recently).
- steveklabnik 8y agoWe’re seeing two ways so far: the first is WebAssembly. Our tooling does not assume that you’re re-writing everything in wasm, but that you’re using it alongside JS, so you can use it only where it makes sense, and it’s easy to do so. Second, in services. Microservice architecture means you can write parts of your applications in different languages, and we have really nice JSON handling, or whatever other format you’re using. People have moved high load services to rust and seen big gains. Of course, there’s still lots of work to do, and there’s always compelling reasons to use other technologies too.
- vram22 8y agoThanks for the detailed and balanced answer. >we have really nice JSON handling, or whatever other format you’re using. Good to know. Data formats and conversion between them (often, though not solely, in the context of CLI apps) is one of my interests and areas of experience, so will check out those aspects of Rust over time. >People have moved high load services to rust and seen big gains. Cool ...
- mlindner 8y agoCheck out Serde. https://serde.rs/#data-formats https://serde.rs/#data-formats Lots of things are using it as well https://crates.io/crates/serde/reverse_dependencies https://crates.io/crates/serde/reverse_dependencies