mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
293 stars 67 forks source link

Rewrite in C #339

Open mrvladus opened 2 hours ago

mrvladus commented 2 hours ago

I've decided to rewrite Errands in C. Why? Performance. While writing python code I found myself optimizing things that shouldn't be optimized due to python's pretty slow nature. It's a good language for small or not complicated GTK apps, but for Errands it became a bottleneck. Especially when implementing search functionality. Memory usage and micro-freezes with large amounts of tasks played a big role too. C is much simpler language that has unmatched performance. All of the libraries is written in it. So it's going to be much better choice for this project.

All progress will be on rewrite-in-c branch.

Feel free to ask questions.

With my initial version in C it's showing very promising results:

Here is progress list (probably will be bigger):

Progress reports and benchmarks will be here too.

mrvladus commented 2 hours ago

New add list dialog using AdwAlertDialog: Снимок экрана от 2024-09-25 11-02-31

And new priority selection dialog that will replace popover: Снимок экрана от 2024-09-25 11-02-59