These are chat archives for ChaiScript/ChaiScript

22nd
Mar 2015
Andreas Reischuck
@arBmind
Mar 22 2015 00:00
Cannot find a hint about that... seems I need to call methods for conversions
I also struggle with the gcc 4.9.1... it complains that the size of the standard library is too high
Andreas Reischuck
@arBmind
Mar 22 2015 00:24
The official cmake does not contain an option to create a debug version (which leads to the compiler overload)
Jason Turner
@lefticus
Mar 22 2015 00:32
if you set the CMAKE_BUILD_TYPE to "Debug" it makes a debug build - I use the standard build types that cmake supports
and no, we don't have typed variables like that, you would have to call the conversion yourself
it's possible you could call the string() copy constructor and do something like:
var x = string(object.value); which should find the conversion operation you defined
whaoh, and back up, you said with tweaking you are 40x FASTER than your javascript? that's great
Andreas Reischuck
@arBmind
Mar 22 2015 00:34
It is... :)
Now I am motivated to sort out all the other issues
Did not know I should set "Debug"... building now
Jason Turner
@lefticus
Mar 22 2015 00:38
oh, and I'm not testing against 4.9.x yet, if you can log an issue for it, I'll add it to my automated builds as soon as I can
Andreas Reischuck
@arBmind
Mar 22 2015 00:39
The GCC that is bundle with Qt 5.4.1 on Windows
It's still compiling with -O3
Jason Turner
@lefticus
Mar 22 2015 00:41
oh
mingw cannot build with debug, there's issues with that in my testing
but that was in 4.8
you're welcome to play with it
Andreas Reischuck
@arBmind
Mar 22 2015 00:42
Ok, from my research it's not resolvable... It's an issue of MinGW
Good to know Linux builds are not affected
Andreas Reischuck
@arBmind
Mar 22 2015 00:51
The MinGW build is really slow
Andreas Reischuck
@arBmind
Mar 22 2015 15:04
I have done some testing with MinGW... It seems they do not like the header only approach... bootstrapping the ChaiScript::parser function alone adds 10k of sections...
Jason Turner
@lefticus
Mar 22 2015 18:37
Maybe I'll spend my next day of development trying to optimize compiler usage...