Replies: 6 comments 4 replies
-
@lsh since mojo is going to be a superset of python you can assume the python stdlib will be integrated. But for the rest there is some wiggle room on what to implement. But I would say that there will come some community packages for dataframes so the core team can focus on the language and the community to build with the language |
Beta Was this translation helpful? Give feedback.
-
Short answer: there isn't one, yet. You are right that we should develop one, however. |
Beta Was this translation helpful? Give feedback.
-
Could this stdlib have defined/standard traits so it's easy to extend it or build upon it (similar to stdlib in Rust and crates)? |
Beta Was this translation helpful? Give feedback.
-
With a default way to define package dependencies (i.e. such as pyproject.toml) and a good packaging tool, and traits, then multiple std implementations could co-exist as long as it's easy to packaging this into a single executable or executable environment. |
Beta Was this translation helpful? Give feedback.
-
With traits you could write the same library components as two different implementations, see Rust Tokyo vs Async-std as one example for std async libraries. |
Beta Was this translation helpful? Give feedback.
-
Maybe if it satisfies one of these:
|
Beta Was this translation helpful? Give feedback.
-
Each language has an opinion on how large the standard library should be, and what belongs in it. Go has a solid standard library (solid enough that Deno ported it for their use). Rust is an example of a relatively small standard library, where even random number generation and async runtimes are left up to the community.
What is Mojo's philosophy? Would something like a data frame make it into the stdlib? How about the ability to fetch data using HTTP requests?
As people begin to open tickets about modules they think belong in the standard library, it's probably good to have some guiding information about what makes more sense as community projects.
Beta Was this translation helpful? Give feedback.
All reactions