Code Profiling
-
@unknownuser said:
get started with that link, makefiles are peanuts compared with COM and finding problems in RubyInline
Thanks! I will definitely try this at some point.
So, other than having full Ruby installed and a development environment such as PellesC, is there anything that needs to be done for this to work?
I would still love to see an actual SketchUp related example where you pass values from Ruby to the C extension and then back again.
-
If you ever saw SimuTerra, that was an an app that was made into a C extension from Ruby. As far as I am aware, it suffered from none of the issues mentioned by Adam. It was blazingly fast to manipulate terrains with SimuTerra. (sp?)
-
Whaat: I created a simple extension that creates a class SUExt with method add which adds 1 to the input at http://bitbucket.org/tbd/suext/src/
there are no error checking and it is a minimal example that compiles with PellesC (free C compiler) and it can be used in SketchUp
have fun
-
@unknownuser said:
Whaat: I created a simple extension that creates a class SUExt with method add which adds 1 to the input at http://bitbucket.org/tbd/suext/src/
there are no error checking and it is a minimal example that compiles with PellesC (free C compiler) and it can be used in SketchUp
have fun
Thanks so much for taking the time to do this!
-
-
I thought you were a github man?
-
@unknownuser said:
I thought you were a github man?
I like more github as a repository site but I like even more Mercurial as DVCS and I was lazy to create a bridge to git using hg-git
-
I tried once to see it was possible to use the same folder for both systems. I just set each one to ignore the repos and configs of the other. It appeared to work; at least in my simple test folder.
I tried and hg-git also, although it took some extra installation and setup. It also seemed to work just fine, although I had more warnings than I cared for - made me nervous.
Advertisement