C# has a decimal type and Java has BigDecimal - 'decimal' seems like a generic 
data type name for Protocol Buffers.

I hear you about making contributing a module; will see if that is possible.

Jawaid Hakim
Chief Technology Officer
CodeStreet LLC
646 442 2804
www.codestreet.com




-----Original Message-----
From: Christopher Smith [mailto:cbsm...@gmail.com] 
Sent: Thursday, April 05, 2012 12:58 AM
To: Jawaid Hakim
Cc: Alexandru Turc; Protocol Buffers
Subject: Re: [protobuf] Additional data types

Nothing prevents you from making a module available for everyone's benefit. If 
it is broadly useful, it will undoubtedly be universally adopted.

--Chris

P.S.: What is a "decimal type"?

On Apr 4, 2012, at 2:21 PM, Jawaid Hakim <jawaid.ha...@codestreet.com> wrote:

> Date and decimal types are ubiquitous and in wide use.  Language specific 
> bindings could easily be created - this is exactly what we do in some other 
> open source projects that I contribute to. The way I envision it, protocol 
> buffers would provide 'date' and 'decimal' types - protoc compiler would 
> compile these into language specific data types (e.g. java.util.Date for Java 
> and DateTime for C#).
> 
> Jawaid Hakim
> Chief Technology Officer
> CodeStreet LLC
> 646 442 2804
> www.codestreet.com
> 
> 
> 
> 
> -----Original Message-----
> From: Alexandru Turc [mailto:alex.t...@gmail.com] 
> Sent: Wednesday, April 04, 2012 5:09 PM
> To: Jawaid Hakim
> Cc: Protocol Buffers
> Subject: Re: [protobuf] Additional data types
> 
> 
> proto files are mapped to many languages, Date and BigDecimal are java 
> specific. 
> 
> On Apr 4, 2012, at 9:37 AM, jhakim wrote:
> 
>> Any plans to provide out-of-the-box for commonly used data types such
>> as Date (encoded as String) and BigDecimal/BigInteger types? Seems
>> this would be of interest to a lot of users.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To post to this group, send email to protobuf@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> protobuf+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/protobuf?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Protocol Buffers" group.
> To post to this group, send email to protobuf@googlegroups.com.
> To unsubscribe from this group, send email to 
> protobuf+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/protobuf?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to