Skip to content

Instantly share code, notes, and snippets.

@thysultan
Created June 30, 2017 08:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thysultan/aa7fd06bc415040650ddec87dd3134b1 to your computer and use it in GitHub Desktop.
Save thysultan/aa7fd06bc415040650ddec87dd3134b1 to your computer and use it in GitHub Desktop.
WIP

A Journey Into Building a Fast Text Editor With JS & Canvas!

Text editors have a way of looking simple but managing and painting text is no small task, this talk will give us a look into what bits(literaly) and pieces go into making a fast text editor with Javascript & Canvas. We'll look into what format the text you type is stored in, how it's mutated and highlighted, and how all of this is translated onto a canvas in less than the time it takes you to blink. As a by product we'll get to see how a regular expression engine is implementated and why games use draw distance to save precious hardware resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment