Polyglot Apache PLC4X
summary
Apache PLC4X generates drivers from a machine-readable m-spec format and language templates, producing more than 90% generated driver code for Java, Go and C (C#/.NET and Python work in progress). A Maven-based generator plus language templates create native-feeling APIs; unit and integration test frameworks use XML test cases and a test transport to validate parse/serialize and request/response flows. A C build runs in ~134 KB on STM32, and generated drivers are used successfully across plc4j, plc4c and plc4go.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:09Who am I?
- 3:25Polyglot PLC4X
- 5:27Size Does Matter
- 7:35Challenges
- 11:00Solution
- 14:12MSPEC example
- 19:20Current State
- 20:51API Examples
- 21:19PLC4C Example
- 33:08Unit-Test framework
- 36:07Integration-Test framework
- 39:34What's planned for the future?
related talks
50mBuilding Embedded Drivers for Industrial Communication using Code-generation
43mPolyglot Native: Java, Scala, Kotlin, and JVM languages
14mOpenPLC: how industrial are you?
53mHigh Speed Java Development with LLMs and Agents Fast, Clean, Maintainable
47mAgent Client Protocol for Java Developers
38mThe Era of AAP: Ai Augmented Programming using only Java
03h 31mEurope, Middle East & Africa
01h 02mJava
