Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Improving Ruby's Synchronization Primitives and Core Libraries

By: a guest on Jul 18th, 2010  |  syntax: None  |  size: 1.33 KB  |  views: 213  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Improving Ruby's Synchronization Primitives and Core Libraries
  2.  
  3. This RubySoC project is divided in two parts. Both are intended to 1)
  4. give Ruby some more features and 2) make it faster, both be improving
  5. Ruby core code and writing C extensions when possible.
  6.  
  7. The first one is related to Synchronization Primitives, data
  8. structures that are very useful and necessary while programming
  9. multi-thread/processes systems. Ruby has some synchronization
  10. primitives implemented on its core, and others can be found in several
  11. different Ruby-only gems and libraries. Some of these primitives could
  12. have their Ruby code polished, and others could be sped up by a C
  13. extension. The objective of this part of this project is to improve,
  14. where possible, Ruby code of existing synchronization primitives
  15. implementations and to improve their efficiency by writing C
  16. extensions for the most important and useful ones.
  17.  
  18. The second part is related to Ruby core libraries. It's known that
  19. there are lots little improvements to be done on core libraries that
  20. could improve Ruby efficiency and code readability. Even more could be
  21. done to improve speed by writing more core code in C. There's a lot of
  22. work to be done here, and the objective of this second part is to
  23. improve as much as possible Ruby core by polishing Ruby code and
  24. improving more C extensions.