bbuccianti has quit [Remote host closed the connection]
earnestly has quit [Ping timeout: 256 seconds]
ur5us_ has joined #zig
elusive has joined #zig
bbuccianti has joined #zig
reductum has joined #zig
brzg has joined #zig
reductum has quit [Quit: WeeChat 3.1]
Miaourt has quit [Read error: Connection reset by peer]
Miaourt4 has joined #zig
jumpnbrownweasel has joined #zig
brzg has quit [Quit: leaving]
halbeno has quit [Remote host closed the connection]
halbeno has joined #zig
mikdusan has joined #zig
ur5us_ has quit [Ping timeout: 268 seconds]
ur5us_ has joined #zig
jumpnbro1 has joined #zig
xackus_ has joined #zig
xackus has quit [Ping timeout: 256 seconds]
xackus has joined #zig
xackus_ has quit [Ping timeout: 264 seconds]
olabaz has left #zig ["WeeChat 2.3"]
paulgrmn__ has quit [Ping timeout: 260 seconds]
notzmv has quit [Ping timeout: 260 seconds]
dimenus has quit [Ping timeout: 265 seconds]
gazler__ has joined #zig
gazler_ has quit [Ping timeout: 245 seconds]
elusive has quit [Quit: Leaving]
jumpnbro1 has left #zig ["WeeChat 2.8"]
jumpnbro1 has joined #zig
ur5us_ has quit [Ping timeout: 268 seconds]
<g-w1>
what is the best way to get a doc comment from std.zig.parse?
<g-w1>
hmm, seems like zls will be helpful here (trying to do the ast-based std documentation idea)
<g-w1>
yeah, i can just copy the zls logic here :)
<g-w1>
ok the api is nice :)
notzmv has joined #zig
bitmapper has quit [Quit: Connection closed for inactivity]
cole-h has joined #zig
sord937 has joined #zig
lohengrin has quit [Ping timeout: 246 seconds]
lohengrin has joined #zig
jumpnbrownweasel has quit [Ping timeout: 240 seconds]
jumpnbro1 has quit [Ping timeout: 268 seconds]
yyp has joined #zig
marler8997 has quit [Read error: Connection reset by peer]
gracefu has joined #zig
tnorth has joined #zig
ur5us_ has joined #zig
cole-h has quit [Ping timeout: 265 seconds]
daex has joined #zig
<andrewrk>
I just pushed `inline while` support to stage2 and I'm really pleased how it turned out :)
earnestly has joined #zig
<andrewrk>
although you can't really play with it yet because stage2 does not yet support `comptime var`
leon-p has joined #zig
FireFox317 has joined #zig
FireFox317 has quit [Client Quit]
earnestly has quit [Ping timeout: 256 seconds]
sundbp has joined #zig
<gracefu>
hi #zig, i just started dipping into the language after having read up on it for a few weeks and i struggled re: generic classes/interfaces.
<gracefu>
i put my questions here: https://godbolt.org/z/8oMv4c8d6 does anyone have any advice about this generic class stuff? thanks! give me some pointers to resources/answers? thanks!
<yyp>
gracefu: No, you're not supposed to put constructors in the type itself
<yyp>
You just use `const stream = SliceStream(i32); stream.data = ...
<yyp>
Or just pass the data directly in SliceStream() function: SliceStream(i32, my_data[0..3])
<gracefu>
ohhh
<gracefu>
what if i wanted to write a function that operates on streams? should they take in anytype?
[RMS] has quit [Quit: No Ping reply in 180 seconds.]
<gracefu>
i see reader. that's VERY CLOSE to what i wanted with interfaces :0
<yyp>
The problem is that you still need to use anytime as types returned by Reader are very thicc and it's almost impossible to recreate it (I tried)
<yyp>
s/anytime/anytype
<yyp>
nevermind
yyp has left #zig [#zig]
isolier has joined #zig
[RMS] has joined #zig
ur5us_ has quit [Ping timeout: 264 seconds]
RadekCh has joined #zig
<gracefu>
i tried to do the interfaces but inspired by io.Reader and it didn't work out well at all... haha... https://godbolt.org/z/WYMM5WsW1
<gracefu>
oh yyp left
<ifreund>
andrewrk: thanks, and yeah I kinda expected you'd want to tweak things a little :D
<ifreund>
all your changes make sense by the way
yyp has joined #zig
<gracefu>
yyp: not sure if you were interested in seeing my attempt at making interfaces inspired by io.Reader https://godbolt.org/z/WYMM5WsW1
<gracefu>
didn't really work out haha
<yyp>
That a bit too complicated for me
<yyp>
Why do you need so many wrappers?
<gracefu>
i don't think i do
<gracefu>
haha
<gracefu>
in hindsight i don't think i know what io.Reader is even doing
bitmapper has joined #zig
Rum has joined #zig
Stephie has quit [Quit: Fuck this shit, I'm out!]
Stephie has joined #zig
tefter has joined #zig
paulgrmn__ has joined #zig
dimenus has joined #zig
notzmv has quit [Ping timeout: 256 seconds]
Rum has quit [Quit: Leaving]
forgot-password has joined #zig
earnestly has joined #zig
v0idifyy has joined #zig
<v0idifyy>
is there no way to use a `select` style statement, like a function call? couldn't it theoretically be implemented directly as a function in the std event loop?
protheory8-new-m has quit [Ping timeout: 240 seconds]
V has joined #zig
kameliya[m] has quit [Ping timeout: 244 seconds]
jaens[m] has quit [Ping timeout: 240 seconds]
ziguana[m] has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 240 seconds]
Sumera[m] has quit [Ping timeout: 240 seconds]
watzon has quit [Ping timeout: 240 seconds]
cepheus has quit [Ping timeout: 240 seconds]
Snektron has quit [Ping timeout: 244 seconds]
Nypsie[m] has quit [Ping timeout: 244 seconds]
suhashebbar[m] has quit [Ping timeout: 258 seconds]
kshlm has quit [Ping timeout: 258 seconds]
kragacles has joined #zig
johnLate has joined #zig
haliucinas has joined #zig
crimson_penguin has joined #zig
SimonNa has quit [Quit: Leaving]
yyp_ is now known as yyp
jmiven has quit [Quit: reboot]
jmiven has joined #zig
<v0idify>
considering that the OpenSSL CVE(s) that made us reconnect just now are mostly use after frees, what can zig do to prevent this sort of bugs?
ave_ has joined #zig
jmiven has quit [*.net *.split]
lonjil2 has quit [*.net *.split]
fireglow has quit [*.net *.split]
CommunistWolf has quit [*.net *.split]
DarkUranium has quit [*.net *.split]
earnestly has quit [*.net *.split]
lohengrin has quit [*.net *.split]
jicksaw has quit [*.net *.split]
meinside has quit [*.net *.split]
msirabella has quit [*.net *.split]
travv0 has quit [*.net *.split]
cbix has quit [*.net *.split]
oats has quit [*.net *.split]
tdeo has quit [*.net *.split]
dch has quit [*.net *.split]
guan has quit [*.net *.split]
dutchie has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
rtpg has quit [*.net *.split]
karrick has quit [*.net *.split]
kwilczynski has quit [*.net *.split]
detha has quit [*.net *.split]
kragacles has quit [*.net *.split]
ncon has quit [*.net *.split]
zie has quit [*.net *.split]
Flaminator has quit [*.net *.split]
dingenskirchen has quit [*.net *.split]
lemmi has quit [*.net *.split]
proteusguy has quit [*.net *.split]
braket has quit [*.net *.split]
tughi has quit [*.net *.split]
paulgrmn__ has quit [*.net *.split]
halbeno has quit [*.net *.split]
philtor has quit [*.net *.split]
amk has quit [*.net *.split]
rowbee has quit [*.net *.split]
jhartog has quit [*.net *.split]
factormystic has quit [*.net *.split]
nore has quit [*.net *.split]
apotheon has quit [*.net *.split]
doublej41 has quit [*.net *.split]
via has quit [*.net *.split]
txdv has quit [*.net *.split]
mmurd has quit [*.net *.split]
Nilium has quit [*.net *.split]
ky0ko1 has quit [*.net *.split]
r0bby has quit [*.net *.split]
Sahnvour_ has quit [*.net *.split]
shurane has quit [*.net *.split]
betawaffle has quit [*.net *.split]
mgxm has quit [*.net *.split]
gonz_ has quit [*.net *.split]
andrewrk has quit [*.net *.split]
blackbeard420 has quit [*.net *.split]
ovf has quit [*.net *.split]
isolier has quit [*.net *.split]
[RMS] has quit [*.net *.split]
leon-p has quit [*.net *.split]
Miaourt4 has quit [*.net *.split]
mikdusan has quit [*.net *.split]
cow-orker has quit [*.net *.split]
gracefu has quit [*.net *.split]
chivay has quit [*.net *.split]
stilbruch1 has quit [*.net *.split]
benaiah has quit [*.net *.split]
companion_cube has quit [*.net *.split]
qbit has quit [*.net *.split]
viaken has quit [*.net *.split]
vent has quit [*.net *.split]
johnLate has quit [*.net *.split]
decentpenguin has quit [*.net *.split]
adsr has quit [*.net *.split]
letoram has quit [*.net *.split]
rinfo has quit [*.net *.split]
commander has quit [*.net *.split]
yyp has quit [*.net *.split]
gazler__ has quit [*.net *.split]
dfacto has quit [*.net *.split]
midgard has quit [*.net *.split]
osa1 has quit [*.net *.split]
justin_smith has quit [*.net *.split]
tomku has quit [*.net *.split]
cCCCCcccccCCc has quit [*.net *.split]
Tharro has quit [*.net *.split]
nullheroes has quit [*.net *.split]
Gliptic has quit [*.net *.split]
DarkPlutonium has joined #zig
zie has joined #zig
companion_cube has joined #zig
dfacto has joined #zig
via has joined #zig
rinfo has joined #zig
Miaourt has joined #zig
mschwaig1 has quit [Ping timeout: 248 seconds]
dutchie has joined #zig
isolier has joined #zig
factormystic has joined #zig
lonjil has joined #zig
gazler__ has joined #zig
doublej41 has joined #zig
Nilium has joined #zig
tughi has joined #zig
nore has joined #zig
DarkPlutonium is now known as DarkUranium
nore is now known as Guest73201
Flaminator has joined #zig
Tharro has joined #zig
jicksaw has joined #zig
CommunistWolf has joined #zig
fireglow has joined #zig
paulgrmn has joined #zig
detha has joined #zig
oats has joined #zig
lohengrin has joined #zig
letoram has joined #zig
mgxm has joined #zig
chivay has joined #zig
blackbeard420 has joined #zig
benaiah has joined #zig
halbeno has joined #zig
amk has joined #zig
dingenskirchen has joined #zig
mjsir911 has joined #zig
tdeo has joined #zig
mmurd has joined #zig
osa1 has joined #zig
decentpenguin has joined #zig
stilbruch has joined #zig
[RMS] has joined #zig
betawaffle has joined #zig
rowbee has joined #zig
kragacles has joined #zig
andrewrk has joined #zig
txdv has joined #zig
<txdv>
Hi guys
mschwaig1 has joined #zig
v0idify has quit [Remote host closed the connection]
v0idify has joined #zig
commander has joined #zig
qbit has joined #zig
johnLate has joined #zig
gracefu has joined #zig
fengb has joined #zig
<ifreund>
o7
mschwaig1 has quit [Ping timeout: 244 seconds]
mschwaig1 has joined #zig
midgard has joined #zig
dputtick has quit [*.net *.split]
JoshAshby has quit [*.net *.split]
yrashk has quit [*.net *.split]
_whitelogger has joined #zig
haliucinas has quit [*.net *.split]
so has quit [*.net *.split]
Stephie has quit [*.net *.split]
fputs has quit [*.net *.split]
sm2n has quit [*.net *.split]
nvmd has quit [*.net *.split]
WilhelmVonWeiner has quit [*.net *.split]
xentec has quit [*.net *.split]
bsrd has quit [*.net *.split]
Ankhers has quit [*.net *.split]
Thalheim has quit [*.net *.split]
racoon has quit [*.net *.split]
shachaf has quit [*.net *.split]
st4ll11 has quit [*.net *.split]
clee has quit [*.net *.split]
signop has quit [*.net *.split]
Amun_Ra has quit [*.net *.split]
zetta has quit [*.net *.split]
clee has joined #zig
shachaf has joined #zig
earnestly has joined #zig
so_ has joined #zig
haliucinas has joined #zig
jaens[m] has joined #zig
kameliya[m] has joined #zig
ugla has joined #zig
ziguana[m] has joined #zig
ifreund_ has joined #zig
bitonic has joined #zig
kshlm has joined #zig
suhashebbar[m] has joined #zig
Sumera[m] has joined #zig
siraben has joined #zig
leibniz[m] has joined #zig
cepheus has joined #zig
rom1504 has joined #zig
st4ll11 has joined #zig
sm2n has joined #zig
signop has joined #zig
flokli has joined #zig
xentec has joined #zig
Ankhers has joined #zig
washbear has joined #zig
superdump has joined #zig
watzon has joined #zig
g8U4Z1xGzjlm has joined #zig
<v0idify>
o7
mschwaig1 has quit [Ping timeout: 246 seconds]
mschwaig1 has joined #zig
flokli has quit [*.net *.split]
tracernz has quit [*.net *.split]
jaens[m] has quit [*.net *.split]
ziguana[m] has quit [*.net *.split]
kshlm has quit [*.net *.split]
leibniz[m] has quit [*.net *.split]
rowbee has quit [*.net *.split]
oats has quit [*.net *.split]
M-ou-se has quit [*.net *.split]
waleee-cl has quit [*.net *.split]
urluck has quit [*.net *.split]
m6w6 has quit [*.net *.split]
nickster has quit [*.net *.split]
backwhack has quit [*.net *.split]
tcsc has quit [*.net *.split]
lqd has quit [*.net *.split]
procnto has quit [*.net *.split]
nikki93 has quit [*.net *.split]
l1x has quit [*.net *.split]
tav has quit [*.net *.split]
bitmapper has quit [*.net *.split]
ifreund_ has quit [*.net *.split]
gracefu has quit [*.net *.split]
decentpenguin has quit [*.net *.split]
benaiah has quit [*.net *.split]
ifreund has quit [*.net *.split]
Xe has quit [*.net *.split]
skuzzymiglet has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
sjums has quit [*.net *.split]
idxu has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
m6w6 has joined #zig
rowbee has joined #zig
oats has joined #zig
waleee-cl has joined #zig
M-ou-se has joined #zig
nickster has joined #zig
lqd has joined #zig
backwhack has joined #zig
tcsc has joined #zig
bitmapper has joined #zig
nikki93 has joined #zig
l1x has joined #zig
ifreund_ has joined #zig
procnto has joined #zig
decentpenguin has joined #zig
benaiah has joined #zig
ifreund has joined #zig
skuzzymiglet has joined #zig
Xe has joined #zig
eddyb[legacy] has joined #zig
sjums has joined #zig
idxu has joined #zig
drvirgilio has joined #zig
tav has joined #zig
gracefu has joined #zig
tracernz has joined #zig
Guest73201 is now known as nore
l1x has quit [*.net *.split]
procnto has quit [*.net *.split]
tcsc has quit [*.net *.split]
nikki93 has quit [*.net *.split]
backwhack has quit [*.net *.split]
lqd has quit [*.net *.split]
tav has quit [*.net *.split]
bitmapper has quit [*.net *.split]
ifreund_ has quit [*.net *.split]
gracefu has quit [*.net *.split]
decentpenguin has quit [*.net *.split]
benaiah has quit [*.net *.split]
ifreund has quit [*.net *.split]
Xe has quit [*.net *.split]
skuzzymiglet has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
idxu has quit [*.net *.split]
sjums has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
sjums has joined #zig
kshlm has joined #zig
benaiah has joined #zig
drvirgilio has joined #zig
idxu has joined #zig
ifreund has joined #zig
gracefu has joined #zig
Xe has joined #zig
jaens[m] has joined #zig
leibniz[m] has joined #zig
tav has joined #zig
ziguana[m] has joined #zig
lqd has joined #zig
skuzzymiglet has joined #zig
flokli has joined #zig
nikki93 has joined #zig
backwhack has joined #zig
ziguana[m] has quit [*.net *.split]
leibniz[m] has quit [*.net *.split]
bitonic has quit [*.net *.split]
johnLate has quit [*.net *.split]
commander has quit [*.net *.split]
kragacles has quit [*.net *.split]
andrewrk has quit [*.net *.split]
mmurd has quit [*.net *.split]
tdeo has quit [*.net *.split]
halbeno has quit [*.net *.split]
fireglow has quit [*.net *.split]
CommunistWolf has quit [*.net *.split]
lonjil has quit [*.net *.split]
siraben has quit [*.net *.split]
yeti has quit [*.net *.split]
Biolunar has quit [*.net *.split]
earl has quit [*.net *.split]
kushalp has quit [*.net *.split]
larme has quit [*.net *.split]
procnto has joined #zig
johnLate has joined #zig
commande1 has joined #zig
tdeo has joined #zig
lonjil2 has joined #zig
CommunistWolf has joined #zig
earl has joined #zig
fireglow- has joined #zig
Biolunar_ has joined #zig
kragacles has joined #zig
yeti has joined #zig
eddyb[legacy] has joined #zig
kushalp has joined #zig
fireglow- is now known as fireglow
larme has joined #zig
halbeno has joined #zig
andrewrk has joined #zig
decentpenguin has joined #zig
Voltaire has joined #zig
mmurd has joined #zig
l1x has joined #zig
tcsc has joined #zig
jmiven has joined #zig
ifreund_ has joined #zig
bitmapper has joined #zig
v0idify has quit [*.net *.split]
sord937 has quit [*.net *.split]
nycex has quit [*.net *.split]
companion_cube has quit [Quit: WeeChat 2.9]
urluck_ has joined #zig
ziguana[m] has joined #zig
companion_cube has joined #zig
cbix has joined #zig
urluck_ is now known as urluck
leibniz[m] has joined #zig
bitonic has joined #zig
nycex has joined #zig
sord937 has joined #zig
siraben has joined #zig
v0idify has joined #zig
V has quit [*.net *.split]
wilsonk_ has quit [*.net *.split]
Ekho has quit [*.net *.split]
semarie has quit [*.net *.split]
jjsullivan has quit [*.net *.split]
s-ol has quit [*.net *.split]
Cloudef has quit [*.net *.split]
blueberrypie has quit [*.net *.split]
thaumavorio has quit [*.net *.split]
xackus has quit [*.net *.split]
notzmv has quit [*.net *.split]
cole-h has quit [*.net *.split]
bbuccianti has quit [*.net *.split]
Snetry has quit [*.net *.split]
Piraty has quit [*.net *.split]
knebulae has quit [*.net *.split]
Ristovski has quit [*.net *.split]
dongcarl has quit [*.net *.split]
neptunepink has quit [*.net *.split]
g-w1 has quit [*.net *.split]
dddddd has quit [*.net *.split]
di-wu has quit [*.net *.split]
ikskuh has quit [*.net *.split]
watzon has quit [*.net *.split]
fengb has quit [*.net *.split]
cepheus has quit [*.net *.split]
blackpawn has quit [*.net *.split]
squeek502 has quit [*.net *.split]
jsb has quit [*.net *.split]
linuxgemini has quit [*.net *.split]
ksynwa has quit [*.net *.split]
jaredmm has quit [*.net *.split]
drakonis has quit [*.net *.split]
pjz has quit [*.net *.split]
hspak has quit [*.net *.split]
dom96 has quit [*.net *.split]
edr has quit [*.net *.split]
euantorano has quit [*.net *.split]
casaca has quit [*.net *.split]
Techcable has quit [*.net *.split]
torque has quit [*.net *.split]
daex_ has quit [*.net *.split]
tefter has quit [*.net *.split]
dimenus has quit [*.net *.split]
sundbp has quit [*.net *.split]
daurnimator has quit [*.net *.split]
sjd has quit [*.net *.split]
Zloudef has joined #zig
neptunepink has joined #zig
mq32 has joined #zig
Zloudef is now known as Cloudef
edr has joined #zig
blackpawn has joined #zig
xackus has joined #zig
wilsonk has joined #zig
sundbp has joined #zig
squeek502 has joined #zig
jsb has joined #zig
g-w1 has joined #zig
thaumavorio has joined #zig
daex has joined #zig
Guest16651 has joined #zig
V has joined #zig
cole-h has joined #zig
tefter has joined #zig
watzon has joined #zig
drakonis has joined #zig
fengb has joined #zig
ksynwa has joined #zig
cepheus has joined #zig
dddddd has joined #zig
dom96 has joined #zig
Techcable has joined #zig
Snetry has joined #zig
jaredmm has joined #zig
[Ristovski] has joined #zig
knebulae has joined #zig
jjsullivan has joined #zig
s-ol has joined #zig
commande1 is now known as commander
bbuccianti has joined #zig
wootehfoot has joined #zig
dongcarl has joined #zig
jaens[m] has quit [Ping timeout: 248 seconds]
ziguana[m] has quit [Ping timeout: 245 seconds]
siraben has quit [Ping timeout: 258 seconds]
cepheus has quit [Ping timeout: 248 seconds]
bitonic has quit [Ping timeout: 250 seconds]
kshlm has quit [Ping timeout: 258 seconds]
watzon has quit [Ping timeout: 245 seconds]
superdump has quit [Ping timeout: 245 seconds]
kameliya[m] has quit [Ping timeout: 245 seconds]
suhashebbar[m] has quit [Ping timeout: 248 seconds]
fengb has quit [Ping timeout: 258 seconds]
ugla has quit [Ping timeout: 258 seconds]
Sumera[m] has quit [Ping timeout: 258 seconds]
leibniz[m] has quit [Ping timeout: 276 seconds]
ifreund_ has quit [Ping timeout: 276 seconds]
justin_smith has joined #zig
Ekho has joined #zig
noam has joined #zig
Piraty has joined #zig
raggi has joined #zig
watzon has joined #zig
siraben has joined #zig
leibniz[m] has joined #zig
Akuli has joined #zig
kshlm has joined #zig
Sumera[m] has joined #zig
bitonic has joined #zig
ifreund_ has joined #zig
caolanm has joined #zig
jaens[m] has joined #zig
ziguana[m] has joined #zig
[Ristovski] is now known as Ristovski
cepheus has joined #zig
ugla has joined #zig
superdump has joined #zig
kameliya[m] has joined #zig
Voltaire is now known as Thalheim
fengb has joined #zig
suhashebbar[m] has joined #zig
Amun_Ra has joined #zig
shodan45 has joined #zig
lunamn has joined #zig
torque has joined #zig
frett27 has joined #zig
cCCCCcccccCCc has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
wootehfoot has joined #zig
mikdusan has joined #zig
kwilczynski has joined #zig
bbuccianti has quit [Remote host closed the connection]
bbuccianti has joined #zig
bbuccianti has quit [Remote host closed the connection]
<remby>
I'm reading some zig code, and I'd like to know what these operators are `.*` and `?*` the first is on a variable, the former is on a import function