every_jorendorff Profile
every_jorendorff

@jorendorff

Followers
2K
Following
3K
Media
317
Statuses
10K

// XXX TODO

Nashville, TN
Joined June 2007
Don't wanna be here? Send us removal request.
@jorendorff
every_jorendorff
2 years
“Learn everything; you will see afterwards that nothing is superfluous.” —Hugh of St. Victor.
0
1
2
@jorendorff
every_jorendorff
3 years
Logging off for a while. This thing was more fun when there was a different main character every day!.
0
0
8
@jorendorff
every_jorendorff
3 years
Plain disgusted that 2^63-1 isn't prime. In fact there aren't any Mersenne primes between 2^32 and 2^64. Lame. @littmath Can you do something about this? Or do i need to get in touch with @matthew_d_green, how do we fix it.
0
0
4
@jorendorff
every_jorendorff
3 years
RT @gerrycanavan: Elon Musk destroying Twitter for all of us who weren’t strong enough to delete our accounts on our own is basically a sho….
0
3K
0
@jorendorff
every_jorendorff
3 years
I know. Twitter can sell followers. $8/month buys 800 likes on your posts. 🤷‍♂️ don't knock it, it works for Spotify.
0
0
1
@jorendorff
every_jorendorff
3 years
RT @Coelasquid: Thinking about the completely fake bomb/drug/criminal detection device that was sold for up to $8000 per unit to police and….
0
4K
0
@jorendorff
every_jorendorff
3 years
- borrow checker vs. sincerely believing that the way *you* use the language is totally safe.
0
0
3
@jorendorff
every_jorendorff
3 years
- having a safe subset at all.- array access bounds-checked by default.- &str vs. string_view.- semantics of arithmetic corner cases.
1
0
1
@jorendorff
every_jorendorff
3 years
- virtual method calls only happen with explicit dyn (not a huge thing, just nice).
1
0
1
@jorendorff
every_jorendorff
3 years
- syntax generally (C++ is famously vexing to parse).- compiler error messages (though C++ compiler errors are underrated).
1
0
2
@jorendorff
every_jorendorff
3 years
- fixed-size array types (they're not quite normal types in C++).- zero-sized fields really take up zero bytes!.- `macro_rules!` vs. `#define`.
1
0
2
@jorendorff
every_jorendorff
3 years
- String/Vec cloning only happens if you explicitly .clone().- `#[derive]` vs. lots of on-by-default features you maybe should `= delete;`.- you can implement traits for built-in/libstd types (`impl Serialize for u32` - it's useful!).
1
0
2
@jorendorff
every_jorendorff
3 years
- operator overloading aesthetic in libstd (Rust minimalism vs. C++ dadaism).
1
0
1
@jorendorff
every_jorendorff
3 years
- .enumerate(), .zip(), ranges, and iterators generally. The C++ ranges library is OK I guess.- btrees vs. red-black trees.
1
0
2
@jorendorff
every_jorendorff
3 years
- tuples vs. std::tuple.- Option vs. std::optional.- enums generally vs. std::variant.
1
0
2
@jorendorff
every_jorendorff
3 years
- thread support (every feature, by many miles; Rust shines here).
1
0
1
@jorendorff
every_jorendorff
3 years
- unicode support.- serde.- Rayon.- regex.
1
0
2
@jorendorff
every_jorendorff
3 years
- no constructors.- move semantics.- patterns and match expressions.
1
0
2
@jorendorff
every_jorendorff
3 years
- dependencies and Cargo.- no header files.- modules vs. namespaces.- how pub works (by module vs. by class).
1
0
3
@jorendorff
every_jorendorff
3 years
- you can print a Vec.
1
0
4