pawnbox has quit [Remote host closed the connection]
<HollyRain>
BlaXpirit, I was reading before, but I only found section "Language Goals"
<HollyRain>
different to features
<HollyRain>
anyway the documentation is great
<HollyRain>
how is it compared versus nim?
<BlaXpirit>
it's not full of stupid design decisions
<BlaXpirit>
it actually has namespaces :O
<BlaXpirit>
regarding design decisions, crystal actually has a lot of thought put into its design and everything just feels right
<BlaXpirit>
Nim's standard library is completely chaotic and shortsighted
pawnbox has joined #crystal-lang
<HollyRain>
then the great advantage of nim is to create libraries which can be used from other languages (C binding)
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<BlaXpirit>
HollyRain, the situation with that is not much better in Nim. garbage collection ruins everything just the same way
pawnbox has joined #crystal-lang
<HollyRain>
I though that I could use Nim or Crystal to create a library to be able to be binded from different languages but it looks that I was wrong
<BlaXpirit>
HollyRain, you can but it's problematic, mainly because everything relies on garbage collection
<HollyRain>
thanks!
<HollyRain>
does crystal is single-threaded?
<BlaXpirit>
HollyRain, at the moment yes. concurrency is still possible within one thread. there are plans to run in a thread pool. overall, the model is similar to Go programming language.
akwiatkowski has quit [Ping timeout: 244 seconds]
jamie-discord1 has quit [Read error: Connection reset by peer]
jamie_ca has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
Philpax has joined #crystal-lang
akwiatkowski has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
Philpax has quit [Ping timeout: 250 seconds]
DeBot has quit [Ping timeout: 260 seconds]
jhass has quit [Ping timeout: 255 seconds]
asterite has quit [Ping timeout: 265 seconds]
asterite has joined #crystal-lang
jhass has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
mark_66 has quit [Quit: Leaving.]
mkl0501 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<Yxhuvud>
Hmm, doen't Thread.new create an actual thread? I thought that the part that didn't work well yet was the interaction between threads and channels?
<BlaXpirit>
Yxhuvud, sure it creates a thread
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<FromGitter>
<cjgajard> Val, the problem in your code is float precision loss in JSON load/dump ...
<Val>
FromGitter: ok for the JSON serialization problem, I spotted this cause too. But is it a way to handle float JSON serialization/deserialization correctly ?