Live data from Hacker News

Wasm3 entering a minimal maintenance phase

github.com

61–70 of 162 posts

Re: Wasm3 entering a minimal maintenance phase

#61

Earlier quoted context omitted.

> On a side note, I can't help feeling sorry for the people that advocate for C over C++ when I see commits like https://github.com/wasm3/wasm3/commit/121575febe8aa1b544fbcb ... To be fair, I/O is a place where C++ really dropped the ball, too. The part of the C++ library is unfortunately a complete mess. This is not really a “win” for C++ as much as it is a failure for both languages. I think it is hard to advocate…

I mean you can just not use iostream? A lot of modern C++ projects just ignore it. For either C style IO or more C++ -y IO.

Yeah, but you can equally ignore fgetc and friends in C. My only point here is that IO in the standard library is not very good in either language.

IMO a parser should be reading the entire file, and then parsing as a block of memory, by default, for most use cases these days. That way you don’t have to think about IO while you are parsing. Streaming parsers are niche these days for good reasons.

Re: Wasm3 entering a minimal maintenance phase

#62
post #43
post #10

Earlier quoted context omitted.

Don't worry, we enjoy that kind of stuff. I usually put all the resource freeing at the end of a function under a goto label, or only a few lines within the allocation, so it's easy to visually confirm everything is cleaned up. The way this commit frees the resources inside of if blocks is not how I would have done it. And if I find I let a leak in the code I usually refactor to make the correctness more obvious. In…

> 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 make the mistake harder to repeat and the correctness easier to confirm.

There are non-language mechanisms that help code run safely, like Wasm, which is a sandbox. Also msan and asan should be used more.

Thinking that changing the language is the right way to fix all the problems you mentioned still seems like a premature assumption. The fact that 100% perfection is worth pursuing at all costs is theoretical and you could be losing things more valuable in the process - e.g. FFI bindings suck, and the added fragmentation in having so many languages in the craft is a pernicious cost with a multitude of aspects to it.

Re: Wasm3 entering a minimal maintenance phase

#63

Earlier quoted context omitted.

>Neonazism does indeed enjoy broad support there. Not any more than US or Russia itself

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).

[flagged]

Re: Wasm3 entering a minimal maintenance phase

#64
post #15

Earlier quoted context omitted.

[flagged]

> To get more Ukrainians killed for no gain of territory? How do you see alternative options? I don't see "okay guys, let's wrap it up" as a thing invaders will accept. It will also mean "you will never return home" or "your family is under occupational regime right now, good luck" for a lot of locals, and that's unlikely this option will be accepted by them. I think some context may help. Russian government media cl…

Agreed, and even if Russia was "content" to "only" take the territory they currently have occupied, and Putin could somehow sell this to his population as a "victory" ... the long term situation would be a nightmare.

They would not stop undermining the independence of Ukraine, and would in fact be emboldened to do more. There would be no "peace", there'd be hybrid warfare incursions constantly, they'd start crowing about Russian language rights even more, and use it as a justification for meddling probably at an even more intense level than before. Every election would be undermined, people assassinated, bought off, manipulated.

Remember Russia last year changed its constitution to include Ukrainian land in its borders. Lands which it currently doesn't even occupy.

They have spent the last 10 years selling their population on the line that Ukrainians were doing some sort of genocide on the population in the Donbas -- so just imagine if Donetsk and Luhansk oblasts were split in two, as they are now?

Official Russian ideology is Russo-supremacist, with an Orthodox Christian nationalist veneer. This is not the USSR era, with its "brotherhood of peoples" propaganda. Its right wing nationalist, and imperialist on that basis, and has shown itself willing to attempt to enforce this.

Eventually they'd either get their way and turn Ukraine back into a client state, or invade again.

Russia needs to be pushed back, its defense lines broken and its trade relationships properly severed, its energy exports denied access to the west until a substantial foreign policy shift is made by its leadership.

Oh, and removed from the UN security council or the security council just abolished.

Re: Wasm3 entering a minimal maintenance phase

#65
post #43
post #10

Earlier quoted context omitted.

Don't worry, we enjoy that kind of stuff. I usually put all the resource freeing at the end of a function under a goto label, or only a few lines within the allocation, so it's easy to visually confirm everything is cleaned up. The way this commit frees the resources inside of if blocks is not how I would have done it. And if I find I let a leak in the code I usually refactor to make the correctness more obvious. In…

> 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
This is asking a lot, but if you enjoy that, I would be thrilled if you could do the same for some of my C projects - nusort and werm under github.com/matvore.

Re: Wasm3 entering a minimal maintenance phase

#66
post #42

Earlier quoted context omitted.

[flagged]

How dare they pick a side when trapped between a rock and a hard place.

Yeah. Considering the Soviets had just killed millions of Ukrainians in the Holodomar when WWII started, I don't think from the Ukrainian perspective either group invading Ukraine at the time was the 'good side'. Many Ukrainians thought siding with Germany was their best chance to gain an independent country after the war. Unfortunately, we know now that the Nazis were never going to let that happen, and it did lead a lot of Ukrainians to collaborate with the Nazis in committing terrible atrocities. But it was a much more complicated situation than that they fought for the bad side. "Slava Ukraini" reflects their desire then and now for independent self rule, not any moral failings during WWII.

Re: Wasm3 entering a minimal maintenance phase

#67
post #45

Earlier quoted context omitted.

If you had lived under Stalin for 15 years and directly experienced 4 million of your countrymen being starved to death under his dictats, the concept of "good" side and "bad" side is messy. Especially when you don't have full access to information - no internet, no newspapers, no radio. The Finns fought on the "bad" side as well, due to the Soviet Union having tried to invade them already two years previously. Ukrai…

[flagged]

US is still battling with its confederate past many years later, it's insane to ask country that's had barely 30 years of independence to go through this quicker.

Re: Wasm3 entering a minimal maintenance phase

#68
post #44

Earlier quoted context omitted.

[flagged]

[flagged]

Your own link.

Bandera remains a highly controversial figure in Ukraine.[9] Many Ukrainians hail him as a role model hero,[10][11] or as a martyred liberation fighter,[12] while other Ukrainians, particularly in the south and east, condemn him as a fascist,[13] or Nazi collaborator,[10] whose followers, called Banderites, were responsible for massacres of Polish and Jewish civilians during World War II.[14][15] On 22 January 2010, Viktor Yushchenko, the then president of Ukraine, awarded Bandera the posthumous title of Hero of Ukraine, which was widely condemned. The award was subsequently annulled in 2011 given that Stepan Bandera was never a Ukrainian citizen.[16] Bandera gained further prominence following Russia's invasion of Ukraine in 2022.[17][18][19]

Re: Wasm3 entering a minimal maintenance phase

#70
post #2

The explanation: > I regret to inform the community that since my house was destroyed by russians who invaded my country, Wasm3 will enter a minimal maintenance phase. At this time, I am unable to continue the development of new features. However, I am committed to keeping the project alive and will actively review and merge incoming Pull Requests. I deeply appreciate your understanding and support during this diffic…

This is awful. Slava Ukraini.

Heroyam Slava.

Agree awful!

Post reply on HN