[ 
https://issues.apache.org/jira/browse/THRIFT-5587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17547956#comment-17547956
 ] 

Triton Circonflexe commented on THRIFT-5587:
--------------------------------------------

I took a quick look and it seems that Wireshark as some primitives to handle 
uuids so it should be easy enough to add there.
Given that the serialization for binary and compact protocol seems to be 
already agreed upon (16 bytes binary, I guess without the length part since 
it’s fixed), I’ll start working of it right now. This way, we should be able to 
have the dissection as soon as the specifications are final.

If it’s fine for everyone, I can also take care of 
{{doc/specs/thrift-binary-protocol.md}} and 
{{doc/specs/thrift-compact-protocol.md}} here.

Wireshark improvement: https://gitlab.com/wireshark/wireshark/-/issues/18125

> Introduce uuid as additional builtin type
> -----------------------------------------
>
>                 Key: THRIFT-5587
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5587
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Compiler (General)
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to