C 语言嵌入式系统编程修炼之一:背景篇
不同于一般形式的软件编程,嵌入式系统编程建立在特定的硬件平台上,势必要求
其编程语言具备较强的硬件直接操作能力。无疑,汇编语言具备这样的特质。但是,归
因于汇编语言开发过程的复杂性,它并不是嵌入式系统开发的一般选择。而与之相比,
C 语言--一种"高级的低级"语言,则成为嵌入式系统开发的最佳选择。笔者在嵌入式系
统项目的开发过程中,一次又一次感受到C 语言的精妙,沉
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001455s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.093598s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001025s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001209s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000952s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.007556s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001063s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.005751s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015243s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.000966s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 493118 [ RunTime:0.012281s ]