(GlobalCpp) Building the tiniest Pomodoro timer
Details
Description
The Pomodoro Technique is a time-management method that breaks work into 25-minute intervals (called "pomodoros") separated by 5-minute breaks. After four cycles, you take a longer 15 to 30-minute break.
With better tools, more available resources, and shared, reusable libraries, bringing your vision to life has never been easier. While not needing to understand all of the details of the system in order to build something has its benefits, it also comes with some downsides. Namely, the price of performance degradation and binary size increase that you need to pay. This was somewhat compensated by the improvements and availability of hardware. But it was never sustainable, and that is especially the case nowadays when the AI industry is consuming most of the hardware production, leaving regular users with very little.
And so optimization is back on the menu, boys.
Here I will talk about how a simple Pomodoro timer can take way more memory than necessary and how a simple, and somewhat visually ugly, C++ implementation can save quite some space. There will be some FLTK, X11, and plain std no-GUI implementations, specific compiler and linker flags, and their impact on the binary size.
After throwing shade at the AI industry, it would be hypocritical not to mention I used AI while preparing this talk.
About the Presenter
Miloš got acquainted with C++ back in his high school days, and ever since using two for loops to print a pyramid of stars, he knew he wanted to be a software engineer. During his studies, he got introduced to a range of other programming languages, but he found C++ to be the most enjoyable to work with (yeah, he knows). His professional career started as a teaching assistant, which he found quite fulfilling and hopes to return to one day. Since then, he has been working on software in various industries, including gaming. Additionally, he is a member of the Serbian C++ User Group and serves as the organizer of CPP Prague, a user group for programming enthusiasts in Prague. Cureently working as a Rust developer.

