The iPad really does have great battery life on the other hand.
423 karma · joined October 3, 2016
The iPad really does have great battery life on the other hand.
However I would have liked a section dedicated as to why hardware accelerated UDP wouldn’t be an adequate solution vs a whole new protocol. It seems to me it provides a solid basis for achieving the results the author wants to bring about?
Fly you fools. This will be a nightmare to debug, introspect and reason about for a speed boost that you (and your users) won’t be able to measure.
If you want to build a native app, more power to you. There are simpler languages that will enable you to do that with a much higher productivity.
Kudos to the library writer though!
Cpp still has the (huge) advantage of maturity. Rust is great but still half-backed. Things like thread-local-storage, custom allocators and async are either unstable or incredibly rough around the edges.
Finally, my experience has been that third-party libraries in cpp are fewer but of greater quality than the ones in rust. There are many many libraries available in rust due to the amazing dependency system. But the average quality is quite poor.
In cpp you tend to be conservative when adding dependencies which means you have a much better understanding of the code you run. Or, you write your own code that’s usually custom made for your purpose, which generally end up as being more performant.
What POSIX is is outside of the control of Linux. Linux wants to be POSIX compliant for compatibility. Changing POSIX would not make sense.
My main question is that it seems very hard to distinguish between a legitimate recommendation system and a system that is designed to capture your attention. For instance, I like being able to see related items on Amazon when evaluating a purchase. That recommendation empowers me as a consumer. China can afford to make the law vague because the regulator will never be challenged in its interpretation. That wouldn't work elsewhere, I think.
That being said, not all is great. China grants rights to people over their data while making it clear that they don't own any of it. This legislation is part of a broader regulatory framework designed to give the state a true monopoly free of all limits. This should give us pause.
Can’t you just… remove the hyphens? UUIDs are just arrays of bytes, the hyphens are not part of the data.
Instead, they use a less popular, less supported, more collision-prone ID format.
And even before that there was Linux AIO etc.
For instance you can perform an on-disk b-tree lookup in the kernel.
These devices are so fast that crossing the kernel boundary becomes the limiting factor.
The real issue is that software and APIs aren't keeping up with the hardware. If you do IO with memory mappings or anything POSIX, you will not be able to saturate a modern NVME SSD. And I'm not even talking about Optane here.
This means that there is no market for these crazy fast devices. Look at the storage-optimized instances of every major cloud provider, and you won't find them. They would be too expensive, and the software people would run on them wouldn't be any faster than the older, cheaper SSDs.
It'll take time for the software to evolve and catch up. Initiatives like DAX, eBPF, and io_uring in the kernel are a big step forward in the right direction.
True, but on these systems, most of the time, users don't care about performance. And when they do, the dataset is not large enough for this kind of algorithms to shine anyway.
I see it as a testament to their desperation.
Somehow, it feels good to use it and after a while you find yourself reveling in complexity. I'm almost ashamed to say really.
See https://shadowsocks.org/ for info.
A simple way to evade all of this is to use shadowsocks with a strong cipher and strong password between your computer in China and your server outside of it. Don't use any free server and don't use any commercial shadowsocks offerings. Set it up yourself, it's pretty easy.
On the mobile phone side of things. I wouldn't trust anything. Especially Apple that has been very complaisant with local authorities.
China plays a tactical game: they pretend (or we suspect, and they want us to) that they can do a lot of things. But nobody knows the extent of what they are actually capable of.