Robert Vitonsky

@vitonsky
44 Followers
45 Following
143 Posts
Software engineer. Founder of https://linguister.io, a translation solution in browser. CEO PrimeBits team. My posts mostly about Frontend and Code Quality management.
Bloghttps://vitonsky.net
Githubhttps://github.com/vitonsky
Linguisthttps://linguister.io
PrimeBitshttps://primebits.org
We deserve a better streams API for JavaScript

The Web streams API has become ubiquitous in JavaScript runtimes but was designed for a different era. Here's what a modern streaming API could (should?) look like.

The Cloudflare Blog
@quicheindustries @daringfireball in case that approach become popular, the sites will inline all that garbage with no JS. What's your next turn then?

It would be nice if browser automatically load the WebAssembly modules, bind the native web APIs directly (without any JS glue code), and run the module.

We could write the code for web apps in any language and then compile it to a WASM.

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/

#wasm #webassembly #webdev #javascript

@sitnik_ru а какие у этого плюсы и минусы в практических задачах?

В чем Nano Stores выигрывает, по сравнению с Effector?

@WofWca yeah, there a lot of things.

Most of them cannot be done by individual or small team. Some of them cannot be done well even by #2 company in the world, when we talking about the OS that would be good enough to not make user angry.

I believe that if we will consume a lot of weird content that is out of top of the social media, we will enough unique entropy to find the interesting opportunities that is needed, but not yet implemented well.

@sitnik_ru Для решения какой проблемы существует Nano Stores и чем отличается от Effector?

@WofWca nowadays the answer is often "because no one needed in that".

I mean of course anlything will be needed by 100 random people on the earth, because 9 billion people have so many needs so anything you do will intersect with theirs.

But that's not really needed by many people, so you cannot benefit from that, so in terms of capitalism that is pointless waste of time.

https://github.com/xero/leviathan-crypto
Zero-dependency WebAssembly cryptography library for TypeScript: Serpent-256, XChaCha20-Poly1305, SHA-2/3, HMAC, HKDF, and Fortuna CSPRNG, with a strictly typed API built on vector-verified primitives
#wasm #crypto #typescript #javascript #cryptography

@xero Is only an Occam's razor principle ensures the security?

I mean your point have sense, if we trying to not over-think, and believe a "global conspiracy" does not exist it becomes a simple puzzle - the vectors are a math proof of the spec version that is published on the internet, the world have consensus that this spec does work well in math terms.

What if we would believe the spec may had been changed globally, for example while a first publication?

@xero I see the point about a test vectors. That sounds interesting, but yields the same questions about the trust. Why we should trust to this vectors?

The backdoored spec may be invented to pass well known vectors. OpenSSL and others takes the spec from the internet too, and just write the code according to the spec.