Lets say I want to develop a small game from scratch. Which language would offer the most ease for compatibility across platforms?
If you have to ask this then you shouldn't be developing a game from scratch.
>>60885834
By scratch what do you mean?
OpenGL, Vulkan, DirectX?
Making your own Software Renderer?
I'd recommend C or C++ to make your own Software Renderer but if you're going to make it on Windows the Windows API is a BITCH!
If you're using OpenGL or something similar there's many different OpenGL bindings in different languages.
By "scratch" what do you mean?
If you mean OpenGL or something than there's plenty of languages that have OpenGL supported.
If you mean making your own Software Renderer then I'd say C or C++.
Beware though, you're better off using a graphics or game engine because making your own game from scratch is BEYOND difficult.
Scratch is a good platform to make games.