#readablestream — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #readablestream, aggregated by home.social.
-
When transfering big amounts of data, #JSON can be a pita. Duplicating data into a string is kind of inefficient and stringifiers like `JSON.stringify` in the #browser have their limits too.
#MessagePack looks like a nice alternative. Beeing binary, it's faster and more efficient. Language support looks great. In #JavaScript / #TypeScript you can even have it produce a #ReadableStream to feed directly into fetch. Now pipe it into a #CompressionStream and you're flying!