This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-28
Channels
- # announcements (11)
- # aws (30)
- # beginners (98)
- # calva (11)
- # cider (42)
- # clj-kondo (4)
- # cljdoc (1)
- # cljsrn (5)
- # clojure (132)
- # clojure-europe (4)
- # clojure-ireland (1)
- # clojure-italy (35)
- # clojure-japan (2)
- # clojure-nl (5)
- # clojure-spec (5)
- # clojure-uk (24)
- # clojurescript (71)
- # clojutre (1)
- # core-async (6)
- # cursive (9)
- # data-science (4)
- # datascript (3)
- # datomic (78)
- # duct (16)
- # emacs (14)
- # events (2)
- # fulcro (141)
- # graalvm (5)
- # hoplon (14)
- # hyperfiddle (2)
- # jobs-discuss (14)
- # joker (8)
- # luminus (2)
- # off-topic (7)
- # om (1)
- # pathom (4)
- # pedestal (7)
- # planck (2)
- # quil (1)
- # re-frame (14)
- # reagent (2)
- # reitit (14)
- # robots (1)
- # shadow-cljs (20)
- # spacemacs (25)
- # specter (1)
- # sql (122)
- # tools-deps (63)
- # unrepl (2)
- # yada (34)
I’m using transit on a project. I haven’t ever used protobuf, but was just recently asked about what the benefit of transit is over protobuf … anyone have any opinions?
@upgradingdave transit piggybacks on json and is therefore more appropriate for server-browser interactions (browser has efficient/fast json deserialization built-in). Transit is also self describing, whereas protobufs need a pre-defined schema.
makes sense, thanks!
I’ve found that I’m starting to use transit where I would have used Apache AVRO in the past. Would be nice if it played with a few more languages, guess that’s an opportunity for people to contribute libraries….
I’m not sure that I really have a preference. I need to find out more about transit. The main reason I’ve been using it more is that I find more libraries play well with it when in the clojure(script) land. I have some services written in Golang and I find that AVRO plays well in polyglot places. Does anyone else have much experience of both?
I use GRPC as a sync (RPC) between services, but I often send messages (AVRO or Transit) over this transport. I think that the self-describing protocols are far better than protobufs.