3 ms·
I just wanna say why is this in Rust: Rust is a system language. For example, one shock is that you can't print! or dbg! anything (without adding Debug/Displa
by mamcx 5y ago
I just wanna say why is this in Rust:
Rust is a system language.
For example, one shock is that you can't print! or dbg! anything (without adding Debug/Display to each type).
The reasons?
Where it will print in a Airpod? yeah: Rust is made to work in places where NOT exist a place to print to. Or where NOT exist a filesystem, or HTTP because not exist TCP because not exist a network card.
So, in Rust all start in the deepest of the deepest bottom.
---
I have a good metric to select frameworks/libraries:
- If is too complex, NO except if is the only game on town
- If have crazy deps setup (ejem: OpenSSL, bastard mess of dep!) NOOOOO. (except if is the only game on town)
- If is too big, damm be good and solid (ej: PostgreSQL)
Whatever the lang, this have served me well, and when I have been lazy (I get a deps to OpenSSL and waste 1 week fixing CI builds with it then remember this and cut that mess) the pain quickly fix it.
So, next time you get a trouble like this (in Rust or whatever) ask what alternatives you can use instead!