[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Opening book format proposal - Computer content

Posted By: Michael Petch
Date: Monday, 31 January 2011, at 10:27 p.m.

In Response To: Opening book format proposal - Computer content (Frank Berger)

I understand everyone suggesting XML, XML wasn't my first choice either - it is overkill for what we are doing. I would NOT be against XML if it was a chosen, but I don't think its best for this task. I'm with Frank on this one JSON(2) is readable and writable by humans, simple to use, and there are libraries for almost every language these days. Most XML editors also support JSON.

The extensibility of the format is key. The binary format proposal is wrought with binary machine translation issues (Floating point representation, endian issues, string format differences, alignment issues etc) which is where most of my concerns last night existed, and requires special software to add/read to it.

The extensibility also offers the ability to add bot specific elements that may not apply to other bots. So you may have a fixed set of standard elements that all entries must have and any elements that may fully describe the settings for a particular bot.

As well the binary representation is very difficult to extend for size of types. What happens if a bot uses Big Numbers (>32 bits) for seeds etc.

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.