← Back to context

Comment by ViewTrick1002

20 hours 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

And Ratatui is 6:

https://github.com/ratatui/ratatui/blob/main/Cargo.toml

Python has sqlite3[0], curses (tui) [1], and tkinter[2] in the stdlib.

[0] https://docs.python.org/3/library/sqlite3.html

[1] https://docs.python.org/3/library/curses.html

[2] https://docs.python.org/3/library/tkinter.html

  • And 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?

    • I wouldn't start a company behind it but tkinter is perfectly fine for basic guis. It has its quirks but who doesn't?

At 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