質問

I have taken interest in basic hardware interaction with software.

What's a good language to start learning to control hardware? Can Java do the job?

役に立ちましたか?

解決

As others have suggested, C or C++ is the "Proper" way to start as interacting with hardware can be done very directly due to the pointer structure (You can access arbitrary memory adresses).

If you haven't used C or C++ before i would suggest that you tried an arduino board as it would give you the feel of the C syntax and at the same time give you a very well documented board to play around with.

http://arduino.cc/

You should even be able to interface to the board in Java and C#

http://playground.arduino.cc/Interfacing/Java http://playground.arduino.cc/Interfacing/csharp

他のヒント

This depends on the platform. If you have a good java API for your device, it works well enough. In general though C or C++ are the languages of choice when it comes to hardware. The reason for that is that they are able to directly access arbitrary memory addresses through the pointer construct. This is in most cases the way to interact with hardware. This is not directly possible in java.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top