3 ms·
That's really cool looking, thanks for sharing. I wonder, what do the previous 5-10 skill-building coding projects look like as one ramps up to writing a windo
by themodelplumber 4y ago
That's really cool looking, thanks for sharing.
I wonder, what do the previous 5-10 skill-building coding projects look like as one ramps up to writing a window manager?
- jlervin 4y agothis is my project, so I can speak to this :) I wrote this as a sophomore in college after finishing the intro computer science sequence (which goes into basic data structures/algs topics like binary trees, recursion, etc). This was my first real project outside of school, and to be honest didn't require a ton of pre-requisite knowledge. Mainly it just required a familiarity with event-based architecture and linked lists (all the window stacking is represented as linked lists). The difficult part with writing a window manager, imo, is getting familiar with the necessary specs and APIs. This is built using XLib, which relies on the X11 protocol. I also had to learn about ICCCM and EWMH, since many program rely on them as well. It was good practice learning and implementing specs. I also added features throughout college as I took more classes. The smart window placement feature, for example, is implemented using a dynamic programming algorithm I thought up after taking a formal algorithms class. You can read about it on my blog if you're curious: https://www.josherv.in/2019/06/27/dp/ https://www.josherv.in/2019/06/27/dp/.
- heavyset_go 4y agoAdd an RSS feed to your blog :)
- themodelplumber 4y agoThat's really cool to read, thanks for sharing your experiences.
- hedora 4y agoFor me: 1. Learn C. 2. Read the source code to evilwm.