Live data from Hacker News

Show HN: DragonRuby Game Toolkit

dragonruby.org

121–130 of 146 posts

Re: Show HN: DragonRuby Game Toolkit

#121
post #75

Earlier quoted context omitted.

What is wrong Ruby? Which language would be "cool" choice?

In my opinion Python provides a better syntax in almost all areas. Ruby has been a language in decline for quite some time.

Pygame recently hit 2.0, incorporating libsdl-2.0.0 after a long wait. Have you tried that?

I think you're a bit off in describing Ruby as a language in decline. Rails startups are being built every single day, Hotwire is threatening yet another Rails renaissance as Ruby moves towards reactive web app technology, mruby is pushing forward into smaller areas, and TruffleRuby is moving forward into exceptionally performant Ruby code.

This is all on top of 3.0, which brings all manner of improvements, most notably type annotations.

I love Python as much as anybody, but I think they are equally respectable and equally popular in their own niches.

Syntax is only a preference, there is much more to Ruby as a language than just the syntactic departures from Python code. It's a different model and encourages a different style of problem solving.

Re: Show HN: DragonRuby Game Toolkit

#122

Earlier quoted context omitted.

I still can't believe how productive Rails is either. One can literally recreate the most popular CRUD apps in a weekend I've been learning React and played around with a Rails API backend and separate React front-end and I forget just how much work Rails takes out

I've had good results with the react-rails gem, basically letting me plop bits of react into a rails view. It's not like, the best the in the world from a pure design standpoint? But it does a really, really good job of not having react step on the toes of all the super nice things that Rails will do for you.

Yeah that sounds like the best of both worlds, I'll give it a try

Re: Show HN: DragonRuby Game Toolkit

#123

If I understand correctly (from a quick browse of the docs) this is Ruby _without_ anything remotely like Rails. That makes it interesting. I did a Rails job once. I kept thinking that I liked the language as a kind of modern OO language in the spirit of Python (and also Lua a bit) but I really disliked the ecosystem around Rails. For instance, the project I worked on had to maintain two separate versions of Ruby bec…

As somebody who loved Ruby, THEN got into Rails, and now really hates Rails, I've made an intentional effort to not to have a meaningful opinion about Ruby itself until I have a good year between me and any rails work. Rails just infects ruby with so many terrible ideas. I suspect going back to pure ruby I won't feel the same way, as I've now reached a point where I see the whole "everything is an object!" design is a huge fail, but that aside I could see rediscovering the fun in the expressiveness of straight ruby code.

But yes, it really is a shame that Rails seems more parasitic on Ruby than not and hasn't lead to a larger general purpose Ruby community.

Re: Show HN: DragonRuby Game Toolkit

#124

Earlier quoted context omitted.

A friend of mine sat me down and showed me how to work with rails. We ended up programming the entire weekend and worked our way through a few cases of beer in the same time. Working in rails was incredible and the productivity was unlike anything I have ever seen.

I still can't believe how productive Rails is either. One can literally recreate the most popular CRUD apps in a weekend I've been learning React and played around with a Rails API backend and separate React front-end and I forget just how much work Rails takes out

I think nowadays there are a lot of people that only built SPAs and never have used a framework such as Rails or Django, and that's a pity. They are missing a perfectly valid and productive way of shipping quality software.

Re: Show HN: DragonRuby Game Toolkit

#125

Earlier quoted context omitted.

> Are there enough Ruby devs to sustain this? So far so good. We’ve been in business for nearly a decade now (with the game engine going onto year 3). > Unity, Unreal, React Native game engine, or one of the other (thousand) game engines out there? Well our ability to deploy to console eliminates most engines as competitors/options. Unreal is a fantastic engine for 3D games. Unity is... well... not that great to be h…

Unity deploys to console. You just need to be licensed to build to different console platforms. And saying Unity is not that great is an ignorant statement. What about it isn’t great? And how is DragonRuby better?

This does a good job of summarizing what's wrong: https://news.ycombinator.com/item?id=23271973

Re: Show HN: DragonRuby Game Toolkit

#127
post #53

Earlier quoted context omitted.

Nope. Not a joke. We’re faster too: https://youtu.be/UuY7CWdvyWM

Ehh, I could put together a thing that could display several million dots at 60 fps in unity in a few minutes. (a recent example of some dots I moved) https://twitter.com/LeapJosh/status/1378056437105049603 Not saying DragonRuby isn't the bees knees, I've never used it but appreciate alternatives existing. Despite that, sprites are the wrong facility for drawing that many dots in unity.

Can you associate a PhysicsBody2D with each one of these?

Re: Show HN: DragonRuby Game Toolkit

#129
post #75

Earlier quoted context omitted.

What is wrong Ruby? Which language would be "cool" choice?

In my opinion Python provides a better syntax in almost all areas. Ruby has been a language in decline for quite some time.

> Python provides a better syntax in almost all areas

Examples?

Re: Show HN: DragonRuby Game Toolkit

#130

Very impressive!!! One question. Is DragonRuby, in essence, a mRuby compiler? Or is it an implementation of an mRuby interpretor that calls on a low-level API for fast game functionality?

The FAQ covers this in detail under the "What is DragonRuby?": http://docs.dragonruby.org/#--frequently-asked-questions,-co...
Post reply on HN