ChanServ changed the topic of #zig to: zig programming language | https://ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<fengb> I’m really enjoying the new async
tgschultz has quit [Read error: Connection reset by peer]
SimonNaa has joined #zig
SimonN has quit [Ping timeout: 268 seconds]
mikdusan1 has joined #zig
mikdusan has quit [Ping timeout: 272 seconds]
mikdusan1 is now known as mikdusan
redj has quit [Read error: Connection reset by peer]
redj has joined #zig
* daurnimator waves
<fengb> Hi
<daurnimator> Anyone in for a day of pairing?
darithorn has joined #zig
mmx870 has quit [Ping timeout: 245 seconds]
laaron has quit [Remote host closed the connection]
laaron has joined #zig
mmx870 has joined #zig
plumm has joined #zig
<plumm> i notice that I can't call c functions in comptime areas, any way around this?
<daurnimator> plumm: no... because the C functions only exist on the target. not on the build system
<plumm> ah, didnt know comptime was in the build system
kristoff_it has quit [Ping timeout: 272 seconds]
<plumm> goot to know; by alternative i mean how do i emulate said functionality? im not a c programmer so i dont know the gotos
<plumm> I just need to initialize some global constant
darithorn has quit [Quit: Leaving]
<daurnimator> plumm: huh? when I meant "the build system" I meant on the machine that is doing the compilation
<daurnimator> plumm: initialise what to what?
<plumm> daurnimator: its mac os specific, basically the timing function returns the value in cpu ticks and we can call in (and cache) a steady_rate value from the kernel
<plumm> since the ticks might mean different slices of time, confusing i know
<daurnimator> plumm: you need to call it from e.g. an .init method. not at comptime
<plumm> hm, ok :)
<daurnimator> also doesn't OSX have clock_gettime for like 4 years now?
<plumm> yes but thats limited to millisecond granilurity
<plumm> granularity
<plumm> mach_absolute_time has nanosecond granularity ("mach/mach_time.h")
<daurnimator> plumm: clock_gettime should have nanosecond granularity
<plumm> daurnimator: clock_gettime calls mach_absolute_time() internally
<daurnimator> yes
<plumm> I think I avoid a call to the kernel using the steady factor and mach absolute time, but i will take your word for it
ntgg has joined #zig
ntgg has quit [Ping timeout: 258 seconds]
nero57 has joined #zig
<gonz_> daurnimator: What are you working on?
nero57 has quit [Ping timeout: 260 seconds]
laaron has quit [Remote host closed the connection]
laaron has joined #zig
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #zig
earnestly has joined #zig
<marler8997> trying to track down a segfaul in analyze.cpp, in the function "resolve_llvm_types_union" I'm getting a case where tag_type is NULL...anyone have any idea if that is valid and/or if it should be handled? Right now it's causing a segfault further down the callstack
<marler8997> nevermind I think I got it...now I just need to write a regression test: https://github.com/ziglang/zig/pull/3119
kristoff_it has joined #zig
nero57 has joined #zig
dewf has joined #zig
kristoff_it has quit [Ping timeout: 248 seconds]
porky11 has joined #zig
SimonNaa has quit [Ping timeout: 272 seconds]
SimonNaa has joined #zig
SimonN has joined #zig
SimonNaa has quit [Ping timeout: 272 seconds]
nero57 has quit [Ping timeout: 260 seconds]
FireFox317 has joined #zig
jrudolph has quit []
Ichorio has joined #zig
FireFox317 has quit [Remote host closed the connection]
dewf has quit [Quit: Leaving]
laaron has quit [Remote host closed the connection]
laaron has joined #zig
earnestly has quit [Ping timeout: 268 seconds]
qazo has joined #zig
avoidr has quit [Quit: leaving]
laaron has quit [Remote host closed the connection]
qazo has quit [Quit: ...]
lunamn_ has quit [Ping timeout: 272 seconds]
qazo has joined #zig
laaron has joined #zig
nero57 has joined #zig
nero57 has quit [Remote host closed the connection]
nero57 has joined #zig
laaron has quit [Remote host closed the connection]
nero57 has quit [Client Quit]
laaron has joined #zig
tgschultz has joined #zig
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
kristoff_it has joined #zig
laaron has joined #zig
<kristoff_it> does anybody know how to bypass `error: import of file outside package path`?
<kristoff_it> I'm trying to import a file from the parent directory
<mikdusan> from command line or build.zig? command line use `--main-pkg-path`
<kristoff_it> cli, thanks!
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #zig
laaron has quit [Remote host closed the connection]
laaron has joined #zig
laaron has quit [Client Quit]
laaron has joined #zig
<Sahnvour> andrewrk: what's the state of [embedded] libc on windows ?
porky11 has quit [Ping timeout: 264 seconds]
lunamn has joined #zig
<hoppetosse> q:-):-):-)
ntgg has joined #zig
darithorn has joined #zig
Tetralux__ has joined #zig
Tetralux has quit [Ping timeout: 246 seconds]
qazo has quit [Ping timeout: 258 seconds]
Ichorio has quit [Ping timeout: 264 seconds]
Ichorio has joined #zig
ky0ko has quit [Ping timeout: 272 seconds]
casaca has quit [Ping timeout: 246 seconds]
casaca has joined #zig
qazo has joined #zig
casaca has quit [Ping timeout: 246 seconds]
casaca has joined #zig
ntgg has quit [Ping timeout: 272 seconds]
wootehfoot has joined #zig
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #zig
Akuli has joined #zig
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #zig
laaron has quit [Remote host closed the connection]
casaca has quit [Ping timeout: 258 seconds]
casaca has joined #zig
cbarrett has joined #zig
andersfr has joined #zig
andersfr has quit [Client Quit]
laaron has joined #zig
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #zig
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #zig
plumm has quit [Quit: Lost terminal]
reductum has joined #zig
Tetralux__ is now known as Tetralux
<Tetralux> RE interfaces, would they resolve to static calls?
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #zig
curtisf has joined #zig
Akuli has quit [Quit: Leaving]
earnestly has joined #zig
reductum has quit [Quit: WeeChat 2.5]
curtisf has quit [Remote host closed the connection]
wootehfoot has quit [Read error: Connection reset by peer]
wootehfoot has joined #zig
qazo has quit [Ping timeout: 244 seconds]
qazo has joined #zig