Is it possible to code a device driver in Java?

后端 未结 13 1273
猫巷女王i
猫巷女王i 2020-12-04 20:04

Introduction

I heard something about writing device drivers in Java (heard as in \"with my ears\", not from the internet) and was wondering... I always thought dev

13条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 21:00

    It is possible to compile java code to hardware native (i.e. not JVM bytecode) instructions. See for instance GCJ. With this in hand, you're a lot closer to being able to compile device drivers than you were before.

    I don't know how practical it is, though.

提交回复
热议问题