2 Comments

  1. Hi, thanks for this post – I’m just getting into Scid and it’s comforting that it doesn’t seem to be too difficult to integrate with LaTeX.

    Question: do you have an example LaTeX file I could use as a basis for generating my own annotated games with Scid? I’m less interested in what the chess engines have to say and more interested in organizing my opening repertoire, as it has been 10 years since my last tournament!

    Thanks in advance for your help!

  2. I think the main reason that C++ and Java are bad at string processing in comparison to say Ruby, is that you have to constantly calculate the length of substrings in these languages. The Ruby standard library allows you to ask for say the first 10 chars of a string, and if there are only 5, it gives you those 5, and doesn’t blow up in your face like Java. It also helps that you can characters at the end of a string using negative indexes.

    You could definitely write a C++ library which would mimic Ruby string behaviour. It’s harder in Java, because of the lack of language extension mechanisms.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.