4 ms·
> cabytcini to show the current time and weather in my dwm bar ... > As of the time of this post being written, it uses only 11 megabytes of ram I'm not a ru
by progre 6y ago
> cabytcini to show the current time and weather in my dwm bar
...
> As of the time of this post being written, it uses only 11 megabytes of ram
I'm not a rust programmer. Is 11 megs for an app like this concidered small?
- karatestomp 6y agoWild guess: the web client it includes is most of that. Even if it cleans up the instance of it after, the code itself is still sitting in memory, and that may be quite large. It also seems to include a JSON parser, which might be a bit large. I'd expect something like this grabbing some dead-simple format over a TCP socket, rather than importing a Web library, to be well under a MB, certainly, and even that seems not to be setting a very low bar, to me. Though those are expectations based on C, not Rust.