Syntax Highlighting 5x Faster
29 Sep 2008

Things have been quiet on the Redcar project for some months now. But Redcar is not dead! I’ve been working on a large rewrite of its syntax highlighter. I must have spent more time on that highlighter than the rest of the project put together.

The highlighter is now called GtkMateView and is written 100% in Vala. This took some time because I had to (a) learn Vala, and (b) write Valar, a Ruby-Vala bridge that allows me to write Ruby extensions in Vala.

I’ve clocked it at 5.7 times faster than the old Ruby+C code, and there’s hopefully more to come.

blog comments powered by Disqus