Bold Devlog - October Summary
bold-edit.com·13w·
Discuss: r/programming

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help