ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
cenomla has quit [Remote host closed the connection]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
arBmind has quit [Ping timeout: 240 seconds]
_whitelogger has joined #zig
Elronnd has quit [Ping timeout: 276 seconds]
Elronnd has joined #zig
tiehuis has joined #zig
<GitHub14> [zig] tiehuis opened pull request #542: Add c allocator (master...c_allocator) https://git.io/vdy5P
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
pupp has joined #zig
puppp has joined #zig
pupp has quit [Read error: Connection reset by peer]
<GitHub150> [zig] andrewrk pushed 1 new commit to master: https://git.io/vdyFp
<GitHub150> zig/master 0744c83 Andrew Kelley: add uwtable attribute to functions on windows...
puppp has quit [Read error: Connection reset by peer]
puppp has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
tiehuis has quit [Quit: WeeChat 1.9.1]
pupppp has joined #zig
puppp has quit [Ping timeout: 248 seconds]
arBmind has joined #zig
pupppp has quit [Ping timeout: 248 seconds]
pupppp has joined #zig
pupppp has quit [Ping timeout: 255 seconds]
arBmind has quit [Quit: Leaving.]
arBmind has joined #zig
pupppp has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
<GitHub96> [zig] andrewrk closed pull request #542: Add c allocator (master...c_allocator) https://git.io/vdy5P
<GitHub189> [zig] andrewrk pushed 1 new commit to master: https://git.io/vdSE4
<GitHub189> zig/master 09c0cf2 Marc Tiehuis: Add c allocator (#542)
pupppp has quit [Quit: pupppp]
<GitHub76> [zig] andrewrk pushed 1 new commit to master: https://git.io/vdSgy
<GitHub76> zig/master ad07c68 Andrew Kelley: Release 0.1.0
<tankfeeder> yea
<tankfeeder> congratulations to everyone :)
<andrewrk> writing up release notes now
<andrewrk> oops
<andrewrk> wow I really botched this up
<GitHub183> [zig] andrewrk pushed 1 new commit to master: https://git.io/vdS2c
<GitHub183> zig/master 79193ff Andrew Kelley: build: fix logic for version when there is a git tag
<andrewrk> I'm going to do git stuff
<GitHub48> [zig] andrewrk pushed 1 new commit to master: https://git.io/vdS2R
<GitHub48> zig/master 78cb4ce Andrew Kelley: Release 0.1.1
<andrewrk> there we go
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
<tankfeeder> perfect.
<andrewrk> I made a reddit post
hasen_judy has joined #zig
pupp has joined #zig
hasen_judy has quit [Remote host closed the connection]
alandipert has joined #zig
hoppetosse has joined #zig
<hoppetosse> andrewrk: Congratulations on the 0.1.0 release!
<andrewrk> thanks hoppetosse
<hoppetosse> I started university a few weeks ago and haven't kept up with developments, but I've seen some interesting stuff come up
<andrewrk> notably, we have windows working really well
<hoppetosse> Yeah, very excited to try that
<andrewrk> cross compiling for windows without libc is especially nice
<hoppetosse> Has there been improvement on compile-times?
<hoppetosse> tick was taking a while to build last I tried
<andrewrk> not yet
<andrewrk> I'll do a proof of concept fast compile times for 0.2.0
<andrewrk> optimizing performance, caching, automatically breaking into multiple objects, and anything else I can think of
<hoppetosse> Awesome! Thanks and congrats =)
eena has quit [Ping timeout: 264 seconds]
hoppetosse has quit [Ping timeout: 248 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 255 seconds]
hoppetosse has joined #zig
arBmind has quit [Quit: Leaving.]
pupp has quit [Ping timeout: 260 seconds]
benq has joined #zig
<GitHub82> [zig] andrewrk pushed 1 new commit to master: https://git.io/vd93Q
<GitHub82> zig/master a27c0dd Andrew Kelley: remove unsupported targets from readme...
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arBmind has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
<GitHub184> [zig] andrewrk pushed 1 new commit to master: https://git.io/vd9u5
<GitHub184> zig/master 3c3af4b Andrew Kelley: fix docs link
hoppetosse has quit [Ping timeout: 258 seconds]
_dev_zero has joined #zig
benq has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cenomla has joined #zig
PV_ has joined #zig
<PV_> Apology if this was reported. I downloaded zig0.1.1 for Windows, copied Hello World example to a text file, compiled and I got error:
<PV_> O:\zig0.1.1>zig build-exe a.zig
<PV_> ':\zig0.1.1\a.zig:1:30: error: invalid character: '
dtzWill has joined #zig
<PV_> const io = @import("std").io;
<PV_> ^
<PV_> It seems zig doesn't like accept CR/LF newlines.
<andrewrk> yes it seems that way
<andrewrk> I think it will stay this way, this way all zig source will be consistent
<PV_> How about zig accepting CR/LF, CR and LF in any combination on every platform? Nim does this.
<andrewrk> PV_, out of curiosity what editor was that?
<PV_> Notepad. Its just for playing.
<dtzWill> any chance/blockers for adding a zig package to nixpkgs?
<dtzWill> O:)
<andrewrk> dtzWill, for sure, in fact I have one lying around, just need to update it
<andrewrk> PV_, notepad is the scourge of the earth
<dtzWill> :D great, I'm pretty sure I've seen you on nixpkgs issue threads so I was hopeful... ^_^
<andrewrk> dtzWill, were you the one who got llvm 5 PR merged?
<andrewrk> ah yeah you were. thanks for that!
radens has joined #zig
<dtzWill> haha yeah and 4 before that... and others :D. I too, rely on good Nix support for LLVM :)
<dtzWill> anyway 'grats on first beta release, look forward to giving it a whirl!
<PV_> I fired Sublime Text 2, copied Hello Word into it and, unsurpisingly, I am getting the same error.
<radens> Does zig have support for automatic constructors and destructors?
<andrewrk> radens, no, the tools you have for that are defer and %defer. http://ziglang.org/documentation/master/#defer
<PV_> Yeah, this works, but still. CR/LF is Windows standard, why to fight against it? Simple copy/paste doesn't work. Anyone new trying will be disappointed at the first moment.
<andrewrk> it's a fair argument
<andrewrk> let me think about it
<andrewrk> one complication is multiline strings use LF
hoppetosse has joined #zig
<andrewrk> I mean it's simple now; only LF works. But it becomes complicated if we try to also support CRLF
<PV_> Where could I report error and inconsistencies? Perhaps there could be single bug issue for every release, not to clutter bug tracker too much.
<andrewrk> PV_, a bug report for every independent problem is OK. I'll categorize them as necessary
<_dev_zero> including implicit \r in multiline strings sounds unwise. just ignoring it wouldn't work?
<andrewrk> _dev_zero, do you suggest manually terminating lines with \n in multiline strings?
hoppetosse has quit [Ping timeout: 260 seconds]
pupp has joined #zig
<andrewrk> are you familiar with how it works currently?
<_dev_zero> this is quite new to me, so honestly not really
<_dev_zero> but as far as I understand, multiline strings are currently implcitly include newlines
<_dev_zero> s/are //
<_dev_zero> so kind of yeah, even if if you get \r\n you'd include only \n
<_dev_zero> s/if //
<_dev_zero> I do not suggest forcing programmer to manually type \n though, if you meant that by "manually"
<pupp> personally I pretend that /r/n doesn't exist. The only program that really depends on it is default windows notepad. Everything else can work with /n
<pupp> but if people need it...
<andrewrk> I'm not convinced that people need it
<pupp> I hope there will be an easy way to remove that from code later
<_dev_zero> some editors are really bad at pointing out distinction
<_dev_zero> especially in windows land
<_dev_zero> where lots of stuff assume \r\n
<pupp> examples of lots?
<pupp> just curious
<_dev_zero> me too actually. I'm not really windows user but I remember most of my text files having \r\n somehow back when I used it
<_dev_zero> that's also because in windows stdio functions insert additional \r
arBmind has quit [Quit: Leaving.]
<andrewrk> _dev_zero, you're talking about printf and _setmode
<andrewrk> now that you mention it, yes I think it is on a file descriptor level
<_dev_zero> it happens for every writing function if it's opened in non-binary mode