sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    Ruby 1.9 is fast!

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 6 Posters 928 Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jim
      last edited by

      I just got around to installing Ruby 1.9 - why didn't you guys tell me it was sooo much faster than the 1.8 series on Windows? And not "noticably" faster, but shockingly faster.

      Hi

      1 Reply Last reply
      Reply Quote 0
      • pilouP
        pilou
        last edited by

        Does this has an impact on the SKP rubies?

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

        1 Reply Last reply
        Reply Quote 0
        • Dan RathbunD
          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.

          1 Reply Last reply
          Reply Quote 0
          • J
            Jim
            last edited by

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

            Hi

            1 Reply Last reply
            Reply Quote 0
            • thomthomT
              thomthom
              last edited by

              Got some numbers Jim?

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

              1 Reply Last reply
              Reply Quote 0
              • J
                Jim
                last edited by

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

                Hi

                1 Reply Last reply
                Reply Quote 0
                • thomthomT
                  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

                  1 Reply Last reply
                  Reply Quote 0
                  • Dan RathbunD
                    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.

                    1 Reply Last reply
                    Reply Quote 0
                    • Dan RathbunD
                      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.

                      1 Reply Last reply
                      Reply Quote 0
                      • J
                        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

                        1 Reply Last reply
                        Reply Quote 0
                        • M
                          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.

                          1 Reply Last reply
                          Reply Quote 0
                          • AdamBA
                            AdamB
                            last edited by

                            Yes. Late binding allows lots of flexibility.

                            Developer of LightUp Click for website

                            1 Reply Last reply
                            Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better πŸ’—

                            Register Login
                            • 1 / 1
                            • First post
                              Last post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement