Boffin is UK slang, so I'll defer to someone with a better BrE understanding, but to my knowledge it is a reference to an expert in a particular subject, but usually with a somewhat negative connotation implying that this is all they are concerned with. S. we might call such a person a "wonk" when they are obsessed with studying and analyzing a particular subject and its every nuance.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.