News for hackers. Stuff that matters.
Re:Bevy game development tutorials and in-depth resources by IshKebab on Saturday April 11, 2026 @05:43AM (#47729091)
Really? What do you think comes from Ruby? Rust mostly seems to be inspired by ML and C++.

Actually I just checked the "official" list and they only list the closure syntax which seems pretty minor:

https://doc.rust-lang.org/reference/influences.html

Re:Bevy game development tutorials and in-depth resources by leafario2 on Saturday April 11, 2026 @06:28AM (#47729309)
Expression orientation
Re:Bevy game development tutorials and in-depth resources by IshKebab on Saturday April 11, 2026 @07:18AM (#47729596)
That's from functional programming.
Re:Bevy game development tutorials and in-depth resources by saghm on Saturday April 11, 2026 @02:23PM (#47732818)
I don't think anyone claimed that Ruby and Rust were the only two languages with those features, just that they're something they both have in common.
Re:Bevy game development tutorials and in-depth resources by IshKebab on Saturday April 11, 2026 @02:40PM (#47732947)
The claim is that Rust took espression-orientation from Ruby. That's unlikely - it is much more inspired by FP languages which are also expression oriented.
Re:Bevy game development tutorials and in-depth resources by saghm on Sunday April 12, 2026 @06:16PM (#47745142)
Ah, you're right, I definitely misread that the first time. I think the only thing that Rust probably was directly inspired by Ruby on was the syntax for closures (which is not exactly the same, but when the closure uses a block rather than returning an expression directly it's similar, and I vaguely recall seeing something about that being intentional).
Re:Bevy game development tutorials and in-depth resources by jaggederest on Saturday April 11, 2026 @12:15PM (#47731780)
Iterator style, chaining, traits, blocks all feel very rubyesque, and expression syntax as well, plus the cargo toolchain is very bundler-informed.
Re:Bevy game development tutorials and in-depth resources by littlestymaar on Saturday April 11, 2026 @04:04PM (#47733532)
A significant portion of the prominent community members come from Ruby so I guess there must be something …