News for hackers. Stuff that matters.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by PaulDavisThe1st on Wednesday November 17, 2021 @06:22PM (#29260189)
> 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.

Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by packetlost on Wednesday November 17, 2021 @06:30PM (#29260271)
No, I mean nanosecond precision real-time systems. Exhibit A: 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.

Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by ranger_danger on Wednesday November 17, 2021 @07:59PM (#29260915)
Python does not have nanosecond precision.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by nurettin on Thursday November 18, 2021 @06:51AM (#29264426)
3.7 has time.time_ns()
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by PaulDavisThe1st on Thursday November 18, 2021 @01:12PM (#29268560)
"nanosecond precision" means that you can schedule something for a time in the future, and it will happen within 1 nsec of that time.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by packetlost on Friday November 19, 2021 @03:25PM (#29281933)
We are doing exactly that with Python and that system I linked.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by 4w4s on Wednesday November 17, 2021 @06:40PM (#29260359)
We 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.
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per... by zanellia on Thursday November 18, 2021 @02:40AM (#29263042)
Right, MATLAB Coder is a very related tool.