<FromGitter>
<straight-shoota> @Blacksmoke16 Why not PR + push on master?
<FromGitter>
<Blacksmoke16> CI would have to pass in order to merge it, plus it wouldnt really matter since you wouldnt be directly pushing to master
_whitelogger has joined #crystal-lang
<FromGitter>
<BenMusch> @straight-shoota Thanks for the reply! Are there initiatives in the compiler that are being worked on right now? E.g. improved error messages, type system, etc.? Or is most of the prod-readiness about the stdlib?
<FromGitter>
<c910335> Is it possible to create a macro variable that can be accessed anywhere in a class?
<FromGitter>
<c910335> Without declare a constant
<FromGitter>
<c910335> like `@type`
<FromGitter>
<j8r> it is possible if it is enclosed by a `{% begin %} {% end %}` block
return0e has quit [Ping timeout: 240 seconds]
martinium has joined #crystal-lang
martinium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter>
<manveru> @kinxer awesome, thanks :)
martinium has joined #crystal-lang
return0e has joined #crystal-lang
martinium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #crystal-lang
FromGitter has quit [Read error: Connection reset by peer]
FromGitter has joined #crystal-lang
martinium has joined #crystal-lang
martinium has quit [Client Quit]
ur5us has quit [Ping timeout: 240 seconds]
bozanT has joined #crystal-lang
<bozanT>
is lucky still being developed?
<FromGitter>
<Blacksmoke16> probably, why?
<bozanT>
just wondering if i should learn it, i.e. if it has a future
<FromGitter>
<Blacksmoke16> prob wouldnt be a bad option, are others ofc depending on what you're trying to do
<FromGitter>
<Blacksmoke16> and what approach you prefer
<FromGitter>
<watzon> Of course it is haha
<FromGitter>
<watzon> Lucky is being very actively developed, and it's development is being sponsored by ThotBot
<bozanT>
I know that the creator is busy building a startup or something (which is awesome), but that might impact development
<bozanT>
also, is it possible to get compile times down to <1 second?
<FromGitter>
<watzon> Well one of the creators I think, Paul, but it's still being very actively developed
<bozanT>
yeah it was paul
<FromGitter>
<watzon> Compile times is a Crystal issue though. Hopefully we'll be seeing improvements in that area. I know there was a company that wanted to sponsor a developer to work full time on incremental compilation.
<FromGitter>
<j8r> I'm experimenting with a simple router, being able to generate Swagger docs
<FromGitter>
<watzon> Ooh that's awesome
<FromGitter>
<j8r> AFAIK no router generate swagger at the moment :(
<FromGitter>
<watzon> Not that I know of, so that could be really nice
<FromGitter>
<j8r> *in Crystal
<bozanT>
that would be great, i'm using a 5 year old laptop and compile time takes like 10+seconds for any tiny change i do, which is just too long
<FromGitter>
<Blacksmoke16> most of the data can come from the method/annotation etc
<bozanT>
I think if it wasn't for this issue i'd probably be using lucky right now
<FromGitter>
<j8r> @Blacksmoke16 I've seen this :)
<FromGitter>
<Blacksmoke16> ah nice 😉
<FromGitter>
<j8r> I'm experimenting using a custom tree based on Hashes instead of Radix
<FromGitter>
<j8r> I'm wondering how will be the performance
<FromGitter>
<Blacksmoke16> bozanT: not that you can do afaik, it depends on how the underlying framework was created. I.e. a more macro heavy approach would slow down compilation
<FromGitter>
<Blacksmoke16> for routing i assume @j8r ?
<FromGitter>
<j8r> yes @Blacksmoke16
<FromGitter>
<j8r> I will see. Otherwise, I will switch back to the god old Radix
<FromGitter>
<Blacksmoke16> would depend on the overhead of a hash lookup versus however radix does it
<FromGitter>
<j8r> I've seen radix use Arrays under the ground
<FromGitter>
<Blacksmoke16> oh, for what?
<FromGitter>
<Blacksmoke16> storing the children of a branch?
<FromGitter>
<j8r> yes, to store nodes of nodes
<bozanT>
Blacksmoke16: apparently it's just got to do with crystal itself?
<FromGitter>
<Blacksmoke16> yes
<FromGitter>
<Blacksmoke16> and the framework code