Announcement

Collapse
No announcement yet.

Systemd Looking At A Future With More Varlink & Less D-Bus For IPC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Originally posted by oleid View Post
    Why would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
    The following benchmark is using a very efficient json library. Note that the X axis is logarithmic:

    https://github.com/getml/reflect-cpp...ain/benchmarks
    actually json can be quite efficient: simdjson : Parsing gigabytes of JSON per second
    although obviously it won't be as efficient as binary. Personally I would also choose binary over a text format like that. But designing a generic serialization format that's SIMD friendly might not be easy

    Comment


    • #62
      Originally posted by phuclv View Post
      actually json can be quite efficient: simdjson : Parsing gigabytes of JSON per second
      although obviously it won't be as efficient as binary. Personally I would also choose binary over a text format like that. But designing a generic serialization format that's SIMD friendly might not be easy
      Yeah, but simdjson will only help if you've huge messages. That's unlikely in this situation. I'd rather expect many small messages.

      Comment


      • #63
        Originally posted by Errinwright View Post

        You must not have watched the presentation, because this garbage you let out is nonsense.
        oh? what about what i said is untrue? in what world is ever using --> JavaScript <-- Object Notation acceptable for pid 0

        Comment

        Working...
        X