The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Syndey, the New People's Choice Ruby

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Syndey, the New People's Choice Ruby Posted: Jul 12, 2005 1:20 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Syndey, the New People's Choice Ruby
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Evan Webb has done this neat thing where he’s branched Ruby 1.8 to add a pile of features that have been tinkling in our ears for years. Look at this list and tell me you haven’t personally tugged on Matz’ apron for this stuff.

  1. Native OS Threads (Thread::OS). These do not replace the normal Threads, and allow for MxN thread setups (see test/sydney/test_osthread.rb#test_mxn).
  2. Backtrace and Frame objects. Exceptions now provide a programmatic way of inspecting the backtrace and relevant frames.
  3. Global Error Handler. A closure which can handle any errors which reach the top (think better IDE integration). [Ed. Note: I was just wishing for this today.]
  4. Native Binding.of_caller
  5. Frame metadata Allows you to attach any data to a frame object which can then be retrieved a number of ways (Kernel.caller, Exception#backtrace, etc)
  6. More event hooks.
    1. GC.on_gc. Run when the garbage collection is about to run. (test_gc.rb)
    2. Ruby::State#on_switch. Run when a new Thread is about to be switched to (test_state.rb)
  7. Fulfillment of RCR 279, user defined % expansion.(test_precexpansion.rb)

Stupendous work. What a great way to try these features out to get an idea of how these changes affect the performance of the interpreter.

I’m compiling on FreeBSD and ./configure --enable-pthread was the right course. Bleeding edge, dangerous stuff, and all that . The release announcement is on Evan’s blog. First development release available as a tarball.

Read: Syndey, the New People's Choice Ruby

Topic: Nitro HQ Previous Topic   Next Topic Topic: Next Action

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use