[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] new to qemu with a simple question
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] new to qemu with a simple question |
Date: |
Wed, 24 May 2017 11:11:41 +0800 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Wed, 05/24 10:56, Wang Dong wrote:
> Some C source code is generate from json file.
>
> I wonder why this? What is the benefits of this?
This allows you to concentrate on the high level semantics of the QMP API,
without worrying about C syntax and structural code here and there. In one
word, more conciseness and little code duplication.
If done in C, it would be much more lines of code and hardly readable.
Fam