ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<GitHub115>
zig/master 27cbb44 Andrew Kelley: Merge pull request #949 from zig-lang/complex-math...
<andrewrk>
alexnask, you're next in line! looking at your PR now
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
<andrewrk>
alexnask, I'm impressed with how quickly you were able to hack on ir.cpp without any docs
isd has joined #zig
<andrewrk>
alexnask, done. hope that helps
alexnask_ has joined #zig
alexnask has quit [Ping timeout: 264 seconds]
isd has quit [Remote host closed the connection]
isd has joined #zig
<GitHub7>
[zig] BraedonWooding opened pull request #954: Utf8 Encoding from Codepoint to Bytes (master...patch-2) https://git.io/vpn4L
isd has quit [Quit: Leaving.]
Ichorio has quit [Ping timeout: 255 seconds]
commander has joined #zig
<alexnask_>
@andrewrk Tbh looking at how @typeId is implemented got me up an going pretty quick
<alexnask_>
But it's only one aspect of the compiler, I'm sure if I tried to do something a bit more involved like return type inference I would get stuck for a bit :P
<alexnask_>
Docs are for losers anyways (/s)
alexnask_ is now known as alexnask
alexnask_ has joined #zig
<alexnask_>
@andrewrk How do you feel about a small buffer optimization being added to ZigList?
<alexnask_>
I think it would make sense since all strings (buf's) are based on it
<Dodo>
only works for Iterator(Iterator(T)), but hey xD
<Dodo>
guess you could do some .map() stuff if you need to flatten more
ltr__ has quit [*.net *.split]
alandipert has quit [*.net *.split]
lorde_kumamon[m] has quit [*.net *.split]
commander has quit [*.net *.split]
hinst has quit [*.net *.split]
MajorLag has quit [*.net *.split]
epsyloN has joined #zig
vec_ has joined #zig
lorde_kumamon[m] has joined #zig
alandipert has joined #zig
ltr__ has joined #zig
commander has joined #zig
MajorLag has joined #zig
hinst has joined #zig
clebermatheus[m] has quit [Ping timeout: 246 seconds]
kammd[m] has quit [Ping timeout: 268 seconds]
lorde_kumamon[m] has quit [Ping timeout: 256 seconds]
dtz has quit [Ping timeout: 240 seconds]
raytracer[m] has quit [Ping timeout: 276 seconds]
<alexnask>
@Dodo Nice! :D
<Dodo>
mhhh what else...
<Dodo>
.split() on a predicate maybe
steveno_ has joined #zig
<Dodo>
but that could only work for types that can be converted into a slice-like object
<Dodo>
list, string, string-slice or slice
<alexnask>
Well you could have Iterator(T) -> split(pred) -> Iterator([]T) but you would have to define wether the item that triggers the predicate should be included in the left slice, the right slice or dropped
<alexnask>
Which could be an enum option
<Dodo>
uhm, wel, doesnt "hello this is splitted on spaces".split(" ") give you "hello", "this", "is", "splitted", "on", "spaces" ?
<Dodo>
so not inclusive of the predicate
<Dodo>
maybe a little help of memchar or something would speed things up a bit for strings
kammd[m] has joined #zig
ragge has quit []
ragge has joined #zig
Dodo has quit [Quit: Page closed]
dtz has joined #zig
lorde_kumamon[m] has joined #zig
raytracer[m] has joined #zig
clebermatheus[m] has joined #zig
steveno_ has quit [Quit: Leaving]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
btbytes has joined #zig
btbytes has quit [Client Quit]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
jjido has joined #zig
jjido has quit [Client Quit]
jjido has joined #zig
MajorLag has quit [Ping timeout: 248 seconds]
MajorLag has joined #zig
MajorLag2 has joined #zig
MajorLag has quit [Ping timeout: 265 seconds]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ichorio has quit [Ping timeout: 240 seconds]
cenomla has joined #zig
cenomla has quit [Client Quit]
MajorLag2 has quit [Ping timeout: 265 seconds]
MajorLag has joined #zig
MajorLag2 has joined #zig
MajorLag has quit [Ping timeout: 265 seconds]
MajorLag has joined #zig
MajorLag2 has quit [Ping timeout: 265 seconds]
MajorLag has quit [Ping timeout: 265 seconds]
steveno_ has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MajorLag has joined #zig
steveno_ has quit [Read error: Connection reset by peer]