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