"Parse, don't validate" caught on in JS. The encoding side is still very early, with messed-up outbound data in the majority of projects - new article on that.
Feat: @colinhacks, @EffectTS_, @Rich_Harris, Typia, and others.
A retweet would help a lot ๐
https://t.co/Vez5P3P5yJ
@wolfgangg37@envio_indexer@base Here's the benchmark.
It uses a real Base network snapshot and emulates network latency based on payload size, so it's reliable and deterministic.
You can find more at: https://t.co/JctBXNK4s2
Decided to add rkyv support the same way I made Protobuf in Sury. This one is even more interesting for me because we rewrite @envio_indexer to Rust and want to make interop more performant. Here are some early results.
Sury v11.1:
- Multi-error result for form libraries
- 10x faster validation for invalid values
- The fastest Protobuf decoding and encoding in JavaScript
- Codegen from .proto for TS and @rescriptlang
https://t.co/3kDKk8iEJP
Running an indexer locally now comes with a new terminal UI.
We rebuilt it in Rust and gave it its own thread, separate from the indexer, so it stays responsive while your chains sync.
Check out the latest release.
https://t.co/HvIHS2uPhd
Sury v11.1.0-rc.0 is out!
- Protobuf support 5x faster than any other JS library
- Standard Schema result returns multiple issues - perfect for form libraries
- 40x faster parsing with failures
- New S.compareInput and S.compareOutput
- Default value support for S.nullish
ECMAScript excitement ๐
Congrats to @acutmore from @TechAtBloomberg on advancing the Composites proposal to Stage 2 at @TC39 today ๐
Composites are objects that are compared by value instead of identity. They are an evolution of Record & Tuple proposal.
Now that Schema Benchmarks has been officially released for 7 months, I thought it'd be useful to look at how it's improved over that time, and how it's helped the ecosystem!
https://t.co/Rn5e91h0Tn