When comparing Gosu vs Defold, the Slant community recommends Defold for most people. In the question“What are the best 2D game engines?” Defold is ranked 21st while Gosu is ranked 50th. The most important reason people chose Defold is:
Defold uses Lua, which is regarded as an easy to learn language by most.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Lightweight
Gosu is not a game development framework, only a media library that happens to be suited to game development. (Kind of like SDL in the C world.) That means the interface is relatively small.
Pro Mature API, actively maintained and developed
Gosu has been under development since 2001. It is mature and has several toolkits built on top of it to provide additional functionality.
Pro Cross-platform, even mobile, using Ruby
Pro Easy to learn
Defold uses Lua, which is regarded as an easy to learn language by most.
Pro Completely free of charge
Software and online dashboard are free of charge.
Pro Good combination of visual editing + code (Lua)
You can do a lot with drag and drop, but you're not limited -- the code (Lua, which is easy to learn) allows you more power than just visual editing usually gives you.
Pro Fast results
Going from idea to result is very important for the creative process.
Pro Visual editor
Pro Very performant
Being crossplatform it is important to work on low end devices.
Pro Easy and fast export for various platforms
Pro Great community
A very active and friendly community in forums.
Pro Source code available
You can download and modify the source code of the Editor and the engine for free.
Pro Collaborative
You can invite friends from the dashboard and create games together.
Pro Hot reload
It allows you to change scripts in a game while it is running live. Common use-cases is to tweak gameplay parameters or to perform debugging on a running game.
Cons
Con Deploying Ruby apps is a mess
Games built with the Ruby to .exe "compiler" do nothing more than extract your source code and Ruby.exe to %TEMP%, then run it. The code is not really compiled at all. The process for wrapping games as Mac apps is a bit nicer, but you'll need a paid Apple Developer subscription to code sign the app, or users will see a warning/error when running your game.
The only way to really compile Ruby is to use RubyMotion, which does not work on Windows and requires a paid subscription on top of the Apple Developer one.
(This Con is not specific to Gosu. Deploying Ruby code has never been fun.)