Convert all Flatbuffer ops to JSON #2801
To all contributors who are listening -
There's many ops to convert, and if you are interested, this is would be a helpful contribution.
I'm currently working on js/os.ts - please let me know if you want to work on some of the ops, I'll try to coordinate people so there's no double work happening. Base work off #2799
Here is a list of ops we need to convert:
The only ops we are not converting are read, write, readSync, and writeSync.
@s-panferov actually the opposite - we found flatbuffers too slow and we don’t yet know the speed of this JSON serialization.
The other ops are not measured in our benchmarks - so we don’t particularly care how fast they are. More important is the ease of implementing and maintaining them. The flatbuffer API is unfortunately very verbose. It also complicated our build at a time when we’re trying to move from gn/ninja to cargo based. So the JSON serialization will help simplify things and not effect the benchmarks.