On the flip side though, if you're planning on staying long-term you should get used to whatever racism does exist, even if benign, as there is no escaping it and it is pervasive. If you can't do that then it's probably best to start making plans to leave. Japanese culture is not headed in any sort of direction where it's going to change, and the population is so overwhelmingly ethnically Japanese that enclaves are pretty much a non-starter as well. Unlike (so I've heard) the US, no matter how long you live here, no matter how well you speak the language, you will not ever truly belong regardless of where you go, who you associate with, community you join, et cetera.
Oh, and the job market for software engineering here is rubbish ;-)
I'm not in software engineering ;)
People are naturally prejudiced and they are not guilty about thinking people are different based on things like race. I think it is all over Asia.
I think that a certain degree of delicacy when you make statements like that.
I know what you're trying to say, and I think its true, but I think one has to be careful with the word "racist" and how the audience interprets it.
In my opinion, and as a generalization, "racism" in Japan is less sinister than "racism" in the other parts of the world. Especially the US.
(Disclaimer: I am a foreigner living in Japan, but not for very long yet.)