Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
static-ffmpeg
Discontinued Installs FFMPEG On Win32/Ubuntu/MacOS [Moved to: https://github.com/zackees/static_ffmpeg] (by zackees)
-
MicroPython
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Why not both? Rust bindings for the Python interpreter
Or the easiest method is to just create a binary that performs your CPU intensive action then call it with Python's subprocess.check_output(cmd, ...) and then evaluate the results. For example, I do this with https://github.com/zackees/static-ffmpeg. Python is used to gather the user arguments then simply delegates the processing to ffmpeg.
As the cost of more powerful micro-controllers continues to drop, the time and cost savings that comes with working in higher-level languages is starting to outweigh the cost of using cheaper/less-powerful micro-controllers. There are already options such as micropython and circuitpython for using Python on micro-controllers, but they're not in wide commercial use as of yet (as far as I'm aware).
As the cost of more powerful micro-controllers continues to drop, the time and cost savings that comes with working in higher-level languages is starting to outweigh the cost of using cheaper/less-powerful micro-controllers. There are already options such as micropython and circuitpython for using Python on micro-controllers, but they're not in wide commercial use as of yet (as far as I'm aware).