These are chat archives for ChaiScript/ChaiScript

1st
Apr 2015
Jason Turner
@lefticus
Apr 01 2015 15:54
9q10ww01es7qhsz1
@9q10ww01es7qhsz1
Apr 01 2015 17:45
@lefticus thanks. You should probably publish this as sublime text package.
Jason Turner
@lefticus
Apr 01 2015 17:47
@pathetic I tried looking, but couldn't see where/how to do that
is there an official repository to fork somewhere?
Jason Turner
@lefticus
Apr 01 2015 18:02
@arBmind The performance regression on Windows is due to thread safety support. If you build with -DCHAICRIPT_NO_THREADS you should see a 3-5x performance increase. I know why this issue exists on MSVC (no support for C++11's thread local yet) but I don't know why mingw has such bad performance. With thread safety disabled you cannot have more than one thread accessing the same ChaiScript object. But you can still have as many ChaiScript objects as you'd like.
I actually didn't even realize mingw supported C++11 thread at all yet, it did not last time I checked it
Jason Turner
@lefticus
Apr 01 2015 19:31
@arBmind It does not appear the QtScript Engine is thread safe, so this should not be an architecture change for you.