NOP0 / rustmatic

PLC programming in Rust!
Apache License 2.0
35 stars 2 forks source link

Process image cleaner #24

Closed NOP0 closed 4 years ago

NOP0 commented 4 years ago

This PR incorporates the conversations in #11 . Hopefully its cleaner to review. I was not able to register my dummy device. Not entirely sure how a device is to be registered. It's not polished, still trying to figure out the big picture.

Michael-F-Bryan commented 4 years ago

The problem of device registration reminds me a lot of the problem Linux has to deal with when 3rd parties provide device drivers or kernel modules.

Some useful links:

It feels a bit odd for PlcMain to be registering devices. Shouldn't this sort of setup be handled by the Runtime or as part of our setup code?

NOP0 commented 4 years ago

Closed because of change of approach.