Remix.run Logo
nemo1618 3 days ago

There are two ways to look at this.

First is that, if the parsing library for your codec includes a compiler, VM, and PGO, your codec must be extremely cursed and you should take a step back and think about your life.

Second is that, if the parsing library for your codec includes a compiler, VM, and PGO, your codec must be wildly popular and adds enormous value.

VikingCoder 3 days ago | parent | next [-]

If you want to do something several hundreds of billions of times per day, you probably want to do it very efficiently.

benlivengood 2 days ago | parent [-]

Or, you know, several hundreds of billions of times per second...

cryptonector 2 days ago | parent | prev | next [-]

I'm not sure which part you're objecting to.

If it's compilation at run-time, then I agree: it should be done at build time. But in this case it's really not a big deal.

If you're objecting to needing a compiler, then... you're not even wrong.

pantalaimon 2 days ago | parent | prev [-]

You can also prase Protobuf on the very low end, if you don't need super high throughput

https://jpa.kapsi.fi/nanopb/