ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
_whitelogger has joined #zig
return0e has quit [Remote host closed the connection]
return0e has joined #zig
<andrewrk>
hey everybody, an update on copy elision stuff. I'm about to push a commit where I backported all the non-copy-elision changes to master branch. And then I'm going to branch off master again, with a better design in mind. So this represents tossing out some work that I've been doing, but still gaining a few benefits from it
<andrewrk>
before branching off master, however, I'm going to do other stuff. so it should feel a lot more productive around here for a few weeks until I start doing the final copy elision design
<andrewrk>
the new design breaks copy elision into even smaller steps, so the code doesn't get messy like it started doing again, and only the smallest step is necessary to continue on with coroutine rewrite
<andrewrk>
it's unfortunate that I had to put so much effort before realizing the final design, but at least now I understand all the problems and how to overcome them in a maintainable way
<andrewrk>
I'll probably make a blog post to talk about some of this stuff. I'm overdue for giving an update
<emekankurumeh[m]>
daurnimator: with `comptime_int`s and `comptime_float`s to runtime types mostly.
<emekankurumeh[m]>
daurnimator: for example, zig can't infer that the type of the `comptime_int`s in the switch arms are supposed to be `i32`s.
diltsman has joined #zig
<diltsman>
Can anyone point me to how/where to add compiler_rt functions to Zig? I would be willing to put in a significant effort to add some of this functionality...especially for ARM, which I am developing for.
<emekankurumeh[m]>
compiler_rt stuff goes in `std/std/special/compiler_rt`.
<emekankurumeh[m]>
*`std/special/compiler_rt`
<diltsman>
Any suggestions of where in the repository history I should use as a porting source? I would assume head.
<emekankurumeh[m]>
porting what?
<diltsman>
The different compiler_rt functions from LLVM to Zig.
<emekankurumeh[m]>
i think HEAD would be a good place to start.
<emekankurumeh[m]>
i also suggest trying to compile your project and just porting compiler_rt functions as the need arises.
darithorn has joined #zig
darithorn has quit [Remote host closed the connection]
fsateler has joined #zig
fsateler_ has quit [Ping timeout: 272 seconds]
<kristate>
andrewrk: thanks for all of your hard work. Looking forward to the blog post and the brain dump. Src/Gen makes sense
kristate has quit [Ping timeout: 240 seconds]
slugspace has joined #zig
jethron has joined #zig
jethron has quit [Remote host closed the connection]
eagle2com has joined #zig
eagle2com has quit [Remote host closed the connection]
eagle2com has joined #zig
slugspace has quit [Ping timeout: 268 seconds]
jethron has joined #zig
Shankar has joined #zig
Shankar has quit [Client Quit]
eagle2com has quit [Ping timeout: 250 seconds]
jethron has quit [Remote host closed the connection]
fsateler has quit [Read error: Connection reset by peer]
fsateler has joined #zig
halosghost has joined #zig
Avila has joined #zig
Zaab1t has joined #zig
eagle2com has joined #zig
eagle2com has quit [Remote host closed the connection]
eagle2com has joined #zig
Ichorio has joined #zig
eagle2com has quit [Client Quit]
eagle2com has joined #zig
wootehfoot has joined #zig
steveno has joined #zig
wilsonk has quit [Read error: No route to host]
eagle2com has quit [Ping timeout: 245 seconds]
Marumoto has joined #zig
MajorLag has quit [Ping timeout: 250 seconds]
MajorLag has joined #zig
steveno has quit [Remote host closed the connection]
steveno has joined #zig
MajorLag has quit [Ping timeout: 240 seconds]
steveno has quit [Ping timeout: 240 seconds]
MajorLag has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
wilsonk has joined #zig
halosghost has quit [Quit: WeeChat 2.3]
Zaab1t has quit [Quit: bye bye friends]
darithorn has joined #zig
steveno has joined #zig
sjums has quit [Read error: Connection reset by peer]
<MajorLag>
huh, apparently the order of operator precidence changed at some point... and actually I think it is a bug: `value = (value << 6) | bytes[3] & 0b00111111;` != `value = (value << 6) | (bytes[3] & 0b00111111);`
<MajorLag>
but the docs list bitwise & as preceeding bitwise |
sjums has joined #zig
steveno has quit [Remote host closed the connection]
kotto has joined #zig
<MajorLag>
see: #1902
Avila has quit [Read error: Connection reset by peer]