Modbus driver: C vs Java

Soon I will start a project in which I must program the Modbus driver. My initial approach was to want to do this in Java, however, my boss had contact with a company that has experience in Modbus, and they said that C is the best language for approaching Modbus. So my boss pretty much required him to be in C. Knowledge of C is not very great, so I would need to learn enough to get the Modbus driver to work in the correct and stable order.

So, my question is for you, stackoverflow people with some experience in Modbus: how important is the choice of C vs Java? The Modbus site seems to have Java libraries, if C is always superior to Java in every way, why do they have these libraries? Would it be useful to learn C correctly for the benefits that might give?

+3
source share
1 answer

I used some Modbus implementations in C / C ++ (in home implementations), but there are some open source implementations from Modbus. I believe that they can be used if the license suits you. You can implement it in Java too - it's a matter of choice; in this case you will have to justify your choice.

LATER: BSD. - - .

+2

Source: https://habr.com/ru/post/1749925/


All Articles