Difference between revisions of "TypeSystems"

From Sirikata Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
This gives us the following types
 
This gives us the following types
  
 
+
{| border="1" cellpadding="2"
[|double]
+
!width="50"|Name
[|float]
+
!width="225"|Effect
[|int32]
+
!width="225"|Games Found In
[|int64]
+
|double
[|uint32]
+
|float
[|uint64]
+
|int32
[|sint32]
+
|int64
[|sint64]
+
|uint32
[|fixed32]
+
|uint64
[|fixed64]
+
|sint32
[|sfixed32]
+
|sint64
[|sfixed64]
+
|fixed32
[|bool]
+
|fixed64
[|string]
+
|sfixed32
[|bytes]
+
|sfixed64
 +
|bool
 +
|string
 +
|bytes
 +
}

Revision as of 00:00, 14 February 2009

We want the type system to be serialization agnostic so we can support different backends.

Our current implementation ideas revolve around starting from the serialization format specified in protocol buffers. This gives us the following types

Name Effect Games Found In double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes

}