<FromGitter>
<crisward> this works for the first request, then I get a 'DB Pool Exhausted (Exception)'
<FromGitter>
<sdogruyol> oh that's weird
<FromGitter>
<crisward> I'm glad you said that... new to Crystal/Ruby and thought I was just being an idiot... Looking through the Crystal/Mysql source to see if I can work out what it seems to be not creating multiple connections.
<FromGitter>
<sdogruyol> @crisward oh, it's okay well this should work
<FromGitter>
<sdogruyol> i think `DB` is guilty here
<FromGitter>
<wrq> hey boi. hey I had a quick question for you, but mostly speculative: given that crystal is still alpha, how stable do you think CrSFML is going to be, leading up until we get a 1.0?
<FromGitter>
<wrq> obv it's hard to tell, but is that the sort of thing in crystal that might get entirely reworked?
<BlaXpirit>
I would like to keep it compatible, at least for the most part, but there are 2 things
<BlaXpirit>
i only just now reworked it so there may be a need to make some kind of global change in case something turns out bad
<BlaXpirit>
though according to my testing everything is great
<BlaXpirit>
and the 2nd thing - crsfml does make some assumptions about crystal and the memory layout. if it decides to intentionally deviate from the same memory layout that C uses (or any consistent memory layout) I may get problems
<BlaXpirit>
if it (*Crystal*) decides
<BlaXpirit>
so far Crystal didn't break anything that forced me to change the API
<FromGitter>
<wrq> is there any pressing reason that crystal would change memory layout? seems like there's potentially a lot of surface area to a change like that, and could be a PITA to handle
<FromGitter>
<wrq> doesnt seem like a good idea, but im no expert
<BlaXpirit>
wrq, well it's not pressing but some kinds of optimization can cause an unpredictable memory layout of fields within an object
<BlaXpirit>
and currently nothing is set in stone about the memory layout of ordinary objects
<BlaXpirit>
then again, i could recover from it, sacrificing a bit of performance
<FromGitter>
<wrq> if some change like that were to happen, is it something that would brick a lot of projects to a point where they'd need to be rewritten? or just certain parts?
<BlaXpirit>
wrq, it shouldn't brick any projects, as far as i'm aware no other project does this craziness at low level
<FromGitter>
<wrq> yet
Oliphaunte has quit [Remote host closed the connection]
triangles has joined #crystal-lang
triangles has quit [Client Quit]
<BlaXpirit>
sigh, the one day when i post something on reddit, it goes down
Renich has joined #crystal-lang
<crystal-gh>
[crystal] masukomi opened pull request #3141: added spec tests to confirm heredocs work tabs + spaces (master...heredoc_mixed_tabs_and_spaces) https://git.io/v6RVz