BECAUSE YOU CAN ALWAYS CALL C CODE TO DO IT RIGHT. AM I RITE?
I AM
Name:
Anonymous2006-05-15 12:55
You are right, so am I.
Name:
Anonymous2006-05-15 12:56
Oh yeah, and you can still do everything in Ruby, just rewrite the C code!
Name:
Anonymous2006-05-15 16:19
pfft. You can do anything with Active Server Pages also ! Just write a COM component in C++ and call it from the ASP page !!!
Name:
Anonymous2006-05-15 16:23
Ruby got me laid.
True story
Name:
Anonymous2006-05-15 19:08
>>1
Yes you're right, I've cleaned a lot of C libraries where I work, wrote a few interfaces and changed some programs from C to Ruby. Writing 20 lines instead of 200 is a REAL benefit. Of course if you're still in high-school, you can't understand what's happening in the real world.
Name:
Anonymous2006-05-15 20:17
You can do everything with ruby as long as ruby is a good match for your problem.
Not problems which need to be done a million times a second.
Name:
Anonymous2006-05-15 23:24
TRY WRITING HARD DRIVE FIRMWARE CODE IN RUBY
TRY WRITING BIOS CODE IN RUBY
TRY WRITING KERNEL SCHEDULER CODE IN RUBY
TRY WRITING MEDICAL DEVICE SYSTEM SOFTWARE IN RUBY
TRY WRITING NUCLEAR WEAPONS SYSTEMS MONITIORING PROGRAMS IN RUBY
RUBY FAILS
>>10
OK, done. I embedded a Ruby interpreter and a small distribution of Linux in the BIOS. No problem, eh?
Name:
Anonymous2006-05-16 9:46
Here's a better one try writing a 3D game in Ruby, once you hit 100+ objects you find you need to do iteration in C. Slowly more and more needs to be in C til you are left ruby for the AI. Then you start noticing you can only handle 10 relatively smart baddies because the ruby ai is slowing everything down.
>>13, are you saying that it is impossible to use Ruby for a 3D game?
Name:
Anonymous2006-05-16 11:06
>>15 try reading what >>13 actually said. He didnt say it's impossible, he just your resulting game will be shit.
Name:
Anonymous2006-05-16 12:08
>>16
He said he would use C for it, I guess that would turn it into shit. Some of us here have access to alien computers that can process every computation that has ever been computed in the human history in the blink of an eye (actually shorter).
Name:
Anonymous2006-05-16 16:33
According to this board, every language sucks.
How about more objectivity re: programming languages because not every language is adept for any given situation.
>>26
More like 5 times less code. Think about all the data structure support code.
Also, VROOM VROOOOM!
Name:
Anonymous2006-05-18 5:34
>>27 When that's applied to large calculations, OSs, games, etc, having something running 5 times slower is a serious concern. The study of algorithm complexity and time consumption is an important part of modern computer science, and for good reasons.
Name:
Anonymous2006-05-18 7:03
>>30
You're stupid. Algorithms are language independent; an O(n) calculation in C will be O(n) in Ruby. Yes Ruby is slower but don't make up shit about complexity if you don't know what you're talking about.
>>31 Of course they have the same complexity, but something's significantly slower (5x slower, for example), on the larger scale it will have consequences on the enduser. >>30 was not arguing they had different complexity, it's obvious that if someone says something takes 5 times as long, the complexity for both methods are the same.
Name:
Anonymous2006-05-19 3:45
>>33
Depends. You won't make a 3D game or a RDBMS in a scripting language, but who cares if a GUI application, a DB application, a system script, etc. run slower when you can't notice/don't need it faster? Even if you have to buy more powerful servers for web applications, server costs are way below development costs.
Name:
Anonymous2006-05-19 5:39
>>34 I agree, I wasn't trying to say that having things run a tiny bit faster is always the top priority, but just that we can't say "Hurr my computer does millions and millions of operations a second so it doesn't matter how long programs take to run" to everything.
Name:
Anonymous2006-05-19 6:14
but who cares if a GUI application
I take you haven't used FreeRIDE. :/
I like Ruby a lot, but face it: Ruby makes a sloth look fast. Speed is one of my three biggest issues with the language, and although YARV is yielding real benefits in most areas, Ruby looks like it'll remain a slow language for the foreseeable future.
It'd be nice if I didn't need to consider execution time when choosing which language to use.
Name:
Anonymous2006-06-28 3:47
Ruby 1.9/2.0 will feature YARV and a significant speed increase.
But if you're writing a 3D game, please please don't use ruby.