2,000 karma · joined January 11, 2014
In Rust, that's not really the case. `i32` is the go-to integer type.
`isize` on the other hand would look really weird in code — it's an almost unused integer type. I also prefer having integers that don't depend on the machine I'm running them on.
`isize`/`usize` should only be used for memory-related quantities — that's why they renamed from `int`/`uint`.
/issues/
/issues/:id
/pulls/
/pulls/:author
/pull/:idIt compiled for me (after changing NULL to nullptr).
> Because compilers can actually detect if you set a pointer to nullptr and then use it.
Apparently it didn't.
> Here, you didn't use it so maybe the compiler won't complain. But in the general case yes it will complain.
That's incorrect, there's a use of the nullptr.
> You call some unsafe code that directly interacts with memory.
I don't see something explicitly declared as unsafe from the source code alone. It looks like a normal pointer dereference to me.
Archive link: https://archive.is/kGByU.
+ cross-platform
+ free as in beer
+ free and open-source software
Can't really comment on convenience, I moved from LastPass, but it has worked well for me.