ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Sankalp has quit [Ping timeout: 272 seconds]
notzmv has joined #crystal-lang
notzmv has quit [Remote host closed the connection]
notzmv has joined #crystal-lang
Sankalp has joined #crystal-lang
jmdaemon has quit [Ping timeout: 272 seconds]
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Sankalp has joined #crystal-lang
Sankalp has quit [Client Quit]
Sankalp has joined #crystal-lang
<frojnd> I'm inside src/routes/api/v1/main.cr and inside get "/" do render "src/views/hello.ecr", "src/views/layouts/layout.ecr" end I get: Error: macro 'render' must be defined before this point but is defined later
<frojnd> Do I have to import smth?
notzmv has quit [Read error: Connection reset by peer]
<FromGitter> <zblesk:zble.sk> What is the current state of multiprocessing in Crystal? ⏎ Judging by the docs and some (old) blog posts, it seems to me that there are fibers, but not actual threads (or processes) running in parallel. ⏎ Is that still true?Are there any planned changes?
<FromGitter> <moe:busyloop.net> yes, multi-threading is in development, but i don't know what the latest status is (i think it's still in "preview", you can use `preview_mt` flag to enable it)
<FromGitter> <moe:busyloop.net> here's an old blog post with more details: https://crystal-lang.org/2019/09/06/parallelism-in-crystal.html
<FromGitter> <zblesk:zble.sk> yeah, I've read that one, but it's 3 years old. 🙂
<FromGitter> <zblesk:zble.sk> Okay, thanks. If it's in preview, that's good enough for me.
<FromGitter> <zblesk:zble.sk> (As long as it isn't in the realm of 'never/maybe one day', I'm fine with it.)
<FromGitter> <moe:busyloop.net> nah i'm pretty sure there's active work on it. maybe someone else remembers a more recent blog-post/status update
<yxhuvud> It is there, but it has some limitations. There is for example no work stealing, so if some cpu gets very busy fibers assigned to that thread will be stuck waiting even if other threads are not doing anything
<FromGitter> <zblesk:zble.sk> Thanks!
Starfoxxes has quit [Ping timeout: 240 seconds]
jmdaemon has joined #crystal-lang
Sankalp has quit [Ping timeout: 276 seconds]
Sankalp has joined #crystal-lang
Starfoxxes has joined #crystal-lang
lanodan has quit [Ping timeout: 248 seconds]