lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Lenny Palozzi <> wrote:
> I was thinking about using Lua in a project to not only handle any
> scripting needs but also for the definition and storage of the
> structured data. Has anyone struggled with the decision of using Lua or
> XML in their project? What are your thoughts?

I've seen this issue come up on a Python project - to use Python pickle
format or XML. Parsing XML turned out to be slow and the XML formatted 
data took up alot of space. I'd guess you'd find the same differences with
Lua and XML. 

Speed, size and complexity are the costs of using XML. The benefit is the 
ability to publish structured data for external consumption(or possibly
import it). So whether XML is a good choice depends on how you weight 
those attributes.