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/
forgot-password has quit [Ping timeout: 240 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #zig
forgot-password has joined #zig
aerona has joined #zig
aerona has quit [Read error: Connection reset by peer]
aerona has joined #zig
Mulugruntz has joined #zig
craigo has quit [Ping timeout: 264 seconds]
forgot-p1ssword has joined #zig
forgot-password has quit [Ping timeout: 256 seconds]
stripedpajamas has joined #zig
ur5us has joined #zig
stripedpajamas has quit [Quit: sleeping...]
stripedpajamas has joined #zig
waleee-cl has quit [Quit: Connection closed for inactivity]
discipulus has joined #zig
plumm has joined #zig
dddddd has quit [Ping timeout: 260 seconds]
aerona has quit [Quit: Leaving]
stripedpajamas has quit [Quit: sleeping...]
forgot-p1ssword has quit [Ping timeout: 264 seconds]
stripedpajamas has joined #zig
ur5us has quit [Ping timeout: 256 seconds]
stripedpajamas has quit [Quit: sleeping...]
discipulus has left #zig [#zig]
Mulugruntz has quit [Ping timeout: 246 seconds]
<lemmi> wonderfull.. now i have this supposetly uber hashmap with tons of speedup because of vecorization and it works best with a vector length of 1 :D
Mulugruntz has joined #zig
cole-h has quit [Quit: Goodbye]
<lemmi> the moment i use something different that vectorsize 1 it takes about a third longer. it then gets a little faster for 32 and it actually emits avx code.
dermetfan has joined #zig
<lemmi> hm.. might be the @ptrCast(*const bitmaskType, &v).* that's causing the slowdown. lots of mov instructions for nothing after the actual vector instructions
<lemmi> so there is hope that once the compiler bug is fixed this might work out just fine
dddddd has joined #zig
<ifreund> lemmi: I don't see any weird mov's in this example: https://zig.godbolt.org/z/oSpjR8
drewr has quit [Ping timeout: 260 seconds]
drewr has joined #zig
_whitelogger has joined #zig
<lemmi> ah, i was looking at objdump without -Drelease-fast
<lemmi> but i'm still not sure why this is so much slower. i may need to test this on another machine.
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
<lemmi> so. on ivy bridge the vectorsize doesn't seem to matter at all. at least it's not slower, so that's good thing :)
<lemmi> but i need to profile this somehow, how would i do that?
<ifreund> i mean, perf always works
<lemmi> sure, but specifically with zig or at least zig build?
<lemmi> oh wait.. prof was the thing that needed special stuff compiled in
<scientes> lemmi, you should use @bitCast()
<scientes> ptr-cast would be UB if zig did strict aliasing
<lemmi> scientes: can't there's a compiler bug
<scientes> well my PR worked with @bitCast...
<ifreund> yeah, it wouldn't let me use @bitCast() in this case either
<lemmi> the size check seems to be broken
<scientes> lemmi, OC
CommunistWolf has quit [Ping timeout: 260 seconds]
forgot-password has joined #zig
plumm has joined #zig
CommunistWolf has joined #zig
<lemmi> scientes: is this a typo for IC (i see), or you do you actually mean of course and I'am doing something wrong?
<scientes> of course size check is broken
<lemmi> scientes: then how can i use bitCast?
<lemmi> huh
xenon44 has joined #zig
xenon44 has left #zig [#zig]
craigo has joined #zig
rappet has quit [Quit: -]
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
<lemmi> hm flamegraphs are not very helpful, too coarse.
bastienleonard has joined #zig
_whitelogger has joined #zig
swills has quit [Ping timeout: 244 seconds]
ifreund has quit [Ping timeout: 244 seconds]
ifreund has joined #zig
KoljaKube has joined #zig
<daurnimator> lemmi: tracy?
<daurnimator> lemmi: but also; what do you mean too coarse?
lunamn has joined #zig
ave_ has joined #zig
linuxgemini has joined #zig
<KoljaKube> Is there a counterpart to @field that lets me create members from a comptime string?
dddddd has quit [Ping timeout: 256 seconds]
<KoljaKube> OK, as far as I can tell that would be @reify https://github.com/ziglang/zig/issues/383
<pixelherodev> Yeah
<pixelherodev> Structure support is still hotly debated IIRC
<pixelherodev> @reify might support structs, it might not
<KoljaKube> I'm currently trying to create wrappers around shader uniform blocks, and having that feature would be awesome
<KoljaKube> An alternative would probably be accessors (i.e. something like operator=), but I guess that's contrary to the design goals of zig
<pixelherodev> Very much so, yeah
<pixelherodev> There's nothing stopping you from defining a function for it though
<pixelherodev> e.g. `.@"="()`
<KoljaKube> Is @ syntax I don't know or a placeholder?
<pixelherodev> @"" lets you put arbitrary unicode as an identifier
<pixelherodev> e.g. @"角" (an example I used because I had that kanji on screen at the time, not for any real reason :)
<KoljaKube> Ah, I see, thanks
<KoljaKube> Maybe I'm also overlooking other possibilities. What I need is a packed struct containing a variable number of fields of variable types, and at the same time fill out some C structs with metadata about that struct
<KoljaKube> I've been trying to go from the metadata to the type, but I guess I should look into @typeInfo and doing it the other way around
waleee-cl has joined #zig
josias has joined #zig
<josias> How do I get the length of a zero-terminated string?
<daurnimator> josias: mem.lenZ
<daurnimator> josias: though you probably want to just turn it into a slice? in which case mem.spanZ
Mulugruntz has quit [Quit: ZZZzzz…]
Akuli has joined #zig
heitzmann has quit [Ping timeout: 264 seconds]
Akuli has quit [Ping timeout: 264 seconds]
_whitelogger has joined #zig
wootehfoot has joined #zig
heitzmann has joined #zig
josias has quit [Quit: Quit]
frett27 has joined #zig
<pixelherodev> just span should work, no? assuming the string type is sentineled
<ifreund> yes
Akuli has joined #zig
aerona has joined #zig
<lemmi> daurnimator: well the flamegraph is telling me that i'm wasting my time in my map implementation. and that's something i knew already :D
<lemmi> most of the small stuff is inlined and so the stack traces all just report one function, so that's useless
<lemmi> i need to watch that tracy video again, i hope i can get it running
cole-h has joined #zig
xackus has joined #zig
SimonNa has quit [Remote host closed the connection]
<xackus> ugh, looks like by fixing https://github.com/ziglang/zig/issues/5791 I uncovered a bug in zig compiler-rt
<xackus> I thought it would be an easy fix
_whitelogger has joined #zig
<xackus> compiler-rt needs to be fixed anyway
<ikskuh> oh true :D
redj has quit [Ping timeout: 264 seconds]
redj has joined #zig
dddddd has joined #zig
<leeward> yeti: Turns out there's no need to go through the assembler step; build-obj works fine. Updated https://hg.sr.ht/~nmichaels/zig-avr-testbed
bastienleonard has quit [Ping timeout: 244 seconds]
<leeward> Does Zig know how to generate ISR code? I don't see anything about it on any of the doc pages.
<yeti> \o/
<ikskuh> leeward, callconv(.Interrupt)
<leeward> ikskuh: Huzzah, thanks.
bastienleonard has joined #zig
forgot-p1ssword has joined #zig
<forgot-p1ssword> May I ask what the meaning of a comment with an exclamation mark (//?) is? I just saw it in std/log.zig
forgot-p1ssword has quit [Client Quit]
<leeward> You mean //! ?
<leeward> Top level doc comments
<scientes> !?!?!?!?!?!?!
<forgot-password> Ah yes, sorry
<forgot-password> I see. Is that also inteded to be how you document libraries?
<leeward> Exported symbols should be documented with normal doc comments (https://ziglang.org/documentation/master/#Doc-comments)
<scientes> except they are the same to the parser
<leeward> User (not maintainer) documentation that doesn't fit with a particular symbol should be in //! comments.
<scientes> so really the documentation belongs somewhere else
<leeward> scientes: I'm not sure what you mean by that. Documentation definitely belongs in the source so it can be generated.
<forgot-password> leeward: Okay, so when I want to show some examples and explain the overall idea of a file this all goes in the top level doc comments
<leeward> forgot-password: exactly
<scientes> leeward, i am saying that the documentation should mention that the parser doesn't care after the first two //
<leeward> The doc generator parser certainly does care.
<forgot-password> Will zig fmt format the code snippets eventually? Or maybe it already does that... Zig surprises me every single day
<leeward> Which code snippets?
<leeward> In comments?
<forgot-password> The code blocks in the doc comments
<leeward> It doesn't now. I think it would need a way to know that a piece of text is code to be formatted.
<leeward> A heuristic might have false positives, which would be pretty annoying.
<forgot-password> Since this looks like markdown, I guess it could just determine that when you write ```zig it should format that block
<leeward> It's worth a proposal.
<forgot-password> Proposal = Github issue with respective flags?
<leeward> yep
<forgot-password> Alright then
stripedpajamas has joined #zig
bbrittain has quit [*.net *.split]
benaiah has quit [*.net *.split]
marler8997 has quit [*.net *.split]
yeti has quit [*.net *.split]
cow-orker has quit [*.net *.split]
Stephie has quit [*.net *.split]
idxu has quit [*.net *.split]
companion_cube has quit [*.net *.split]
nore has quit [*.net *.split]
yeti has joined #zig
Stephanie has joined #zig
bbrittain has joined #zig
benaiah has joined #zig
cow-orker has joined #zig
Stephie has joined #zig
idxu has joined #zig
companion_cube has joined #zig
nore has joined #zig
Stephie has quit [Quit: Fuck this shit, I'm out!]
yeti has quit [*.net *.split]
Snetry has quit [*.net *.split]
ai19 has quit [*.net *.split]
bens has quit [*.net *.split]
hspak has quit [*.net *.split]
hspak has joined #zig
bens has joined #zig
yeti has joined #zig
Snetry has joined #zig
ai19 has joined #zig
Snetry has quit [Max SendQ exceeded]
Snetry- has joined #zig
daurnimator has quit [*.net *.split]
rooke has quit [*.net *.split]
nmeum has quit [*.net *.split]
procnto has quit [*.net *.split]
JimRM has quit [*.net *.split]
ovf has quit [*.net *.split]
creationix has quit [*.net *.split]
cncl has quit [*.net *.split]
gonz_ has quit [*.net *.split]
karrick has quit [*.net *.split]
SyrupThinker has quit [*.net *.split]
strmpnk has quit [*.net *.split]
Cloudef has quit [*.net *.split]
lanodan has quit [*.net *.split]
sqwishy has quit [*.net *.split]
washbear has quit [*.net *.split]
teqwve has quit [*.net *.split]
simontime has quit [*.net *.split]
RoguePointer has quit [*.net *.split]
Wolf480pl has quit [*.net *.split]
jaredmm has quit [*.net *.split]
meowray has quit [*.net *.split]
euantor has quit [*.net *.split]
backwhack has quit [*.net *.split]
wjlroe has quit [*.net *.split]
mokafolio has quit [*.net *.split]
simontime has joined #zig
nmeum has joined #zig
creationix has joined #zig
procnto has joined #zig
ovf has joined #zig
gonz_ has joined #zig
JimRM has joined #zig
cncl has joined #zig
karrick has joined #zig
sqwishy has joined #zig
strmpnk has joined #zig
SyrupThinker has joined #zig
lanodan has joined #zig
Cloudef has joined #zig
washbear has joined #zig
teqwve has joined #zig
daurnimator has joined #zig
rooke has joined #zig
jaredmm has joined #zig
Wolf480pl has joined #zig
RoguePointer has joined #zig
nmeum has quit [Excess Flood]
daurnimator has quit [Max SendQ exceeded]
ovf has quit [Max SendQ exceeded]
backwhack has joined #zig
euantor has joined #zig
mokafolio has joined #zig
wjlroe has joined #zig
meowray has joined #zig
drewr has quit [*.net *.split]
ifreund[m] has quit [*.net *.split]
pmwhite has quit [*.net *.split]
alva has quit [*.net *.split]
rom1504 has quit [*.net *.split]
Sahnvour has quit [*.net *.split]
yawniek has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
flokli has quit [*.net *.split]
ilmu has quit [*.net *.split]
nmeum has joined #zig
flokli has joined #zig
ifreund[m] has joined #zig
rom1504 has joined #zig
pmwhite has joined #zig
drvirgilio has joined #zig
ilmu has joined #zig
alva has joined #zig
drewr has joined #zig
Sahnvour has joined #zig
yawniek has joined #zig
dddddd has quit [*.net *.split]
andrewrk has quit [*.net *.split]
Nilium has quit [*.net *.split]
ikskuh has quit [*.net *.split]
][_R_][ has quit [*.net *.split]
chivay has quit [*.net *.split]
pixelherodev has quit [*.net *.split]
daurnimator has joined #zig
dddddd has joined #zig
Nilium has joined #zig
andrewrk has joined #zig
][_R_][ has joined #zig
ikskuh has joined #zig
pixelherodev has joined #zig
chivay has joined #zig
procnto has quit [Ping timeout: 260 seconds]
Stephanie has quit [*.net *.split]
tgschultz has quit [*.net *.split]
gpanders has quit [*.net *.split]
mmx870 has quit [*.net *.split]
Tharro has quit [*.net *.split]
nikki93 has quit [*.net *.split]
johnLate has quit [*.net *.split]
Flaminator has quit [*.net *.split]
ovf has joined #zig
fengb has quit [Ping timeout: 244 seconds]
watzon has quit [Ping timeout: 244 seconds]
Stephanie has joined #zig
tgschultz has joined #zig
gpanders has joined #zig
Tharro has joined #zig
mmx870 has joined #zig
johnLate has joined #zig
nikki93 has joined #zig
Flaminator has joined #zig
pmwhite has quit [Ping timeout: 260 seconds]
lunamn has quit [*.net *.split]
Akuli has quit [*.net *.split]
wootehfoot has quit [*.net *.split]
heitzmann has quit [*.net *.split]
knebulae has quit [*.net *.split]
JoshAshby has quit [*.net *.split]
so has quit [*.net *.split]
tines9 has quit [*.net *.split]
ncon has quit [*.net *.split]
edr has quit [*.net *.split]
procnto has joined #zig
r0bby has quit [Ping timeout: 244 seconds]
matti has quit [Ping timeout: 272 seconds]
backwhack has quit [Ping timeout: 259 seconds]
bgiannan has quit [*.net *.split]
Cadey has quit [*.net *.split]
lqd has quit [*.net *.split]
hamoko[m] has quit [*.net *.split]
cbarrett has quit [*.net *.split]
yrashk has quit [*.net *.split]
jmiven has quit [*.net *.split]
heitzmann has joined #zig
Akuli has joined #zig
wootehfoot has joined #zig
lunamn has joined #zig
JoshAshby has joined #zig
so has joined #zig
knebulae has joined #zig
ncon has joined #zig
tines9 has joined #zig
edr has joined #zig
bgiannan has joined #zig
jmiven has joined #zig
Cadey has joined #zig
hamoko[m] has joined #zig
lqd has joined #zig
cbarrett has joined #zig
yrashk has joined #zig
xackus has quit [*.net *.split]
forgot-password has quit [*.net *.split]
traviss_ has quit [*.net *.split]
gazler has quit [*.net *.split]
haliucinas has quit [*.net *.split]
jwmerrill has quit [*.net *.split]
nmeum has quit [Remote host closed the connection]
<leeward> That's weird. The first thing that happens in the generated ISR when I use `callconv(.Interrupt)` is it enables interrupts.
xackus has joined #zig
forgot-password has joined #zig
jwmerrill has joined #zig
traviss_ has joined #zig
gazler has joined #zig
haliucinas has joined #zig
backwhack has joined #zig
redj has quit [*.net *.split]
cole-h has quit [*.net *.split]
dongcarl has quit [*.net *.split]
pangey has quit [*.net *.split]
letoram has quit [*.net *.split]
diginet has quit [*.net *.split]
shachaf has quit [*.net *.split]
s-ol has quit [*.net *.split]
oats has quit [*.net *.split]
dom96 has quit [*.net *.split]
iwq has quit [*.net *.split]
doublej472 has quit [*.net *.split]
via has quit [*.net *.split]
GreaseMonkey has quit [*.net *.split]
nmeum has joined #zig
Snektron has quit [Ping timeout: 244 seconds]
return0e[m] has quit [Ping timeout: 244 seconds]
jicksaw has quit [*.net *.split]
Biolunar has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
l1x has quit [*.net *.split]
betawaffle has quit [*.net *.split]
Sphax has quit [*.net *.split]
redj has joined #zig
pangey has joined #zig
GreaseMonkey has joined #zig
s-ol has joined #zig
cole-h has joined #zig
letoram has joined #zig
shachaf has joined #zig
dom96 has joined #zig
diginet has joined #zig
oats has joined #zig
iwq has joined #zig
dongcarl has joined #zig
doublej472 has joined #zig
via has joined #zig
dom96 has quit [Excess Flood]
ovf has quit [Excess Flood]
betawaffle has joined #zig
Sphax has joined #zig
l1x has joined #zig
jicksaw has joined #zig
Biolunar has joined #zig
eddyb[legacy] has joined #zig
r0bby has joined #zig
betawaffle has quit [Max SendQ exceeded]
traviss_ has quit [Remote host closed the connection]
gazler has quit [Remote host closed the connection]
xackus has quit [Remote host closed the connection]
xackus_ has joined #zig
linuxgemini has quit [*.net *.split]
ave_ has quit [*.net *.split]
skrzyp1 has quit [*.net *.split]
Ekho has quit [*.net *.split]
traviss_ has joined #zig
wilsonk has quit [*.net *.split]
leeward has quit [*.net *.split]
neptunepink has quit [*.net *.split]
Thalheim has quit [*.net *.split]
squeek502 has quit [*.net *.split]
Cynthia has quit [*.net *.split]
lohengrin has quit [*.net *.split]
commander has quit [*.net *.split]
gazler has joined #zig
nmeum has quit [Remote host closed the connection]
bastienleonard has quit [*.net *.split]
KoljaKube has quit [*.net *.split]
mixi has quit [*.net *.split]
nerthus has quit [*.net *.split]
guan has quit [*.net *.split]
Yardanico has quit [*.net *.split]
halbeno has quit [*.net *.split]
rzezeski has quit [*.net *.split]
mattmurr has quit [*.net *.split]
ky0ko has quit [*.net *.split]
shakesoda has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
utzig has quit [*.net *.split]
dputtick has quit [*.net *.split]
kushalp has quit [*.net *.split]
tracernz has quit [*.net *.split]
tdeo has quit [*.net *.split]
kkd has quit [*.net *.split]
urluck has quit [*.net *.split]
dvn has quit [*.net *.split]
mht has quit [*.net *.split]
M-ou-se has quit [*.net *.split]
JX7P has quit [*.net *.split]
m6w6 has quit [*.net *.split]
so has quit [Max SendQ exceeded]
ave_ has joined #zig
squeek502 has joined #zig
linuxgemini has joined #zig
skrzyp1 has joined #zig
Ekho has joined #zig
wilsonk has joined #zig
leeward has joined #zig
Thalheim has joined #zig
neptunepink has joined #zig
lohengrin has joined #zig
Cynthia has joined #zig
commander has joined #zig
yrashk has quit [Ping timeout: 246 seconds]
ovf has joined #zig
Ekho has quit [Max SendQ exceeded]
nmeum has joined #zig
dom96 has joined #zig
cbarrett has quit [Ping timeout: 246 seconds]
matti has joined #zig
BaroqueLarouche has quit [Remote host closed the connection]
hamoko[m] has quit [Remote host closed the connection]
ifreund[m] has quit [Remote host closed the connection]
alva has quit [Remote host closed the connection]
KoljaKube has joined #zig
mixi has joined #zig
guan has joined #zig
nerthus has joined #zig
halbeno has joined #zig
Yardanico has joined #zig
mattmurr has joined #zig
rzezeski has joined #zig
shakesoda has joined #zig
ky0ko has joined #zig
kkd has joined #zig
dvn has joined #zig
utzig has joined #zig
kushalp has joined #zig
jzelinskie has joined #zig
dputtick has joined #zig
tdeo has joined #zig
JX7P has joined #zig
tracernz has joined #zig
urluck has joined #zig
M-ou-se has joined #zig
mht has joined #zig
m6w6 has joined #zig
bastienleonard has joined #zig
terinjokes has quit [*.net *.split]
blueberrypie has quit [*.net *.split]
terinjokes has joined #zig
blueberrypie has joined #zig
dch has quit [*.net *.split]
mgxm has quit [*.net *.split]
dottedmag has quit [*.net *.split]
torque has quit [*.net *.split]
tyler569 has quit [*.net *.split]
Cynthia has quit [Ping timeout: 252 seconds]
eddyb[legacy] has quit [Ping timeout: 244 seconds]
torque has joined #zig
dottedmag has joined #zig
tyler569 has joined #zig
mgxm has joined #zig
dch has joined #zig
nmeum has quit [Remote host closed the connection]
lemmi has quit [*.net *.split]
danyspin97 has quit [*.net *.split]
scientes has quit [*.net *.split]
nickster has quit [*.net *.split]
shodan45 has quit [*.net *.split]
crimson_penguin has quit [*.net *.split]
lemmi has joined #zig
shodan45 has joined #zig
scientes has joined #zig
danyspin97 has joined #zig
nickster has joined #zig
crimson_penguin has joined #zig
Cynthia has joined #zig
yrashk has joined #zig
alva has joined #zig
skrzyp1 has quit [Ping timeout: 265 seconds]
jzelinskie has quit [Ping timeout: 274 seconds]
guan has quit [Ping timeout: 274 seconds]
guan has joined #zig
betawaffle has joined #zig
so has joined #zig
<scientes> leeward, post?
<leeward> yeti: I got the interrupt version working. It's a bit weird that llvm emits an sei at the start of the ISR, but it blinks.
<leeward> scientes: hmm?
jzelinskie has joined #zig
skrzyp1 has joined #zig
cbarrett has joined #zig
Ekho- has joined #zig
<scientes> oh for avr-8 interrupts
eddyb[legacy] has joined #zig
<yeti> yip... makes no sense... without interrupt, the ir wouldnt be run... so enabling it there looks strange
Akuli has quit [*.net *.split]
heitzmann has quit [*.net *.split]
wootehfoot has quit [*.net *.split]
lunamn has quit [*.net *.split]
knebulae has quit [*.net *.split]
JoshAshby has quit [*.net *.split]
tines9 has quit [*.net *.split]
ncon has quit [*.net *.split]
edr has quit [*.net *.split]
heitzmann has joined #zig
Akuli has joined #zig
wootehfoot has joined #zig
lunamn has joined #zig
JoshAshby has joined #zig
knebulae has joined #zig
ncon has joined #zig
tines9 has joined #zig
edr has joined #zig
ifreund[m] has joined #zig
return0e[m] has joined #zig
pmwhite has joined #zig
hamoko[m] has joined #zig
fengb has joined #zig
BaroqueLarouche has joined #zig
Snektron has joined #zig
<leeward> scientes: Yep, that looks like a test that ensures it does the dumb thing.
<leeward> Also, that signal handler test ensures that it doesn't emit an sei. That seems to be the only difference between signal and interrupt.
<leeward> Indeed, when I use callconv(.Signal) for my interrupt, it doesn't emit the sei.
SimonNa has joined #zig
<leeward> Yep, the ISR is functionally exactly the same as what GCC emits with ISR when I use callconv(.Signal). I think this is an llvm bug.
ur5us has joined #zig
<stripedpajamas> should I be able to get ReturnType of a bound fn? currently it throws during compile with "type does not support field access"
Ekho- is now known as Ekho
<andrewrk> stripedpajamas, the language isn't really decided on what happens with bound functions beyond anything but calling them directly. I suggest to use the non-bound function for your purposes
wootehfoot has quit [Quit: Leaving]
<stripedpajamas> usecase is passing an iterator to a function and that function calling next and maybe returning the value
<stripedpajamas> i suppose i could hard code the return type for now
heitzmann has quit [Quit: WeeChat 2.8]
Akuli has quit [Quit: Leaving]
<forgot-password> Does a string literal of size n not automatically cast to [n]u8?
heitzmann has joined #zig
<leeward> [n]const u8?
xackus_ has quit [Quit: Leaving]
<forgot-password> Then it says 'const qualifier invalid on array type'
<leeward> Huh, weird.
<leeward> const arr: [7]u8 = "1234567".*;
<leeward> but it looks like string literals want to be slices.
<leeward> const arr: []const u8 = "1234567";
<forgot-password> leeward: []const u8 works with a declaration, but not in a struct field, which is why it fails for me
<forgot-password> Is there a reason for that?
<forgot-password> Oh what, sorry, that's a slice...
<forgot-password> Haha, well, brain switched off for a second. Ignore my last three messages
aerona has quit [Read error: Connection reset by peer]
stripedpajamas has quit [Quit: sleeping...]
Mulugruntz has joined #zig
knebulae has quit [Read error: Connection reset by peer]
Mulugruntz has quit [Quit: ZZZzzz…]
Mulugruntz has joined #zig
knebulae has joined #zig
<pixelherodev> andrewrk: how's the register allocator coming along?
<pixelherodev> Rather, how's the addition + test?
<andrewrk> it's solved on paper, but not in code yet
<andrewrk> you might call it... paperware
<fengb> And I thought my jokes were bad
<pixelherodev> I'm getting to work on CBE within ten minutes :D
<pixelherodev> Just finished some major improvements to scas :)
<andrewrk> having to give up my main dev laptop was pretty disruptive to my productivity on the register allocation stuff. that's why I switched over to a task that requires less focus, like the hash map thing
<andrewrk> dell promised me less than 5 business days to get it back. we'll see
dermetfan has quit [Ping timeout: 244 seconds]
bastienleonard has quit [Ping timeout: 272 seconds]