"plugins" is not a feature. What plugin specifically do you need? Most probably you can accomplish whatever you need with a library and iced. Plugin is just a fancy word for library.
Yeah. That's a huge issue rust has. However, it can't be solved with Rc.
You either do it in safe rust, by "cheating" the borrow checker and storing a size offset of the buffer instead of a reference. Or just use unsafe rust and store a raw pointer alongside the buffer.
Do you really need that much Rc? That is, do you really need multiple ownership for a piece of data in a single thread? It is rarely the case, many times you can get away by just borrowing that data.
ARc is harder to avoid, since across threads you often really need the multiple ownership.
Next is, do you need RefCell? Or would a simple Cell in some of the struct fields be enough?
The problem is aunt Ben that lives in the middle of nowhere. Who hates the gays and communists. But lives paycheck to paycheck.
The social left/social right split is about 50%. Some places higher, some lower. But there is a LOT of working people. And most of those will not vote against their own interests. It's only when they have to choose between "not my best interest, but at least there won't be drag queens in my son's school" and "probably my best interest, but they also want to put drag queens in my son's school. So they're probably lying about the good things, politicians always lie". They'll choose the latter.
It doesn't matter that there is no political party that wants to put drag queens in schools. It is only important that aunt Ben thinks that is true.
If you focus on the economy, and ignore the social left, will the left gain enough votes to have power.
Only when you have power you can slowly go for the social issues.
This is what the right has done in the US. They've been claiming they'll bring the good economy, and just leave the social issues as they were before. Slowly the US economy has drifted rightwards. So much so that the only 2 parties are economic right. So now it is the time to turn the social right on. They went full fascism and are killing the minorities and whoever supports them in protest.
Just follow the same playbook. "We're leaving the rules as they are, we won't engage in discussions about culture wars", "but we're gonna tax the rich and give US citizens universal healthcare". Once both parties are pro-universal healthcare, go for public transport, then anti-anti-union measures. And once the economy is leftwing enough, you can start with the culture wars.
I don't want to vote left because of progressivism. I want to vote left because boss earns a dollar while I earn a dime.
For a long time I've been saying, leftist parties would have way more success if they focused on helping 90% of the population (the working class) instead of the minority 1%. They will help minorities the most by helping the working class anyway. They can't help the minorities if they don't get the majority's vote.
Completely disagree. Wine grapes are good too. In small quantities though, eat too many of them and there's a flavour that starts accumulating, which turns you off from eating too many.
In this example all 3 observers are in the same reference frame. That is, each of them are moving at the same speed. This is not what the meme is about. In this example the night from Al would reach you 0.06s after he lit it. Which is expected in Newtonian physics.
The problem of the speed of light being the same for all observers is when they move at different speeds.
The scenario is: Alice is inside a train moving at almost the speed of light, and Bob is outside it, looking at the train. Let's set that light moves at 1m/s (for simplicity) and the wagon Alice is in is 1 meter long.
Alice is at one end of the wagon, and turns a flashlight on. Alice will see the other side of the wagon illuminated after 2 seconds (since the light has to reach the other end and bounce back). Since the wagon is 1 meter long and the speed of light is 1m/s.
However, when she turns the flashlight on, Bob is also looking. Let's say that the train moves at 0.99m/s. In that case, after 1 second the light would have traveled 1 meter, but the wagon (and Alice) has traveled 0.99m, therefore the light is only 0.01m away from Alice.
To summarize: after 1 second, in Alice's frame of reference, the light has just touched the other side of the wagon. Meanwhile, in Bob's reference frame, the light has only moved 0.01m away from Alice.
Unfortunately, it's the only sane cross-language ABI option there is.
C++ is a close second, which is mostly because C++ uses the C ABI wherever it can.
Even if the language itself is obsolete, it will live on for many more years just because of that.