4 ms·
You've never been near a lab environment clearly. Python is a dominant language in university labs and runs of lot more real-time systems than you think. Grad s
by packetlost 5y ago
You've never been near a lab environment clearly. Python is a dominant language in university labs and runs of lot more real-time systems than you think. Grad students rarely have industry experience and don't necessarily have the know-how to write C code effectively, so it's a question of resources and ecosystem. Numpy, matplotlib, pandas, scikit, TensorFlow, etc. are all huge draws for the scientific and ML communities.
- PaulDavisThe1st 5y ago> runs of lot more real-time systems than you think soft real time systems, for sure. if it runs any hard real time systems, get out of the lab. We could of course debate the boundary between hard and soft, but I'd rather not.
- deleted 5y ago[deleted]
- 4w4s 5y agoWe can talk instead about how the requirements to run slightly less simple near-hard real-time controllers are really heavy in terms of money, effort and .. weight. This tool may actually help to streamline the software part, potentially being a substitution in certain cases to i.e. Matlab Coder or similar tools.
- zanellia 5y agoRight, MATLAB Coder is a very related tool.
- packetlost 5y agoNo, I mean nanosecond precision real-time systems. Exhibit A: https://github.com/m-labs/artiq https://github.com/m-labs/artiq To save some reading, this uses a combination of an FPGA and kernel (which I think is in Rust) to generate a realtime buffer that is programmed using a mix of compiled-realtime python and plain python via a RPC system.
- ranger_danger 5y agoPython does not have nanosecond precision.
- nurettin 5y ago3.7 has time.time_ns()
- PaulDavisThe1st 5y ago"nanosecond precision" means that you can schedule something for a time in the future, and it will happen within 1 nsec of that time.
- packetlost 5y agoWe are doing exactly that with Python and that system I linked.