HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xtremegoose

no profile record

comments

xtremegoose
·hace 3 años·discuss
Which opinions do you disagree with? For transparency, I tend to find myself agreeing with almost all of its models/abstractions.
xtremegoose
·hace 3 años·discuss
Use one of the many libraries that have safe abstractions over unsafe code? I don't know why people think you need to roll your own? I guess that's just what people do in c/c++, doesn't seem very productive...

https://docs.rs/petgraph/latest/petgraph/
xtremegoose
·hace 3 años·discuss
The advantage is one of trust. If the `abc` developers build well known library `abc.pqr` are well trusted then I know I can use `abc.xyz` and everything else under the same namespace without (much) vetting.

We could even have `rust.xyz` for crates that are decoupled from `std` but still maintained by rust core devs such as `regex`.
xtremegoose
·hace 3 años·discuss
Is this a joke? XML is horrible to work with, more boilerplate than information. Compare your average maven file to a cargo.toml and tell me which is easier to work with...