waj has joined #crystal-lang
waj has joined #crystal-lang
waj has joined #crystal-lang
waj has joined #crystal-lang
asterite has joined #crystal-lang
asterite has left #crystal-lang [#crystal-lang]
asterite has joined #crystal-lang
asterite has joined #crystal-lang
asterite has joined #crystal-lang
alex-guenther has joined #crystal-lang
<alex-guenther> Hi, I recently tryed crystal and I really like it
<waj> :) thanks and welcome!!!
<alex-guenther> It took some time to figure out that I need to install libunwind (on archlinux) or libunwind8 (on ubuntu) is it possible to get this in to the docs?
<asterite> Maybe you can add it to this wiki page: https://github.com/manastech/crystal/wiki/Introduction
<asterite> until we have a nicer webpage with installation instructions
<alex-guenther> I would love to help :)
<asterite> Thanks! :)
<asterite> Hmm… but it's not editable by everyone
<asterite> Let me change that
<alex-guenther> I'm not really sure how to do that. I need to fork, make the changes and submit a pull request? Is that right?
<asterite> I think you can go to that page and click on the "Edit Page" button
<asterite> but you need to be logged in with your github user
<alex-guenther> I just see a new page button
<asterite> Right… hmmm… I can't find where to change that :-P
<asterite> Wait a sec
<asterite> Can you refresh that page and try again?
<alex-guenther> yes I see the button :)
<alex-guenther> I added some details hope it's clear... sometimes I write with a russian accent ;)
<asterite> @alex-guenther thanks!
<alex-guenther> I've see in the wiki this examples of how to create bindings to C libs, and tis one with sqlite3, and I would like to use sqlite3 so I looked up the docs. To execute a query I need to pass in a function pointer. So what hapens then with the execution flow? would I wait for the callback? Is it happening in the same thread? How is the model there?
<asterite> You don't wait for the callback, sqlite3 will call it for you in the same thread
<asterite> but function pointers for now are very limited, we are still designing them
asterite has joined #crystal-lang
asterite1 has joined #crystal-lang