Just mutual admiration society. It's a parentheses hell and good only for self flagellation. It does have a sense of elegance and can be fun but again, the parentheses hell would be enough of a turn off once you start writing long programs.
Use a regular "functional" language, like Haskell or scala and you get the best of all worlds
Ensure that the dataset containing your postgres data is configured with record size equal to postgres page size or close enough (Lots of places use 8kB ZFS records for 4kB pages).
This will reduce write amplification due to excessive read-modify-write cycles.
So, with the major caveat that I am not an expert and your mileage will vary: After some playing around with it, I intentionally reverted our postgres datasets back to the default ZFS size (EDIT: 128K) because we weren't super performance sensitive and the smaller pages killed compression. Obviously compression ratio vs speed is going to depend very heavily on exactly what you're doing, but it seems to have been a good trade for us.
an interesting hack is to create two tablespaces, one with record size of 8kB, one with recordsize set to maximum, and then appropriately assign tables to them according to ones performance needs. Rarely-written (for example historical) data can be put into partitions living on the large record tablespace (for example 1M recordsize) and have indexes redone with 100% fillfactor.
Of course all of that should be informed by getting actual data about performance first ;)
I wonder how it would be if Rust, like Scala came with a very basic executor? For me external crates no matter how popular, seem a no-go because of them constantly changing.
No. As of now, std does not contain any executors. Only the minimal machinery that the compiler needs to know about in order to translate async code into structs implementing the Future trait.
I think we will see an executor in std at some point, but seeing how executor design is still an ongoing area of research, it's really good that they didn't include an executor in std prematurely.
"Factories are skipping QC and sacrificing quality in favor of volume, and also scammers are trying to cash in on the skyrocketing demand" is way more likely than "China is making deliberately faulty masks". Come on now.
It's a meaningless thing to debate. To the extent coercion comes in to play, trust breaks down, so you can never know what's really going on. That's why bullies lose in the long run, but probably so does everyone.
You haven't seen the videos maybe? People spitting in masks (in China, purportedly) and doorknobs and elevator (in Europe, purportedly). Not a proof and not directly related but I wouldn't put it past China. It shocks me when they claim they have 0 new corona virus cases. If they're lying about something as basic as this, what else are they lying about.
There's been multiple people in the US coughing on lettuce, lick produce etc. Does that mean you wouldn't put it past America that masks exported to Canada will be laced with covid?