Live data from Hacker News

Wasm3 entering a minimal maintenance phase

github.com

131–140 of 162 posts

Re: Wasm3 entering a minimal maintenance phase

#131
post #62
post #43

Earlier quoted context omitted.

> it's easy to visually confirm everything is cleaned up. Yes and no. It's easy to not make a mistake in a function. It's basically impossible to not make this mistake in 1'000 functions. Especially as code evolves over time, being 99% perfect about this, or even 99.9% perfect, is just not good enough. Not nearly enough. And this reminds me of something Schneier said, that everyone can make a cryptographic algorithm…

> To prove a point, I spent an hour reading his opensource project > and found several resource leaks Sounds like some interesting case studies. Could you share some? > > if I find [… typo words(?) omitted … ] a leak in the code I > > usually refactor to make the correctness more obvious. I should rewrite this as - if I find a leak that I accidentally introduced, I will refactor in the process of correcting it, to ma…

Can't be more specific without doxing myself, I'm afraid.

There are non language ways to make things safer, sure. Take C++, one can do things other than RAII to avoid resource leaks, and it'll be a good pattern. But RAII is right there.

In C++ one can be disciplined about object ownership. But I find that in Rust "doing the right thing" is not optional.

Static and strong typing have similar virtues.

You can write fine software in assembly. Steve Gibson apparently does.

I'm not saying there are any silver bullets. I do appreciate that five minutes spent now being forced to think about object ownership, can save a six month project down the line refactoring to remove all shared_ptrs.

Not accidentally creating copies, because RVO has many conditionals on when it happens.

No silver bullets. But in my opinion C is always worse than at least a C++ subset deliberately chosen. Plain C is because you enjoy the journey, not because you'll get there faster or better.

In C++ you can refactor to RAII encapsulate, when a resource is leaked. In C you can't.

Re: Wasm3 entering a minimal maintenance phase

#132

Earlier quoted context omitted.

At first I felt like maybe this was a reasonable strategy from the west, because it allowed NATO to escalate capabilities slowly without at any point performing actions that would have looked like a direct attack on Russian home soil, justifying military action against the west, etc. But after this summer of letting the Ukrainians flounder along the front in a stalemated counteroffensive, I am frustrated. The F16s sh…

I have a feeling that west doesn't want Ukraine to win. They want to bleed Russia, to make it weak, but to stay in one piece and with current government. Unfortunately for Ukraine, there is no powerful politician like Reagan nowadays. Hard times create strong men. Strong men create good times. Good times create weak men. And, weak men create hard times. We had decades of peace and prosperity and now hard times are co…

We don't need strong men, we need strong people.

Re: Wasm3 entering a minimal maintenance phase

#133

Earlier quoted context omitted.

So aggression gets rewarded by handing them something they wanted. Do you really think that this is the end, this is all they wanted and from now on they are peaceful world citizens? Every time you hand something to aggressors you need to hand them more the next time. How many km between russia and the border of the country where you live? For me it's 0. You either help Ukraine now or be ready to fight yourself somet…

I don’t disagree, but what exactly means stopping Russia? How would you define what is “winning”? So, “that Russia doesn’t do that anymore”? Russia is a nuclear superpower, who can stop them? The NATO? But that’s 3WW.

So your strategy is to not have kids and hope you die before the baddies come to rape you?

Re: Wasm3 entering a minimal maintenance phase

#134

Earlier quoted context omitted.

I don’t disagree, but what exactly means stopping Russia? How would you define what is “winning”? So, “that Russia doesn’t do that anymore”? Russia is a nuclear superpower, who can stop them? The NATO? But that’s 3WW.

So your strategy is to not have kids and hope you die before the baddies come to rape you?

What are you talking about?

Re: Wasm3 entering a minimal maintenance phase

#135

Earlier quoted context omitted.

I don’t disagree, but what exactly means stopping Russia? How would you define what is “winning”? So, “that Russia doesn’t do that anymore”? Russia is a nuclear superpower, who can stop them? The NATO? But that’s 3WW.

I don't get your question "who can stop them?" The Ukrainians have already done so, to a large degree. Nobody imagined Ukraine lasting more than a week of invasion, but they did so, and then retook large swathes of territory and forced the Russians into a defensive posture. The mistake the west made was not having confidence in the Ukrainians early on, and not supplying them with the tools early on and into last wint…

If the Ukranians already done so, why is there still war?

Re: Wasm3 entering a minimal maintenance phase

#136

Earlier quoted context omitted.

Do you really think so? Ukraine received all the ammo in the world already, but they not really making progress anymore. How and what exactly will change in the upcoming future? I’m curious about concrete things, instead of just talking about that “they can not loose” etc. So far, the details are unclear to me. If Russia attacks the EU or NATO, then we’ll need our weapons to fight them. I think there is ZERO chance t…

Few dozens of modern tanks, few dozens of short range missiles. A dozen of aircrafts made in USSR. Doesn't sound "all the ammo in the world" for me. Yes, they received a lot of close range defensive weapons, but almost nothing offensive. Regarding invasion to one country in NATO - why not? Other armies are extremely weak, with ammo depots for few weeks of active operation. And everybody are terrified to do any offens…

When a NATO country is invaded, the other countries in NATO will come and help out. Isn’t that how NATO works?

Re: Wasm3 entering a minimal maintenance phase

#137

Earlier quoted context omitted.

Do you really think so? Ukraine received all the ammo in the world already, but they not really making progress anymore. How and what exactly will change in the upcoming future? I’m curious about concrete things, instead of just talking about that “they can not loose” etc. So far, the details are unclear to me. If Russia attacks the EU or NATO, then we’ll need our weapons to fight them. I think there is ZERO chance t…

Ukraine is eating through ammo (mainly 155mm howitzer shells from what I understand) because the war is in a WWI-style stalemate due to the lack of air superiority at the front from either side. All they can do is pound each other over and over again along the front line. There's no way to advance. Likely if the west provided jets, this would change drastically. I actually agree Russia is not stupid enough to engage…

Do you really think Russia will give up the already occupied territories? Crimea? I think this could happen when Putin would be removed and NATO would deploy to Ukraine. Just sending more and more weapons will not change anything.

Re: Wasm3 entering a minimal maintenance phase

#138

Earlier quoted context omitted.

Are there any official Nazi regiments or heros officially admired by the US? (In Russia you have the motorcyle gang with strong links to neonazism who are buddies with Putin edit: but upon a quick check, that might have been propaganda from the other side).

In Russia? Wagner, Rusich, etc. Azov on the other hand is not a "Nazi regiment", it's had troubling beginnings but it was cleared up as it was brought into army ranks. EDIT: misread the question, in US there aren't 'regiments', but denying the fact that army is rife with supremacists is plain silly. [Any] Army by itself is a magnet for these sorts of folks, and it takes active effort to weed them out, not something t…

This Russian propaganda is so stupid. Everyone knows that Azov people scrubbed their swastika tattoos off

Re: Wasm3 entering a minimal maintenance phase

#139

Earlier quoted context omitted.

Of course in our “freedom of speech” democratic western culture you can’t say this. How dare you? Ukraine on its own can’t win this war. Russia has way more reserves, people and resources. Not even talking about nuclear weapons. Do you really think Russia will accept losing this war? A nuclear superpower? Last resort they can send some nukes. So, why continue sending more weapons and money to a war which if escalates…

Nuclear weapon in current world is an expensive show of power, but completely useless. No one can use it. If you think that after retreat from Ukraine Russian will use nukes - you are consuming too much Russian propaganda.

I think you misunderstood me. I meant last, last resort. When Russia’s existence is threatened, when they have no other options, I think they won’t hesitate to blow up the whole world.

Re: Wasm3 entering a minimal maintenance phase

#140

Earlier quoted context omitted.

Ukraine is eating through ammo (mainly 155mm howitzer shells from what I understand) because the war is in a WWI-style stalemate due to the lack of air superiority at the front from either side. All they can do is pound each other over and over again along the front line. There's no way to advance. Likely if the west provided jets, this would change drastically. I actually agree Russia is not stupid enough to engage…

If west provided modern jets last year, if west provided long range missiles last year, and mainly: if Ukraine was allowed to use them against invader's military target on their soil - there would not be a stalemate now. There are airports, ammo depots and other facilities less than 100 km from Ukrainian cities, and Russians are safe(mostly) there. While at the same time Russians every day continuing their terrorist…

It’s not only about weapons, jets etc. You need personell and expertise to use them. Does Ukraine have that?
Post reply on HN