Steve Tuckner's presentation (RubyConf 2003 Presentations Posted)

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Re: Steve Tuckner's presentation (Re: RubyConf 2003 Presentations Posted)


    > -----Original Message-----
    > From: David Garamond [mailto:lists@zara.6.isreserved.com]
    > Sent: Friday, November 21, 2003 11:10 AM
    > To: [email]ruby-talk@ruby-lang.org[/email]
    > Subject: Steve Tuckner's presentation (Re: RubyConf 2003 Presentations
    > Posted)
    >
    >
    > Ryan Davis wrote:
    > > In absolute record time (5 days compared to 3 months),
    > rubyconf 2003
    > > presentation materials have been posted.
    > >
    > > They can be found at:
    > >
    > > [url]http://www.zenspider.com/Languages/Ruby/RubyConf2003.html[/url]
    > >
    > > I'm still waiting for some more, so check back periodically to see
    > updates.
    >
    > Thanks a lot, Ryan.
    >
    > I'm interested by Steve Tuckner's "Ruby World: (Not) Implemented"
    > presentation. Since I did not come to the conference, I can only view
    > the slides. Judging from the title of the presentation, did the Ruby
    > application project eventually fail and get unused?
    >
    > If true, that's sad...
    >
    The story behind Ruby World (Not) Implemented is that I had planned to work
    on it an awful lot before the conference (I acquired a new laptop about a
    month before the conference), but work priorities meant that I could spend
    no time on it (literally) at all. So what I had was a half-baked
    implementation that was not worth showing. I tried to back out of my talk,
    but David Alan Black sent me an e-mail encouraging me to hang in there. As
    luck has it however I was working on a Ruby project at work and so I made
    the trials and tribulations of that the subject of my talk.

    As far as RubyWorld goes, I did get a chance to work on it a fair amount at
    the conference and on the drive down and up (from Mpls to Austin), and made
    some good progress. It is not done enough to release to the world yet but I
    may be able to release something by the end of the year.
    > I'm also interested to know more about by his comment
    > "Threading sucks
    > up all processor time".
    A simple example is as below:

    require "vr/vruby"

    class TestForm < VRForm
    end

    # Processor sucking thread
    Thread.new do
    while true
    end
    end

    # Vruby code
    VRLocalScreen.showForm(TestForm)
    VRLocalScreen.messageloop

    while true
    puts "ruby"
    sleep 1
    end

    If either the messageloop is running or after the window is closed the main
    thread is running, the processor time goes up to >80%. This can have the
    tendency to make systems run very sluggishly. I don't have a solution for
    this yet, so any ideas would be helpful.

    Steve Tuckner

    Steve Tuckner Guest

  2. Similar Questions and Discussions

    1. RubyConf 2003 Presentations Posted
      In absolute record time (5 days compared to 3 months), rubyconf 2003 presentation materials have been posted. They can be found at: ...
    2. RubyConf presentations available?
      Hi, Are the RubyConf presentations (other than matz's) somewhere available, or will they be? Regards, Michael
    3. RubyConf 2003 registration reminder!
      Dear Rubyists, Just a reminder that registration for the 2003 International Ruby Conference is underway. Full registration will be open until...
    4. [REMINDER] RubyConf 2003: Call for Presentation Proposals
      REMINDER: The deadline for RubyConf proposal submissions is advancing quickly. In order to help us plan the event, please get your submissions in...
    5. [ANN] RubyConf 2003: Call for Presentation Proposals
      RUBY CONFERENCE 2003: Call for Presentation Proposals Proposals for full-length presentations (about 45-50 minutes) at the 2003 Ruby Conference...
  3. #2

    Default Re: Steve Tuckner's presentation (Re: RubyConf 2003 Presentations Posted)

    Steve Tuckner wrote:
    > # Processor sucking thread
    > Thread.new do
    > while true
    > end
    > end
    What were you trying to do in that thread? The "while true; end" part is
    a "busy loop" and is _supposed_ to suck CPU :)

    $ ruby -e 'while true; end' ; # suck CPU
    $ perl -e 'while (1) {}' ; # suck CPU
    $ python -c 'while 1: pass' ; # suck CPU

    If you want to give CPU time ("yield") in a thread, take a look at
    Thread.stop.

    --
    dave




    David Garamond Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139