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:[email protected]] 
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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to