That seems to have been written in 2014, on his personal website.
433 posts • joined 13 Jun 2009
C++ is unfortunately doomed. A lot of fantasic work went in to C++11 and beyond but it's a dying language. Memory safety issues aside (which should have been largely solved by RAII), it's too complex (there are 5 ways to initialise a variable, xvalues, glvalues, prvalues, lvalues, rvalues), its networking framework is too much but also too little and there's zero mention of unicode. I get the feeling that companies like MS, Google and Mozilla are of the opinion that trying to fix their broken C++ code is too much effort when they could just rewrite in Rust.
I'm not a fan of the visual look of Rust source code but I think it'll become a desired skill if not by its merits, but by the herd wanting to use it.
Our server code is written in C++ and I can't remember the last time we had a crash or a memory leak. I'm not saying we're perfect but C++ has come on leaps and bounds since C++03. Rust protects you from this unless you go 'unsafe', and the devs that can still make modern C++ crash and leak will probably get to do the same in Rust.
That said, what will get Rust more widely used is the 3rd party libraries / source code. With C++ it's a pain and that random HTTP parser you cloned from github may not be the best quality.
Also, networking. C++'s ASIO stuff is a headache, I'd be surprised if Rust is in a similar boat. I'm considering dropping ASIO altogether and going straight to using io_uring.
Are you serious?
People publish Open Source software because they're hobbyists who think others might find their work useful. They owe anyone else absolutely nothing! Others are totally free to not use their software.
Who in their right mind would spend a weekend writing a 'design defence' document? Crazy.
Yes, but that's not what I'm suggesting. It should be possible to run several separate redis instances on each core and have something distribute the load. This is actually possible with Twemproxy, but like I said, that is out of date, if not dead.
I've even been tempted to fork the redis code so that I can run multiple, independent, Redis server threads in a single application.
And yes, the serialisation does seem to be an overhead. Even with twemproxy the main process will use 100% of its core even though there are slaves on the same machine doing the actual redis commands.
The problem with Redis is its single-threaded nature. It wastes cores, especially if you're running it in the cloud. You could use Twemproxy as a proxy to several redis instances running on separate cores on the same machine, but twemproxy doesn't support all the commands and seems to be dead. There is redis-cluster but that still comes with a use-at-your-own risk warning.
This post has been deleted by a moderator
> Meanwhile, New Zealand prime minister Jacinda Ardern issued what she said was a "global call" to combat the racist ideology behind the attacks, and argued that every country needed to target white nationalism and including "weed it out where it exists and make sure that we never create an environment where it can flourish."
According to the BBC, her comments were targeted to right-wing nationalism, not white nationalism, unless only white people can be right-wing these days.
> Twitter’s failure to effectively tackle violence and abuse on the platform has a chilling effect on freedom of expression online
Hmm, no mention of SJW's using Twatter to destroy the online presence of those they find undesirable?
Current example of Vice trying to crush an Asian female who loves all things tech:
> Good code, bad code, of course, still exists. I write both, and sometimes unable to distinguish between the two.
Great, but some who does point out your bad code is pretty much putting their career on the line if you should choose to take 'offence' to having it pointed out.
> The only folks, in my view, getting really upset with them are the types of people who'll regularly break the CoC by being an arse to others.
No the type of people who get upset about CoC's are those who realise that the definition of 'being an arse' is entirely subjective, and someone somewhere can claim, anonymously, that I'm 'being an arse'. I would have no recourse other than to accept guilt, even if I don't believe I am guilty, or prepare to be doxxed and have my career probably ruined.
There's an assumption in, at least the CoC adopted by Linux, that people are native English speakers (ever conversed with a Russian in English? they can be quite blunt; not because they're rude or 'being an arse' but because that's how Russian is), have spent some time in San Francisco, and are actually capable of what is considered 'normal' conversation (it's not very friendly to people with autism or other communication difficulties).
This is a document that demands inclusivity yet its own rules will likely exclude those very people who are drawn to writing computer software.
Biting the hand that feeds IT © 1998–2020