為什麼Operating System 要用C語言

最近有上到Operating System 的課程

很好奇為什麼是要使用C語言的程式

而非一般熱門的Java ?

有人可以跟我解釋一下

Thanks

Update:

哈哈 ~~ 我白目 說錯話了

像全國人民道歉

4 Answers

Rating
  • Chen
    Lv 6
    6 years ago
    Favorite Answer

    I have coded program in experience of OS ( SVR , NT, MACH ) for many years.

    there are below statement features in C:

    1. directly access assembly language, so it can setup interrupt table such as

    IDT, GDT table ...etc, less using assembly language.

    2. easily can do context_switch. because context_swtich must randomly

    jump into anywhere and load into EIP register.

    3. pointer function.

  • 6 years ago

    上網查就有一堆資料了吧...

    系統剛啟動時都是先一點點組語之後C語言

    然後進了OS開發應用時才換其他高階語言

    樓上2位大大 請問是怎麼入門嵌入式系統的...

    會有公司會肯收沒有OS經驗的嗎?

  • 卸貨
    Lv 5
    6 years ago

    > 因為C比Java還熱門啊!

    沒錯沒錯,就是這樣!

  • 6 years ago

    >而非一般熱門的Java ?

    因為C比Java還熱門啊!

Still have questions? Get your answers by asking now.