r/programming • • Feb 24 '13

Ruby 2.0.0

http://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
600 Upvotes

193 comments sorted by

View all comments

Show parent comments

0

u/hak8or Feb 24 '13

I am already familiar with C, assembly, Python, and I dabble in HTML, Javascript, a TINY in PHP, and some CSS if that can be called a programming language. By native programs, you mean that Ruby can compile to the X86 architecture and both for the Windows and Linux os's?

Though, I think I am starting to ask questions which can be found by a simple google, apologies.

I am going to look into transferring my site hak8or.com to Ruby. Always eager to try out new things!

2

u/jyper Feb 24 '13

any language can theoretically compile to x86, I don't think any ruby does directly although you can use jruby to compile to java bytecode which can be compiled to x86 or other machine code by the java vm you are using.

That said it's easier to make desktop gui/cmdline aplications in ruby then in php. Ruby is a lot like python except that it's a bit more object oriented a bit more fast changing(for good and bad as library interfaces can be more unstable) and that since python is so similar and is already used in many categories where ruby could have been used(os scripting, app scripting, gui desktop applications, ect.) most of the time ruby is used to make website(usually using the rails framework).

-2

u/clavicle Feb 24 '13

You don't compile to "x86". That's an architecture.

5

u/[deleted] Feb 24 '13

x86 is a microcode VM instruction language, unless you're referring to 20-year-old chips.