(no title)
andrewrothman | 5 years ago
I'd like to understand more about the arguments for and against a URL-based module naming / resolution approach. Could you point me to any past discussions on this for further reading?
andrewrothman | 5 years ago
I'd like to understand more about the arguments for and against a URL-based module naming / resolution approach. Could you point me to any past discussions on this for further reading?
steveklabnik|5 years ago
I am not 100% sure exactly what you're asking for, so if you could say a teeny bit more than that, that would help me understand what part of the space you're trying to explore. It would also be handy to know what problem you are trying to solve, there are several here.
andrewrothman|5 years ago
I think the way Go and ES Modules (Deno / browsers) represent module naming and resolution by URLs has some nice benefits:
However, I do see some important tradeoffs to that approach: I see some proposed solutions to the tradeoffs: However, those solutions don't guarantee fixes for every tradeoff.I'd be very interested in learning more about the costs / benefits of the various approaches and the Rust team's discussions on modules. I really appreciate the team's thorough approach to design decisions, as it's manifested into a really cleanly-designed language.
Thanks!