Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5587

Introduce uuid as additional builtin type

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • Compiler (General)
    • None

    Description

      I hereby propose to add uuid as an additional built-in basic type.

      Rationale:

      • Uuids (or Guids) are a state of the art and well-understood way to identitify data entities.
      • There is support in next to all languages' runtimes to generate, convert and store such data.
      • Although conversion to and from string or binary is certainly possible, it is also rather cumbersome.
      • A distinct datatype enables us to sent it in the most suitable way across the wire: JSON=text, Compact=binary

      Remarks

      • I am open to discuss the term "guid" vs "uuid". Coming from NET platforms I would tend to guid, but I am open to uuid (or even both) as well. That's just a detail.
      • If no significant concern is raised, I would move on and implement C#, Delphi and Haxe bindings (as sub-tasks) myself and leave the rest to the community.

       

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 14h 10m
                  14h 10m