3 ms·
> rusqlite (sqlite), clap (cli), ratatui (tui), and tauri (gui) Does any language, except like Java, exist with a standard library comprising matching that? A
by ViewTrick1002 5mo ago
> rusqlite (sqlite), clap (cli), ratatui (tui), and tauri (gui)
Does any language, except like Java, exist with a standard library comprising matching that?
Also, keep in mind that Tauri itself is 14 crates, where each one shows up in your build tree.
https://github.com/tauri-apps/tauri/blob/dev/Cargo.toml https://github.com/tauri-apps/tauri/blob/dev/Cargo.toml
And Ratatui is 6:
https://github.com/ratatui/ratatui/blob/main/Cargo.toml https://github.com/ratatui/ratatui/blob/main/Cargo.toml
- PyWoody 5mo agoPython has sqlite3[0], curses (tui) [1], and tkinter[2] in the stdlib. [0] https://docs.python.org/3/library/sqlite3.html https://docs.python.org/3/library/sqlite3.html [1] https://docs.python.org/3/library/curses.html https://docs.python.org/3/library/curses.html [2] https://docs.python.org/3/library/tkinter.html https://docs.python.org/3/library/tkinter.html
- ViewTrick1002 5mo agoRight. The famous stdlib where once good libraries go to die so you instead depend on the latest community replacement choice. Also argparse for Clap: https://docs.python.org/3/library/argparse.html https://docs.python.org/3/library/argparse.html
- dwattttt 5mo agoTo highlight the problem for Python: Python's standard library has getopt, optparse, and now argparse. I don't think they set out to offer 3 argument parsing libs, one of which is marked superseded, but here we are.
- chlorion 5mo agoAnd ironically with the exception of the python sqlite3 module, the rust alternatives are much higher quality, IMO. Does anyone even use tkinter in modern times anyways?
- PyWoody 5mo agoI wouldn't start a company behind it but tkinter is perfectly fine for basic guis. It has its quirks but who doesn't?
- amusingimpala75 5mo agoAt least in the case of sqlite, rusqlite pulled in 5 or so in total whereas Go had a single library that was a thin wrapper around sqlite, and integrated into the stdlib interface. Many fewer deps Edit: counts are fair, that’s still hundreds unaccounted