开发者

In embedded application why c is most poppular? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

see ,

still yet i have seen that mos开发者_JAVA技巧t of the embedded application are written in c. Most of the libraries are written in c. Device-driver are written in c.

So i want to ask you is there any logical reason behind this?

(My apologies if this post sounds silly/stupid. I thought I'd ask here. Ignoring these core bits never made anyone a better programmer.)


There are many reasons, including but not limited to:

  • It has access to many low level functions not accessible from many other languages.
  • It has existed for many many years and has lots of developers that are familiar with it.
  • If written well it's extremely efficient.
  • It gives almost complete control over memory etc.
  • It's very portable, largely due to the myriad of compilers written for it.


Because of Dennis Ritchie. C is easily the most portable language.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜