<crystal-gh>
crystal/master 4b24bb9 Ary Borenszweig: Reimplemented `Int#>>` and `Int#<<` to check overflows. Removed `>>` and `<<` as primitives. Fixes #305
<travis-ci>
manastech/crystal#4b24bb9 (master - Reimplemented `Int#>>` and `Int#<<` to check overflows. Removed `>>` and `<<` as primitives. Fixes #305): The build passed. https://travis-ci.org/manastech/crystal/builds/75578519
Ven has quit [Ping timeout: 250 seconds]
lokulin has joined #crystal-lang
lokulin has quit [Changing host]
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/v31t9
<crystal-gh>
crystal/master 8848140 Ary Borenszweig: Fixed some restrictions logic regarding generic classes metaclasses. Related to #1176
<lucasb>
Thank you, developers, for the 0.7.6 and the 32bit binary
<lucasb>
A small nitpick that I don't know is worth fixing is that the "removed support for trailing while/until" item in the changelog doesn't link to the FAQ entry.
sleeper is now known as sleeper_
lucasb has quit [Quit: leaving]
havenwood has joined #crystal-lang
<gour>
morning
<jhass>
hi
<gour>
btw, what is intended market for crystal?
<gour>
iow. how does it comapre with e.g. ada/modula-2/pascal or langs like nimr/rust/D..
<gour>
of ocaml/haskell from FP camp?
<jhass>
it's still pretty much a hobby project, I don't think there are such specific plans ;)
<gour>
in terms of speed, features, type-safety, concurrency...
<gour>
jhass: what are some language from which it took inspiration besides ruby?
<jhass>
its syntax is mainly based on Ruby
<jhass>
The concurrency model is pretty much Go
<gour>
what about "Statically type-checked but without having to specify the type of variables or method arguments.", it means one can annotate one's code and give hints to type-inference engine?
<jhass>
yes
<jhass>
in some cases you need to
<jhass>
because inference would be too slow otherwise or simply isn't smart enough (yet)
<gour>
good, waht is meant with "Have compile-time evaluation and generation of code, to avoid boilerplate code.", i mean the "to avoid..." part?
<gour>
btw, 68 contributors and ~3k stars looks good for hobby project ;)
<jhass>
well, the proper way to "solve" it is highly opinionated ;)
<jhass>
you have to explicitly trigger the NPEs so to say, nil is a regular value (and type) thus if something can be nil you need to explicitly resolve that to call a method that's not available on it
<gour>
jhass: well, i'm thinking about reducing possibility to reduce ways to shoot one's own foot...even Ada has some 'unsafe' options one can explore
<jhass>
the ways to resolve it are to check for nil and do something else for that case or raise an exception if you didn't expect nil
<jhass>
sure, crystal is completely self hosted, thus you naturally have some unsafe primitives
<jhass>
like pointers
<gour>
ok, clear
<jhass>
but you don't need them for 80-90% of your code, especially higher level code
<jhass>
those primitives only get relevant if you need to squeeze out the last bit of performance really
<gour>
do you expect to be in the rang of C(++) as far as performance is considered?
<jhass>
roughly, it's a GC'd language, but in reach
<jhass>
the alpha status is mainly signaling that you still can encounter language level bugs (compiler crashes, wrongly generated code and such) and that major backwards incompatible design changes still may happen
<jhass>
it's certainly usable for some hobby project or two already
<jhass>
also good time to contribute to stdlib and ecosystem
<gour>
i did play a bit with ruby long ago and it seems RoR was most common usage of it. does crystal wants to penetrate web market or be general and/or system programming language used for writing gui apps etc.?
<jhass>
what I meant with hobby project is that there's no such focus
<jhass>
it's about building a programming language, the community shall decide where it'll shine
<gour>
ok
<jhass>
that said, there's certainly a focus on webby stuff in the community, 5-6 projects play with how a webframework could work for example
<jhass>
but we also have some GUI bindings
<gour>
any plan available about what should be added to the standard lib?
<gour>
jhass: i see you're working on possible gtk3 bindings ;)
<jhass>
Crystal inherited Ruby's open class model, so extending and patching it in your own project is easy and you can later upstream your patches if you have some time
<jhass>
that's what I usually do
<jhass>
well, not really actively working ;)
<jhass>
but accepting patches!
NeverDie has joined #crystal-lang
NeverDie has quit [Remote host closed the connection]
<jhass>
I usually only push things as far as I need them, in this case I wanted a libnotify binding and have it generated via gobject introspection, so I pushed it far enough to generate that, generate bindings for gobject introspection itself and a hello world Gtk app
<gour>
i see...lot of web stuff created for crystal
blue_deref has joined #crystal-lang
kyrylo_ has joined #crystal-lang
kyrylo has quit [Ping timeout: 256 seconds]
kyrylo_ is now known as kyrylo
shama has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 260 seconds]
strcmp1 has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 3 new commits to master: http://git.io/v3DVA
kyrylo has quit [Remote host closed the connection]
BlaXpirit has quit [Quit: Konversation]
<crystal-gh>
[crystal] PragTob opened pull request #1180: Add a simple test to ensure alias_method works (master...spec-alias-method) http://git.io/v3SlY
<crystal-gh>
[crystal] PragTob opened pull request #1181: Add Array prepend and append (master...add-Array-prepend-and-append) http://git.io/v3SuP
waj has quit [Remote host closed the connection]
sfcgeorg_ has joined #crystal-lang
sfcgeorge has quit [Ping timeout: 265 seconds]
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/v3SP3
<crystal-gh>
crystal/master bbf2036 Ary Borenszweig: Reimplemented `Process.run`. Now there's just `Process.run` with a block and non-block forms. Kudos to @technorama
<crystal-gh>
[crystal] asterite closed pull request #379: Add support for stderr access to Process.run and refactor it (master...process_run_stderr) http://git.io/v3SXH
<travis-ci>
manastech/crystal#bbf2036 (master - Reimplemented `Process.run`. Now there's just `Process.run` with a block and non-block forms. Kudos to @technorama): The build passed. https://travis-ci.org/manastech/crystal/builds/75681467
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/v3S9m
<crystal-gh>
crystal/master 7c3239e Ary Borenszweig: Removed the `alias_method` macro
<crystal-gh>
[crystal] asterite closed pull request #1180: Add a simple test to ensure alias_method works (master...spec-alias-method) http://git.io/v3SlY