dialohq / ocaml-grpc

gRPC library for OCaml
https://dialohq.github.io/ocaml-grpc
BSD 3-Clause "New" or "Revised" License
58 stars 9 forks source link

Reimplementation of the library #56

Open wokalski opened 2 months ago

wokalski commented 2 months ago

This PR contains a reimplementation of the library. Only the eio variant works for now. The goal of the reimplementation is to make it more:

  1. modular
  2. performant
  3. ergonomic

Building an opinionated workflow is not a part of this library, I will implement it in a separate library.

TODO

tmcgilchrist commented 2 months ago

@wokalski if you use the OCaml 5.3 beta OCaml 5.3 trunk (opam switch create 5.3.0+trunk) with https://github.com/janestreet/memtrace/pull/22 then you can do memory profiling with Eio.

Edit, got confused with my compiler versions.

wokalski commented 2 months ago

statmemprof ftw!!!

wokalski commented 2 months ago

@tmcgilchrist will statmemprof be available in 5.2 or only in 5.3?

tmcgilchrist commented 2 months ago

Only in 5.3. Based on this libraries dependencies it should be possible to build against that version. The problematic pieces are usually PPX and merlin/lsp.