Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tirando Ruby por la Ventana™

Luis Lavena
November 26, 2011

Tirando Ruby por la Ventana™

Throwing Ruby through the Windows™

At Ruby community, mostly coming from Rails developers, there is a stigma around developers coming from Windows.

But, it is because the ignorance about the platform? it is because the platform sucks? or it because Ruby on Windows sucks?

Walk with me on this quest to find the root and perhaps start thinking on the future of Ruby.

Luis Lavena

November 26, 2011
Tweet

More Decks by Luis Lavena

Other Decks in Programming

Transcript

  1. “Do yourself a favor and stop knocking your head against

    the wall. Install Linux in VMWare or Virtualbox, load up Rails and RSpec/Cucumber, and compare. I think you'll have a much more enjoyable experience.”
  2. “I had done some looking around at operating system emulators,

    but I could not find anything suitable - I don't know what I'm doing, really”
  3. OSX

  4. file_expand_path Code Type : x86 Hit Count : 131284 Time

    : 5037,07 Time with Children : 5369,69 file_expand_path Code Type : x86 Hit Count : 24274 Time : 987,55 Time with Children : 1045,27 rb_str_set_len Code Type : x86 Hit Count : 1232281 Time : 112,47 Time with Children : 168,66 rb_enc_check Code Type : x86 Hit Count : 155558 Time : 13,01 Time with Children : 61,51 rb_str_resize Code Type : x86 Hit Count : 26653 Time : 5,96 Time with Children : 29,49 rb_enc_associate_index Code Type : x86 Hit Count : 131284 Time : 14,67 Time with Children : 20,45 rb_path_skip_prefix Code Type : x86 Hit Count : 131284 Time : 13,35 Time with Children : 18,63 rb_string_value_ptr Code Type : x86 Hit Count : 131284 Time : 10,32 Time with Children : 16,18 rb_isalpha Code Type : x86 Hit Count : 311120 Time : 13,32 Time with Children : 13,32 rb_enc_get_index Code Type : x86 Hit Count : 107006 Time : 4,35 Time with Children : 4,35 rb_w32_getenv Code Type : x86 Hit Count : 2 Time : 0,02 Time with Children : 0,02 ruby_getcwd Code Type : x86 Hit Count : 2 Time : 0,00 Time with Children : 0,01 rb_filesystem_encindex Code Type : x86 Hit Count : 4 Time : 0,00 Time with Children : 0,00 ruby_xfree Code Type : x86 Hit Count : 2 Time : 0,00 Time with Children : 0,00 rb_feature_p Code Type : x86 Hit Count : 82636 Time : 3334,75 Time with Children : 3521,00 rb_find_file_ext_safe Code Type : x86 Hit Count : 23842 Time : 696,71 Time with Children : 1808,94 file_expand_path Code Type : x86 Hit Count : 24274 Time : 987,55 Time with Children : 1045,27 rb_find_file_safe Code Type : x86 Hit Count : 367 Time : 10,25 Time with Children : 27,10 rb_file_s_expand_path Code Type : x86 Hit Count : 165 Time : 7,81 Time with Children : 12,65 file_expand_path Code Type : x86 Hit Count : 24274 Time : 987,55 Time with Children : 1045,27 rb_str_set_len Code Type : x86 Hit Count : 1232281 Time : 112,47 Time with Children : 168,66 rb_type Code Type : x86 Hit Count : 1004706 Time : 76,73 Time with Children : 76,73 rb_enc_check Code Type : x86 Hit Count : 155558 Time : 13,01 Time with Children : 61,51 rb_safe_level Code Type : x86 Hit Count : 1233305 Time : 56,23 Time with Children : 56,23 rb_enc_compatible Code Type : x86 Hit Count : 158369 Time : 27,69 Time with Children : 49,22 rb_str_resize Code Type : x86 Hit Count : 26653 Time : 5,96 Time with Children : 29,49 ruby_xrealloc2 Code Type : x86 Hit Count : 32626 Time : 22,35 Time with Children : 22,35 rb_enc_associate_index Code Type : x86 Hit Count : 131284 Time : 14,67 Time with Children : 20,45 rb_path_skip_prefix Code Type : x86 Hit Count : 131284 Time : 13,35 Time with Children : 18,63 rb_enc_get_index Code Type : x86 Hit Count : 392035 Time : 17,63 Time with Children : 17,63 rb_string_value_ptr Code Type : x86 Hit Count : 131284 Time : 10,32 Time with Children : 16,18 rb_isalpha Code Type : x86 Hit Count : 311120 Time : 13,32 Time with Children : 13,32 str_independent Code Type : x86 Hit Count : 44277 Time : 3,68 Time with Children : 5,62 rb_isalpha Code Type : x86 Hit Count : 132129 Time : 5,33 Time with Children : 5,33 rb_enc_get_index Code Type : x86 Hit Count : 107006 Time : 4,35 Time with Children : 4,35 ruby_xfree Code Type : x86 Hit Count : 1397 Time : 0,66 Time with Children : 0,66 rb_w32_getenv Code Type : x86 Hit Count : 2 Time : 0,02 Time with Children : 0,02 ruby_getcwd Code Type : x86 Hit Count : 2 Time : 0,00 Time with Children : 0,01 rb_w32_getcwd Code Type : x86 Hit Count : 4 Time : 0,01 Time with Children : 0,01 vm_xmalloc.clone.10 Code Type : x86 Hit Count : 4 Time : 0,01 Time with Children : 0,01 rb_filesystem_encindex Code Type : x86 Hit Count : 4 Time : 0,00 Time with Children : 0,00 st_lookup Code Type : x86 Hit Count : 4 Time : 0,00 Time with Children : 0,00 rb_enc_from_index Code Type : x86 Hit Count : 28 Time : 0,00 Time with Children : 0,00 rb_typeddata_is_kind_of Code Type : x86 Hit Count : 28 Time : 0,00 Time with Children : 0,00 ruby_xfree Code Type : x86 Hit Count : 2 Time : 0,00 Time with Children : 0,00 24274 1232281 155558 26653 131284 131284 131284 311120 107006 2 2 4 2 82636 23842 24274 367 165 24274 1232281 1004706 155558 1233305 158369 26653 32626 131284 131284 392035 131284 311120 44277 132129 107006 1397 2 2 4 4 4 4 28 28 2
  5. file_expand_path • 316 LOC • 15 comentarios • 13 #if*

    • POSIX + Windows + Cygwin • 1 goto • …
  6. WTF