ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<MajorLag> andrewrk: this is what I imagine for a @TypeInfo struct: https://paste.ubuntu.com/p/Nx2x7jmVms/
<MajorLag> Of course this from the perspective of having no idea about compiler internals.
SimonNa has left #zig ["Leaving"]
cenomla has joined #zig
davr0s has joined #zig
isd has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
isd has quit [Quit: Leaving.]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Client Quit]
return0e_ has joined #zig
return0e has quit [Ping timeout: 240 seconds]
<aiwakura> @andrewrk what was .setBuildMode(b.standardReleaseOptions()) all about?
<aiwakura> I'm trying to build that mixed 32/64 bit executable
cenomla has quit [Quit: cenomla]
<aiwakura> I think I found a good solution
<aiwakura> I can ask GRUB to load a 32-bit module which switches to 64-bit mode and then jumps to the kernel
<aiwakura> which is loaded as a module
<andrewrk> aiwakura: it adds release fast and release safe build options to zig build. You can see them with zig build --help
<andrewrk> MajorLag: thanks for putting that together. I'll have a look tomorrow. I think somebody made an issue for this at some point. Look for the text "reify"
<aiwakura> cool
IntoxicatedHippo has quit [Quit: Konversation terminated!]
<jacobdufault> andrewrk: for https://paste.ubuntu.com/, where would you expect Aaaaaa to show up in `CodeGen`? I'm not seeing it in type_table and nothing else seems obvious to me
_whitelogger has joined #zig
<aiwakura> run into a lld bug
<aiwakura> so annoying
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jacobdufault> going through codegen->import_table seems to get it
hoppetosse has joined #zig
<jacobdufault> (though, it is registered as a TldIdVar, but the `var` structure in `TldVar` is null, which seems to imply I cannot get any information about it)
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub32> [zig] Hejsil pushed 2 new commits to master: https://git.io/vANF6
<GitHub32> zig/master 689e241 Jimmi Holst Christensen: Merge branch 'master' of github.com:zig-lang/zig
<GitHub32> zig/master 51b2f1b Jimmi Holst Christensen: Translate C can now translate switch statements again
<hoppetosse> Hejsil: thanks for the translate-c switch fix XD
arBmind has joined #zig
Hejsil_ has joined #zig
Hejsil_ has quit [Client Quit]
Hejsil has quit [Ping timeout: 260 seconds]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub116> [zig] Hejsil pushed 1 new commit to master: https://git.io/vAAIx
<GitHub116> zig/master b288762 Jimmi Holst Christensen: Translate C will now handle ignored return values
<MajorLag> @andrewrk, I added the example to the issue.
noonien has joined #zig
return0e_ has quit [Read error: No route to host]
return0e has joined #zig
<GitHub78> [zig] Hejsil pushed 1 new commit to master: https://git.io/vAAlX
<GitHub78> zig/master 2e010c6 Jimmi Holst Christensen: Translate C now correctly converts ints, floats, ptrs and enums to bools...
<andrewrk> jacobdufault, in the TypeTableEntry for the struct, the name field
<andrewrk> oh I understand your question. yes the import table is the correct way to find it
<andrewrk> thanks MajorLag
<andrewrk> I'm merging llvm6 branch into master
<GitHub170> [zig] andrewrk pushed 2 new commits to master: https://git.io/vAArT
<GitHub170> zig/master 3200ebc Andrew Kelley: Merge branch 'llvm6'...
<GitHub170> zig/master b57cb04 Andrew Kelley: Merge remote-tracking branch 'origin/master' into llvm6
Ichorio has joined #zig
<jacobdufault> andrewrk: okay, I'll probably upload a WIP PR tonight, as I've been having trouble getting data from the import table as certain useful fields are null, maybe something obvious I'm missing
<andrewrk> jacobdufault, I look forward to seeing that. I'll help you figure out the missing parts
<andrewrk> alright, llvm 6 branch is merged into master. Now it's a 1 week bug squashing palooza and then zig 0.2.0 is released March 15
<hoppetosse> andrewrk: awesome!
<hoppetosse> if you were to name the next 3 milestones, what would you call them?
<andrewrk> and I'm not allowed to use semver? :P
<hoppetosse> That's a copout!
<hoppetosse> I mean like if they were chapters of the development book
<hoppetosse> or the main focus for each one
<hoppetosse> "The Stability Update", "The Concurrency Update"
<hoppetosse> 0.2.0 might have been the async update
<hoppetosse> Though I realise how that takes the focus out of all the other stuff that happens
<andrewrk> 0.2.0 is error redesign and coroutines
<andrewrk> 0.3.0 is the self hosted compiler update
<andrewrk> 0.4.0 is the documentation update
<hoppetosse> self hosted is exciting!
rain1 has quit [Ping timeout: 256 seconds]
<hoppetosse> documentation, less so, but fundamentally important
<andrewrk> a bunch of bugs and features are only going to exist in the self hosted compiler, such as auto generated documentation
<andrewrk> *bug fixes, sorry :)
steveno_ has joined #zig
MajorLag2 has joined #zig
<jacobdufault> oh, self hosting compiler is targeting 0.3.0? that's a lot sooner than I expected :)
<andrewrk> jacobdufault, don't worry. we're not getting rid of the c++ compiler ever
<jacobdufault> actually I find it kind of strange you want to maintain both, seems like a lot of work for a stretched team :P
MajorLag has quit [Ping timeout: 245 seconds]
<jacobdufault> Any idea when you're aiming to release 0.3.0? ie, this year, next year, etc?
<andrewrk> I'm thinking, at least for pre-1.0.0 releases, I'm going to release each minor version 1 week after the major llvm release
<andrewrk> their release cycle is 6 months
davr0s has joined #zig
<jacobdufault> ah, I'll be really impressed if you manage to land the self hosting compiler in 6 months :)
<hoppetosse> He's a machine XD
arBmind has quit [Quit: Leaving.]
<GitHub62> [zig] andrewrk pushed 2 new commits to master: https://git.io/vAAXQ
<GitHub62> zig/master 2db28ea Andrew Kelley: travis ci: update ubuntu llvm repo and CC,CXX env vars to 6
<GitHub62> zig/master aa9902b Andrew Kelley: translate-c: add missing case labels
<andrewrk> I have travis linux and appveyor (windows) building master branch with llvm6 successfully
<andrewrk> macos build is gonna fail until either I try to build it and upload a tarball or homebrew adds llvm 6
<andrewrk> I think maybe 0.4.0 for the self hosted compiler update. 0.3.0 is the "implement everything that breaks the language" update
<andrewrk> so that we can stabilize
Hejsil has joined #zig
<Hejsil> Uuuh, llvm6 on master. That's exciting!
<andrewrk> Hejsil, yep. now I'll spend 1 week fixing bugs, and then release 0.2.0 on Mar 15
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dtz has joined #zig
<dtz> is there expected to be a zig release for use w/llvm 6? :D
hoppetosse has quit [Ping timeout: 276 seconds]
hoppetosse has joined #zig
hoppetosse has quit [Ping timeout: 255 seconds]
davr0s has joined #zig
<andrewrk> dtz, next thursday
<andrewrk> I'm taking 1 week to fix bugs
steveno_ has quit [Remote host closed the connection]
steveno_ has joined #zig
<dtz> \o/ good plan
steveno_ has quit [Remote host closed the connection]
<GitHub111> [zig] andrewrk pushed 1 new commit to master: https://git.io/vAxtC
<GitHub111> zig/master 028ec0f Andrew Kelley: enums with 1 field and explicit tag type still get the tag type...
isd has joined #zig
<MajorLag2> andrewrk: I can't `@import("folder_local_to_source_file");`? That only works for folders in zig/lib?
<andrewrk> @import accepts filenames, or package names
<andrewrk> you can pass packages to the compiler with --pkg-begin command line arg, or you can use the zig build API
<MajorLag2> what defines a package? It looked to me like it was just a folder with an index.zig
<andrewrk> index.zig is not special
<andrewrk> a package is just a mapping from a name to a file
<MajorLag2> ok, so the std lib mapping is just known to the compiler
<andrewrk> correct, all zig packages get "std" and "builtin" package dependencies
<andrewrk> s/dependencies/mappings
<MajorLag2> got it
Hejsil has quit [Read error: Connection reset by peer]
Ichorio has quit [Ping timeout: 256 seconds]
arBmind has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Client Quit]
davr0s has joined #zig
davr0s has quit [Client Quit]
<GitHub120> [zig] andrewrk pushed 1 new commit to master: https://git.io/vAx4B
<GitHub120> zig/master aaf2230 Andrew Kelley: fix partial inlining of binary math operator using old value...
return0e has quit [Read error: Connection reset by peer]
return0e has joined #zig
isd has quit [Ping timeout: 245 seconds]
Tobba has quit [Ping timeout: 256 seconds]
isd has joined #zig