Recent submissions

Comment · 9 years ago
I assumed this was a side-effect of devirtualization. Obviously indirections are slower, so if the compiler can look at a dynamic call and realize that there's only 1 possible function it could be calling right there, that's a win. Only my 2c
Comment · 9 years ago
I just use Groove on both android and windows. All my music is synced to both places and I can get music I acquired elsewhere onto everything by just sticking it in OneDrive
Comment · 9 years ago
Perhaps the government only cares about who is calling who and for how long?
Comment · 9 years ago
Well there would have been no such thing already implemented in a standard library back in 1965 ;) And it's still a useful exercise for exactly why you need a thread-safe blocking queue, and probably shouldn't just roll your own if you don't know what you're doing.
Comment · 9 years ago
You can actually just compile by setting $env:RUSTFLAGS="-C target-feature=+crt-static" and it will completely drop the dependency on vcruntime.dll. Rust is basically only pulling in memcpy/memset/etc. Not really things you'd be worried about statically linking.
Comment · 9 years ago
Given that its neighbors' top two electricity sources seem to be Nat Gas and Nuclear, seems probable that most of the electricity comes from those sources
Comment · 9 years ago
I think the point is more, in what way does google have any power to stop other browsers from implementing this API?
Comment · 9 years ago
Looks like this crate is merely trying to provide a standard set of types used in an HTTP pipeline to make different crates that want to have a part in that pipeline able to be combined together, without having to convert your types all over the place
Comment · 9 years ago
Wouldn't Apple Pay just be more of a 6th intermediary that just obfuscates the actual payment card from certain parties in that chain?
Comment · 9 years ago
I think more likely will be users type 'paint' into the start menu and just click the first option which should be the new Paint 3D on a fresh system
Comment · 9 years ago
They're not really focused on making a consumer version, they're trying to turn it into an enterprise product first
Comment · 9 years ago
I already pay $5/mo for Discord. Animated avatars and cross-server custom emoji were enough to entice me
Comment · 9 years ago
Perhaps not build systems, but I think editors that help you keep track of warnings should probably have a list of them per-file and only clear that list when the file actually gets rebuilt
Comment · 9 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton