Bold Devlog - October Summary
bold-edit.com·10h·
Discuss: r/programming
Flag this post

Bold is a fast text editor. A public beta is coming soon.

Half of this month was spent on threads. I mentioned in the past that files aren’t fully non-blocking. The beginning of the month was spent on writing code for the IO thread. The threading code only ran in test, so the second week was getting it into the IDE. Lessons learned from the event system allowed me to implement this in a way that isn’t annoying. This might sound complicated, but the most complicated code is opening a file, and it’s actually pretty simple despite sounding difficult. The code is in 4 functions in about 30 lines of code, next to each other. It works like this

  1. Main thread wants to open a file (after checking it’s not already opened), sends a message to the background thread
  2. Background threa…

Similar Posts

Loading similar posts...