News for hackers. Stuff that matters.
Re:What if Jev spoke Arrow? by orf on Tuesday September 29, 2026 @02:55PM (#49898560)
While Jev is fast, using it is hardly bottleknecked by deserializing from JSON.

Using arrow is cool, but grpc seems like a more natural fit than arrow IPC and would give you the same benefits.

Re:What if Jev spoke Arrow? by ianmcook on Tuesday September 29, 2026 @03:38PM (#49899190)
Agreed. With the API as it is today, the bottleneck is the thousands of round trips (one per state). The post is a bit of a "what if" where we're imagining (and hoping!) that TypeSafe adds a batch endpoint, which would take the round trips out of the picture. Then serialization would start to matter, and that's where Arrow would come in

It would be straightforward to wrap this as an Arrow Flight (Arrow over gRPC) endpoint. But it would make it heavier and less browser-compatible.

Re:What if Jev spoke Arrow? by mihevc on Tuesday September 29, 2026 @03:22PM (#49898963)
If I read the example correctly they are using long living http/2 connection to send arrow IPC. Which seems pretty pragmatic.
Re:What if Jev spoke Arrow? by mihevc on Tuesday September 29, 2026 @03:07PM (#49898774)
grpc is an RPC framework and Arrow IPC is a serialization format. You can use Arrow Flight which uses grpc to send Arrow IPC. But I suppose TypeSafe doesn't provide grpc endpoints yet?
Re:What if Jev spoke Arrow? by orf on Tuesday September 29, 2026 @03:09PM (#49898793)
You’re right, I got Arrow IPC confused with Arrow Flight
Re:What if Jev spoke Arrow? by billsmithaustin on Friday October 02, 2026 @10:41AM (#49934067)
gRPC uses Protocol Buffers for serialization. You can serialize with Protocol Buffers without making remote procedure calls with gRPC.