Hi everyone..

Have you ever head of Ruby programming language?

Waiting your comments and help

Dani AI

Generated

— a brief, practical primer that builds on the replies from , and and brings the discussion up to date.

Ruby was designed for readable, expressive code and is widely used for web apps, scripting, and quick prototypes. Key language strengths that matter in practice are blocks/closures, mixins via modules, powerful metaprogramming, and a large “gem” ecosystem for libraries. In recent years the language has focused on performance and maintainability (JIT work, RBS for optional type signatures, and improvements around concurrency).

There are multiple runtime choices to consider. The reference implementation (CRuby/MRI) is the default on most systems; it uses a global VM lock (GVL), so CPU-bound Ruby threads do not run in parallel — for parallel CPU-bound tasks, JRuby (JVM) or multi-process approaches are common. Other implementations (TruffleRuby, Rubinius) exist and can be chosen for specific needs. For development, use a version manager (rbenv or RVM), manage dependencies with Bundler and per-project Gemfiles, and be ready to install OS build tools when gems include native C extensions.

Small, idiomatic example to show Ruby style:

numbers = [1, 2, 3]
squared = numbers.map { |n| n * n }
puts "Squares: #{squared.join(', ')}"

Practical next steps missing from the thread: try an interactive REPL (irb or pry), follow a short tutorial, and pick a tiny project (CLI script, scraper, or simple web app) to learn gem packaging and testing (RSpec). Common pitfalls: gem-install failures due to missing dev headers, and assuming threaded CPU parallelism on CRuby (remember the GVL).

Recommended Answers

All 3 Replies

I've heard of Ruby. It's an object-oriented language, and there's a GNU compiler/interpreter (don't know which) for it. That's all I know about it.

A somewhat odd introduction to ruby... (an interpreted language, with features comparable to python, or so I've heard).
http://poignantguide.net/ruby/

I'm not aware of any GNU compiler or interpreter for Ruby. You can get the Ruby interpreter at <http://www.ruby-lang.org/>. You may redistribute the interpreter under the GNU General Public License.

Ruby is a well-designed language. If you ask me, the Ruby language is better than Python's.

Also, there is no need to post this in multiple forums. This thread will hopefully be merged with the one in the Legacy and Other Languages forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.