asterite has joined #crystal-lang
CraigBuchek has joined #crystal-lang
waj has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#877 (master - f758819 : Ary Borenszweig): The build passed.
waj has joined #crystal-lang
<
CraigBuchek>
How can I recompile the compiler?
<
waj>
bin/crystal src/compiler/crystal.cr
<
CraigBuchek>
waj: That's what I thought, but that's (silently) building a 26K binary that does nothing.
<
waj>
so strange… but it compiles any other program just fine?
<
CraigBuchek>
Uh-oh. I left off the .cr at the end. It was compiling the directory.
<
CraigBuchek>
:embarassed:
<
CraigBuchek>
Ah, much better.
<
waj>
that's a bug anyway
<
CraigBuchek>
Well, to be fair, there was a directory with that name.
<
waj>
yup, but the compiler should raise a warning
<
CraigBuchek>
When I did icr without the .cr it told me.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#881 (master - 0b9a9fe : Ary Borenszweig): The build has errored.
<
CraigBuchek>
Hmm. It says the build errored, but it doesn't appear to have actually run yet.
travis-ci has joined #crystal-lang
<
travis-ci>
[travis-ci] manastech/crystal#881 (master - 0b9a9fe : Ary Borenszweig): The build passed.
travis-ci has left #crystal-lang [#crystal-lang]
<
CraigBuchek>
Yay!!! My first commit.
<
waj>
sometimes travis reports as errored but seems like it was still waiting for a server to run the build
<
waj>
we're using travis for the macos build and drone.io for linux
<
CraigBuchek>
Asterite has been on top of my PRs tonight.
<
waj>
btw… I don't know if I'd bother too much about icr. It was just a concept thing but it's actually quite nasty what it does.
<
CraigBuchek>
I like to have a REPL once in a while.
<
CraigBuchek>
I've got it working; I don't think I'll have much desire to enhance it.
<
waj>
sure, for testing small things, but I would not sell that crystal has a repl right now :)
<
CraigBuchek>
I see.
<
waj>
have a real repl with the full type inference could be quite challenging
<
CraigBuchek>
Crystal is still labelled as pre-alpha, so I wouldn't be too worried.
<
CraigBuchek>
Yeah. I was actually a bit surprised that there was a REPL at all.
<
waj>
it evaluates the whole history every time
<
CraigBuchek>
I'm much more inclined to work on making the spec lib more useful.
<
CraigBuchek>
I'm impressed so far. Things are fast, done well/right.
<
CraigBuchek>
I should be the #3 all-time committer by the end of the week. ;)
<
CraigBuchek>
Small commits FTW!
<
waj>
There are a couple of things that has to be fixed to make the language more fun to use
<
waj>
closures for example
<
CraigBuchek>
I'm excited about it.
<
CraigBuchek>
I'm working on Date classes and writing up a presentation as I go. The first one will be at the local Ruby group in a about 6 weeks.
<
CraigBuchek>
Then hopefully RubyConf in November.
<
waj>
that will be awesome!!
<
waj>
we plan to make a proposal for rubyconf uruguay
<
CraigBuchek>
Hey, is the compiler multi-threaded? Because when I run time against it, the clock time is always smaller than the CPU time.
<
waj>
yes, the conversion from LLVM bytecode to assembler is done in parallel
<
waj>
it generates a llvm module for each class
<
waj>
and checks if the bytecode didn't changed from the last run, then it just reuses the assembly file
<
waj>
tons of space for improvement there
<
CraigBuchek>
I find it to be pretty fast already. But I was guessing there's still room for a lot of performance improvement.
<
waj>
when you build the compiler it actually shows some limitations of the current implementation
<
waj>
I mean… it takes several seconds to run
<
waj>
imagine using it for a real project with much more code
<
waj>
ok… got to go now. Have a nice weekend. Keep coding! ;-)
filer has joined #crystal-lang
kostya has joined #crystal-lang
Excurio has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#884 (master - e2a51ec : Ary Borenszweig): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#885 (master - 287d8c2 : Ary Borenszweig): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#886 (master - 7ef80bd : Ary Borenszweig): The build passed.
waj has joined #crystal-lang
waj has joined #crystal-lang
waj has joined #crystal-lang
waj has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#887 (master - 864563c : Juan Wajnerman): The build passed.
asterite has joined #crystal-lang
asterite has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#888 (master - 271f602 : Ary Borenszweig): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#889 (master - 3a386b5 : Ary Borenszweig): The build passed.
asterite has joined #crystal-lang
asterite has joined #crystal-lang
asterite1 has joined #crystal-lang
asterite has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#890 (master - ec4b363 : Juan Wajnerman): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<
travis-ci>
[travis-ci] manastech/crystal#891 (master - 7b606d4 : Juan Wajnerman): The build passed.