Mario Sangiorgio on Nostr: I’m rewriting in #Rust a Python tool to collect data from my solar inverter. Albeit ...
I’m rewriting in #Rust a Python tool to collect data from my solar inverter.
Albeit I’m not done yet, here are some initial stats.
Docker image size:
Python: ~350MB (this can be optimised)
Rust: ~7MB (Just my binary FROM scratch)
Memory footprint:
Python: 30MB
Rust: 500KB
Published at
2023-10-29 09:37:39Event JSON
{
"id": "24cc25661344634a7319f1893ef05da6f779e0ada7cbb48ccf191948b3a62626",
"pubkey": "7b3edaa39f50c9e3c41eddfe178ffee7d8ebd89a608791c12b4cba85d11d48df",
"created_at": 1698572259,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"proxy",
"https://hachyderm.io/users/mario/statuses/111317631577172843",
"activitypub"
]
],
"content": "I’m rewriting in #Rust a Python tool to collect data from my solar inverter.\n\nAlbeit I’m not done yet, here are some initial stats.\n\nDocker image size:\nPython: ~350MB (this can be optimised)\nRust: ~7MB (Just my binary FROM scratch)\n\nMemory footprint:\nPython: 30MB\nRust: 500KB",
"sig": "7b09d8908ed6b4a2b72cc0b8a4b9fc4abbaf9e52eeaacbc2b34c64760732d4ed31be42b9fe1bfd823aa9a07e675cae13a2a4c7b10a82427951e21049040b74ee"
}