ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
alexnask has joined #zig
alexnask_ has quit [Ping timeout: 240 seconds]
quc has quit [Ping timeout: 268 seconds]
alexnask has quit [Ping timeout: 240 seconds]
<andrewrk> MajorLag2, yeah it's still |*x| for now
<andrewrk> backpropaganda, see https://github.com/andrewrk/sdl-zig-demo
<andrewrk> Sahnvour, I added Allocator.construct recently
<andrewrk> // TODO once #733 is solved, this will replace create
andrewrk has left #zig ["Leaving"]
andrewrk has joined #zig
darithorn has quit [Read error: Connection reset by peer]
darithorn_ has joined #zig
davr0s has joined #zig
quc has joined #zig
Ichorio 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…]
Skilfingr has joined #zig
alexnask has joined #zig
davr0s has joined #zig
Sahnvour has joined #zig
<Sahnvour> I've been bitten by ArrayList.resize() growing the number of items for more than I originally asked, since I was then assuming its length and iterating over it to init the elements. Is there a reason for doing this other than ease of implementation ?
Skilfingr has quit [Ping timeout: 260 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darithorn_ has quit [Quit: bye]
davr0s has joined #zig
darithorn has joined #zig
<andrewrk> Sahnvour, yes, it's to make appending to an ArrayList amortized O(1)
<andrewrk> I agree the items field is a footgun though
<andrewrk> it's probably the best reason to have private fields
xkern has joined #zig
Ichorio has quit [Ping timeout: 240 seconds]
Sahnvour has quit [Ping timeout: 260 seconds]
Sahnvour has joined #zig
<Sahnvour> ah, yes of course. it was just weird to be granted iteration on these objects when used to other container classes, but makes perfect sense when aware of it
xkern has quit [Quit: Leaving.]
alexnask_ has joined #zig
alexnask has quit [Ping timeout: 240 seconds]
Ichorio has joined #zig
xkern has joined #zig
<andrewrk> Sahnvour, you saw the toSlice() function right?
<Sahnvour> yes, but apparently forgot about it :D
bowman has joined #zig
<bowman> I am wondering something is like c but improved, and with buildin package mangment and coroutings, And zig is what we are talking about
<andrewrk> hi bowman
<bowman> hello
<bowman> actually I was looking for binary translate information, then I saw your blog, then I saw your youtube
<bowman> and this
<bowman> maybe zig is a good tool to openwrt embeded routers, go has a huge binary size
<andrewrk> in zig we have --release-small
<andrewrk> equivalent to -Os for c compilers
<andrewrk> embedded is a great use case for zig
<bowman> I will have a try
<bowman> that`s sound great
<bowman> oh, Could you guide me how to port zig to arm ?
<bowman> I saw arm is not available now
<andrewrk> it is available if you link against libc
<andrewrk> but the standard library needs more work to support syscalls directly
<bowman> ok, I got it
<andrewrk> it is not too hard, but we need a way to automatically test
<bowman> wow, let me have a look
_whitelogger has joined #zig
<bowman> raspberry pi has poor compute power
<bowman> andrew , do you mean op1 process chrome book
<bowman> the develop board of this processer is cheap
<bowman> about 85 dollar
lorde_kumamon[m] has joined #zig
xkern has quit [*.net *.split]
commander has quit [*.net *.split]
bodie_ has quit [*.net *.split]
kammd[m] has quit [*.net *.split]
commander has joined #zig
bodie_ has joined #zig
bodie_ has joined #zig
xkern has joined #zig
bb010g has joined #zig
<bowman> look at this one
<GitHub101> [zig] andrewrk pushed 1 new commit to master: https://git.io/vpje4
<GitHub101> zig/master bfbe267 Andrew Kelley: zig fmt: add pointer deref syntax
<andrewrk> that looks good
kammd[m] has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
alexnask has joined #zig
alexnask_ has quit [Ping timeout: 260 seconds]
sherjilozair has joined #zig
xkern has quit [Read error: Connection reset by peer]
Sahnvour has quit [Quit: Page closed]
quc has quit [Remote host closed the connection]
bowman has quit [Quit: Page closed]
Ichorio has quit [Ping timeout: 240 seconds]
<bb010g> I'm getting an index out of bounds error when trying to build stage 3, per the readme. Is that a problem for working on the compiler?
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexnask has quit [Ping timeout: 260 seconds]