Sadayuki Furuhashi

Results 27 comments of Sadayuki Furuhashi

I think you can set 1 to integer id (meaning your application's type system) and embed class id into body.

Right, some languages don't distinguish int types and float types, as some languages don't distinguish string types and binary types. An approach we made is to introduce a base type...

Here is my idea to support event-driven IO efficiently: ``` java public short unpackShort() throws IOException { final byte b = getHeadByte(); if (Code.isFixInt(b)) { this.head = READ_NEXT_HEAD_BYTE; return (short)...

My concept is: - valid: `getHeadByte()` -> `readInt()` - valid: `getHeadByte()` -> `getNextSize32()` -> `readLong` - invalid: `readInt()` -> `getHeadByte()` (readInt is not repeatable) Generally, `getXxx` 0 or more times...

Internal DSL is better than external DSL to define model classes which have appropriate builder and accessor methods, from my experience. For example, jackson-dataformat-msgpack is successful effort to define mapping...

Sounds good and reasonable idea. My understanding is to add `Buffer#move_to(buffer)` method which moves internal data from the receiver to the argument without copying the data.

it seems working on my environment (Mac OS X 10.11.6) ![](https://pbs.twimg.com/media/CqMppF0VIAAKbcn.jpg)