AJAleksandar Janicijevicinajanicij.hashnode.dev·Dec 21, 2025 · 5 min readModifying a C++ vector while iterating though itIt is interesting seeing how polarizing C++ is these days. There are people who love it, who are mostly C++ programmers with years of experience, but not exclusively: this group also includes some new C++ programmers who fell in love with it. On the ...00
AJAleksandar Janicijevicinajanicij.hashnode.dev·Nov 8, 2023 · 6 min readImplementing watch in RustIn the previous episode, we used Command to run a command in a subprocess and capture its output. Before that, we explored how to use pancurses (here and here) to get full control of the terminal window. Now we are ready to write watch-rs, a minimal ...00
AJAleksandar Janicijevicinajanicij.hashnode.dev·Oct 31, 2023 · 2 min readRunning commands in a subprocessIn the previous two episodes (here and here), we discussed using the ncurses library via Rust crate pancurses. In this episode, we are going to run a shell command in a subprocess and capture its output. We will use Command, which is a structure in s...00
AJAleksandar Janicijevicinajanicij.hashnode.dev·Oct 28, 2023 · 2 min readProgramming curses in Rust, Part 2In the previous episode, we talked about ncurses and started exploring pancurses. Now we will introduce the rest of the functionality in pancurses that we need for mini watch: positioning the cursor reacting to a window resizing event detecting a ...00
AJAleksandar Janicijevicinajanicij.hashnode.dev·Oct 24, 2023 · 2 min readProgramming curses in RustIn the previous episode, we developed a minimal ls command implemented in Rust. In this episode, we are starting to work on a Rust implementation of the Linux command watch: NAME watch - execute a program periodically, showing output fullscree...00