sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Ruby 1.9 is fast!

    scheduled pinned locked moved Developers' Forum
    12 Posts 6 Posters 639 Views 6 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • pilouP Offline
      pilou
      last edited by

      Does this has an impact on the SKP rubies?

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      one-reply-to-this-post last-reply-time reply quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        @unknownuser said:

        Does this has an impact on the SKP rubies?

        Only if we can figure out how to make Sketchup load the 1.9.x Interpreter DLL.

        On Windows, When I try it, I get a "Entry Point Not Found" error.

        Has anyone been sucessful in getting SU to use 1.9.x on the Mac ??

        I'm not here much anymore.

        one-reply-to-this-post last-reply-time reply quote 0
        • J Offline
          Jim
          last edited by

          Could you wrote a wrapper that somehow tricked SketchUp into thinking it's using 1.8?

          Hi

          one-reply-to-this-post last-reply-time reply quote 0
          • thomthomT Offline
            thomthom
            last edited by

            Got some numbers Jim?

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            one-reply-to-this-post last-reply-time reply quote 0
            • J Offline
              Jim
              last edited by

              No, I removed the old version even before installing 1.9.

              Hi

              one-reply-to-this-post last-reply-time reply quote 0
              • thomthomT Offline
                thomthom
                last edited by

                Ok - after some Googling:

                http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/
                http://www.thebuzzmedia.com/ruby-19-quick-speed-test/

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                one-reply-to-this-post last-reply-time reply quote 0
                • Dan RathbunD Offline
                  Dan Rathbun
                  last edited by

                  @thomthom said:

                  Got some numbers Jim?

                  FYI: (From one of ThomThom's links)

                  @unknownuser said:

                  (http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/)":1zpya81u]Ruby 1.9 confirms itself as a fast implementation, about three times the speed of 1.8.6 ...

                  ADD: (From the other link by ThomThom)

                  @unknownuser said:

                  (http://www.thebuzzmedia.com/ruby-19-quick-speed-test/)":1zpya81u]Now, it is no news that 1.9 is faster than 1.8, but an 8x improvement on this simple recursive script? I was astonished! This is better than using XRuby to speedup Ruby performance!

                  I'm not here much anymore.

                  one-reply-to-this-post last-reply-time reply quote 0
                  • Dan RathbunD Offline
                    Dan Rathbun
                    last edited by

                    @jim said:

                    Could you wrote a wrapper that somehow tricked SketchUp into thinking it's using 1.8?

                    Well.. in a way I did. The simpliest of all wrappers... I renamed a copy of the DLL file:
                    from msvcrt-ruby191.DLL
                    to msvcrt-ruby18.DLL (and copied it to the SU program folder.)

                    But I'm wondering if I got a 1.9.1 release that was compilied with mingwin.
                    It's about time for me to try it again, with a newER release.

                    I'm not here much anymore.

                    one-reply-to-this-post last-reply-time reply quote 0
                    • J Offline
                      Jim
                      last edited by

                      Here's a slideshow of things to know about Ruby 1.9.

                      And the slideshow itself was created from simple textile markdown files using the slideshow gem. Kind of a nice idea and nice looking presentations, I think.

                      Hi

                      one-reply-to-this-post last-reply-time reply quote 0
                      • M Offline
                        MartinRinehart
                        last edited by

                        Why do you suppose no one has written a compiler?

                        20 years ago a top-of-the-line PC was a 25MHz 80386. Interpreters made sense. Today, compile, link and run in a good IDE is done with the press of an F key and doesn't take a full second. Am I missing some good reason to stay interpreted?

                        Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                        one-reply-to-this-post last-reply-time reply quote 0
                        • AdamBA Offline
                          AdamB
                          last edited by

                          Yes. Late binding allows lots of flexibility.

                          Developer of LightUp Click for website

                          one-reply-to-this-post last-reply-time reply quote 0
                          • 1 / 1
                          • first-post
                            last-post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement