purescript-protobuf
purescript-protobuf copied to clipboard
Google Protocol Buffers for PureScript
Issue for discussion of gRPC implementation. https://developers.google.com/protocol-buffers/docs/proto3#services https://grpc.io/docs/guides/
That's a thing we could do. https://github.com/natefaubion/purescript-tidy-codegen
In `encodeVarint64`, instead of creating a separate `ArrayBuffer` for each byte, we could preallocate an `ArrayBuffer` with the right number of bytes for the entire __varint__ by examining its value....
I wonder if it would be a worthwhile performance improvement to represent repeated scalar fields with [`ArrayView`](https://pursuit.purescript.org/packages/purescript-arraybuffer-types/2.0.0/docs/Data.ArrayBuffer.Types#t:ArrayView) instead of `Array`. For example a repeated double message field would be type...
https://pursuit.purescript.org/packages/purescript-profunctor-lenses/
Everything in this library happens in `MonadEffect`. Why? Because `purescript-arraybuffer` is all mutable and in `MonadEffect`. If there were an immutable frontend ArrayBuffer library, like Node Buffer, then we could...
In the generated module docs comment, we should print the version of purescript-protobuf.
https://developers.google.com/protocol-buffers/docs/proto3#json