Tom Eastman - Serialization formats are not toys - PyCon 2015

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 11

  • @LordEvrey
    @LordEvrey 7 років тому +1

    Few of many more reasons why I prefer things like FlatBuffers, Cap'n Proto, or MessagePack.
    Great talk!

  • @dom1310df
    @dom1310df 4 роки тому +3

    Who thought that making remote code execution a core feature of YAML was a good idea? Probably the same person that mandated using tabs.

  • @_bigblind
    @_bigblind 9 років тому

    Great talk.

  • @Asdayasman
    @Asdayasman 9 років тому +1

    Hey the subtitles aren't all that bad.
    Why are they all in caps yet?

  • @DustinRodriguez1_0
    @DustinRodriguez1_0 9 років тому +2

    Nobody needs these various serialization formats. If you have tabular data, use CSV. If you have nested data, use JSON. If space is a concern (it's probably not), use packed binary structs. If your needs can't be met by those, you probably need a database. The only shortcoming of JSON is its lack of support for comments. It would be more perfect for config files if you were able to include comments.

    • @scifregizmoguy
      @scifregizmoguy 4 роки тому +1

      TSV is definitely preferred to CSV

    • @NabekenProG87
      @NabekenProG87 3 роки тому +1

      Yaml is only really useful for config files. But a format with less features would suffice

    • @NicolasChanCSY
      @NicolasChanCSY 2 роки тому

      @@NabekenProG87 Such as TOML?

  • @MrMhornberger
    @MrMhornberger 9 років тому +1

    Why do people just dump unknown, unvetted data into their application? Shouldn't you parse it first, to make sure it isn't going to break anything?

    • @jonathanccast
      @jonathanccast 9 років тому +6

      +Mark Hornberger Um, this talk is all about vulnerabilities in the 3rd-party parsers for these formats. So I guess the answer to "parse it first" is "watch the video, the standard parsers have code injection bugs or other vulnerabilities".

    • @MrMhornberger
      @MrMhornberger 9 років тому +1

      Jonathan Cast I see your point. I guess that didn't occur to me. Thanks.