为什么用C? [英] Why use C?

查看:144
本文介绍了为什么用C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么是C用于编写驱动程序和操作系统codeS?

Why is C used for writing drivers and OS codes?

有大小问题?

是否有其他语言编写的任何驱动程序?

Are there any drivers written in other languages?

哪种语言是XP,Vista和写的Solaris?

Which language were XP, Vista, and Solaris written in?

推荐答案

ç编译成机器code和不要求语言本身的运行时支持。这意味着它可以写code,可以之类的东西的文件系统,虚拟内存,进程和别的但是寄存器和RAM存在之前运行。

C compiles down to machine code and doesn't require any runtime support for the language itself. This means that it's possible to write code that can run before things like filesystems, virtual memory, processes, and anything else but registers and RAM exist.

这篇关于为什么用C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆