inv2004
Joined 4 years ago
Joined 4 years ago
If I remember correct, we had the same results described in article in 2014, but also I remember that linux loopback was optimized after it and different was much smaller if visible
- interface a bit more intuitive: - you see full day on top chart, see spikes on it and scroll into the moment to check it in details
- alerts/notifications
- does not need root
One of the part of the project (feed collector) I tried to write in many languages to compare. One day I downloaded Nim - did not expect anything at all - just wanted to try async and ... in about 2 hours (on new language for me) I had the same functionality I spent 2 weeks in Rust. More interesting - it was about 30% faster than Rust solution.
After it, I can just show the picture: https://user-images.githubusercontent.com/4949069/229308266-...
I rewrote full (2 years+) project in Nim in 3 weeks. I understand that I knew good architecture for the second implementation, but 3 weeks is good anyway.
Did a lot of pet-projects, I use it for small prod tools or research if it is possible.
For example I wanted to extend atop functionality, and I wrote my own ttop: https://github.com/inv2004/ttop
For new Nim's user I would describe it like python with speed of C-lang. But later you will find that it is not another python, it is its own language with a lot of powerful things like templates, macros, very good interop with C (that is why libraries are not a problem most of the time) and etc.
So, I decided to take it in my hands and spent few days to create my own ttop