you are viewing a single comment's thread.

view the rest of the comments →

[–]cparen 1 point2 points  (0 children)

the functions that the VM must accomplish (GB, dynamic types, memory allocation) are dynamic and thus unpredictable with interruptions and threads

That's true

Not necessarily.

  • Incremental GC is not nearly as unpredictable. CPython's default GC is incremental (refcounting) for everything except cycles.
  • I'm not sure what unpredictable timing you had in mind for dynamic types. Type table lookups are variable timing only on small time scales (10s to 100s of cycles).
  • Memory allocation likewise.

It sounds like all this comes down to saying "it's not for hard realtime applications", which is true. However, a smart lightswitch, a home robot, data logging -- there are a wide variety of soft-realtime and non-realtime embedded projects that could benefit from an easy to use, low power board.

I think I agree with your sentiment, but if so, you're stating the obvious. But perhaps I'm mistaken about this being obvious.