|
|
|
|
|
by katdork
21 days ago
|
|
one of the best parts of building up lower level pieces of work/abstraction is that you can eventually produce a higher level interface to them that makes working with them entail a lot less overhead to you or someone else. (that said, in any language it's hard to make said interfaces not have holes or be painful somewhat to some subset of their consumers!) in some respects, rust is not all the way there for high-level work, but great strides have been made to make it pretty darn close. a talk from dioxus on the state of high-level rust:
https://www.youtube.com/watch?v=Kl90J5RmPxY having a single language to do your work in, although i personally don't subscribe to it (and am a fan of clojure, guile, C, C++, Rust, Zig, ... all without this feeling to be a contradiction for me) minimizes cognitive overhead and also reduces the quantity of interfaces you need to concern yourself with to manage interoperability. the borrow checker and type system to a seasoned rust user are not a bother regardless of the work they're doing, so it's not like that presents a unique problem. avoiding garbage collection, avoiding the CLR, whatever overhead comes with it and the joys of .NET Core or overheads of clojure + jvm compiles can certainly be worth it (a clojure project of mine spent 33% of its runtime on java+clojure compilation!) the lower level work being performant means that your well-designed interfaces can also run well. |
|