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/
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #zig
kevsmith has quit [Remote host closed the connection]
kevsmith has joined #zig
ur5us has quit [Ping timeout: 240 seconds]
Kingsquee has quit [Ping timeout: 260 seconds]
ur5us has joined #zig
plumm has quit [Quit: Lost terminal]
chapl has quit [Remote host closed the connection]
nephele_ has joined #zig
nephele has quit [Ping timeout: 260 seconds]
nephele_ is now known as nephele
marijnfs has joined #zig
marijnfs_ has quit [Ping timeout: 260 seconds]
benjif has quit [Ping timeout: 256 seconds]
benjif has joined #zig
benjif has quit [Ping timeout: 246 seconds]
klltkr has joined #zig
klltkr__ has quit [Ping timeout: 256 seconds]
xackus has joined #zig
xackus_ has quit [Ping timeout: 260 seconds]
slowtyper has joined #zig
antaoiseach has joined #zig
* daurnimator is back :) my internet has been dead for a couple of days
<mikdusan> ouch
dimenus has quit [Ping timeout: 246 seconds]
aerona has joined #zig
antaoiseach has quit [Quit: leaving]
Biolunar has quit [Ping timeout: 272 seconds]
CantrellD has joined #zig
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #zig
ur5us has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
foobles has quit [Ping timeout: 245 seconds]
aerona has quit [Quit: Leaving]
metaleap has joined #zig
klltkr has quit [Ping timeout: 260 seconds]
Biolunar has joined #zig
pystub has joined #zig
pystub has quit [Ping timeout: 260 seconds]
dnmllr has joined #zig
dnmllr has quit [Quit: Textual IRC Client: www.textualapp.com]
cole-h has quit [Quit: Goodbye]
slurpie has quit [Ping timeout: 246 seconds]
FireFox317 has joined #zig
constptr has joined #zig
ur5us has joined #zig
wootehfoot has joined #zig
<Dominic[m]> kristoff_it: short of making a full-on issue and exposing myself. My worry as a non-member of discord is that I'll need to setup an account on another platform - which is a friction for me. I wonder if it might be for others too. I'd really like to attend though!
ifreund has joined #zig
zie has quit [Quit: ZNC - https://znc.in]
ur5us has quit [Ping timeout: 240 seconds]
constptr has quit [Quit: Connection closed for inactivity]
linuxgemini has quit [Quit: ave on thelounge.lasagna.dev]
linuxgemini has joined #zig
dddddd has joined #zig
moo has joined #zig
<l1x> hi guys, does anybody have an idea about how much effort would be to write ebpf code in zig as opposed to C? https://elixir.bootlin.com/linux/v4.14.2/source/samples/bpf/sock_example.c
wootehfoot has quit [Ping timeout: 264 seconds]
<ikskuh> should be a bit less code actually
<ikskuh> but you have to provide the macros for BPF_STX_MEM yourself
<l1x> ikskuh: i am totally new to ebpf and i would like to avoid writing C at all cost :)
<ikskuh> yeah you can use zig instead of C here :)
retrhelo has joined #zig
retrhelo has left #zig [#zig]
dimenus has joined #zig
dimenus has quit [Client Quit]
metaleap has quit [Quit: Leaving]
metaleap has joined #zig
FireFox317 has quit [Remote host closed the connection]
FireFox317 has joined #zig
klltkr has joined #zig
FireFox317 has quit [Ping timeout: 258 seconds]
klltkr has quit [Quit: Leaving]
FireFox317 has joined #zig
FireFox317_ has joined #zig
FireFox317 has quit [Ping timeout: 264 seconds]
<BaroqueLarouche> So today I'll presenting Zig to my colleagues in a one-hour talk, wish me luck :)
<fengb> Good luck!
<ikskuh> good luck and have fun!
<BaroqueLarouche> thanks!
dimenus has joined #zig
drp has quit [Remote host closed the connection]
Akuli has joined #zig
dch has quit []
dch has joined #zig
cole-h has joined #zig
FireFox317_ has quit [Ping timeout: 256 seconds]
metaleap has quit [Remote host closed the connection]
metaleap has joined #zig
CantrellD has quit [Ping timeout: 244 seconds]
FireFox317_ has joined #zig
slurpie has joined #zig
pystub has joined #zig
waleee-cl has joined #zig
<BaroqueLarouche> went really well!
<fengb> 🎉
<FireFox317_> Nice!
<andrewrk> BaroqueLarouche, neat, where do you work?
<BaroqueLarouche> Employees do dev talk each month on tech/programming, doesn’t have to be work related
<andrewrk> looks interesting
<andrewrk> FireFox317_, I think it may be time to enable evented I/O tests on the CI :)
<andrewrk> at least for the OS's on which it is working
slurpie has quit [Ping timeout: 258 seconds]
benjif has joined #zig
<FireFox317_> andrewrk, yes indeed i think so too
metaleap has quit [Quit: Leaving]
dimenus has quit [Quit: WeeChat 2.8]
st4ll1 has quit [Quit: WeeChat 2.8]
<pmwhite> Not sure how I should use FreeType from Zig. The documented way to use it is with `#include <ft2build.h>` followed by `#include FT_FREETYPE_H`. Unsuprisingly, Zig is not happy to translate the macro `#define FT_FREETYPE_H <header_location.h>`
<ifreund> pmwhite: you could make a shim header that does than include, then @cInclude your shim from zig
<pmwhite> That's worked. But why? I thought Zig eventually will translate the entire header, which involves everything that each header includes?
<andrewrk> ifreund, pmwhite: @cImport blocks support @cDefines
dimenus has joined #zig
<tdeo> i don't think you can @cInclude with a path string from a macro though
<ifreund> andrewrk: FT_FREETYPE_H is a define for the header location that need to be imported, i dont think zig can do that?
<pmwhite> ^
<ifreund> pmwhite: i don't know why it works lol
<pmwhite> It expands to `<freetype/freetype.h>`, which is simple enough that I could just use that, but it's not the documented way.
<ifreund> does it always though? there's got to be some reason freetype wants you to do that
<ifreund> i mean as far as I understand it #2070 just lets you do what you can already do by creating a custom c header to import from inline
foobles has joined #zig
<andrewrk> that's correct
<andrewrk> you could always just make a .h file and @cImport that
dimenus has quit [Quit: WeeChat 2.8]
slurpie has joined #zig
antaoiseach has joined #zig
metaleap has joined #zig
dimenus has joined #zig
dimenus has quit [Quit: WeeChat 2.8]
dimenus has joined #zig
layneson has joined #zig
<Amun_Ra> I found quite weird behavior of @sizeOf(packed struct): http://dpaste.com/3RVARB4
<fengb> Yeah packed structs are buggy
Chris660 has joined #zig
antaoiseach has quit [Quit: leaving]
dimenus has quit [Quit: WeeChat 2.8]
dimenus has joined #zig
st4ll1 has joined #zig
Xavi92 has joined #zig
dimenus has quit [Quit: WeeChat 2.8]
<xackus> I made a gdb pretty printer for stage1 ZigList
<xackus> andrewrk do you want it in the main repo?
<andrewrk> xackus, sure if it doesn't cause any problems with the build system
<andrewrk> that sounds handy
<xackus> it won't
<xackus> it is handy, but there are plenty of lists that are not ZigLists
foobles has quit [Remote host closed the connection]
<xackus> andrewrk take a look at https://github.com/ziglang/zig/pull/5284
<xackus> is tools the appropriate directory?
plumm has joined #zig
FireFox317_ has quit [Remote host closed the connection]
FireFox317_ has joined #zig
dermetfan has joined #zig
st4ll1 has quit [Ping timeout: 256 seconds]
Chris660 has quit [Quit: WeeChat 2.8]
dnmllr has joined #zig
dimenus has joined #zig
Kingsquee has joined #zig
mcf has quit [Excess Flood]
mcf has joined #zig
mcf has quit [Excess Flood]
mcf has joined #zig
Akuli has quit [Quit: Leaving]
mcf has quit [Quit: quit]
mcf has joined #zig
pystub has quit [Ping timeout: 256 seconds]
Winterfury has quit []
frett27_ has joined #zig
frett27 has quit [Ping timeout: 246 seconds]
metaleap has quit [Quit: Leaving]
Xavi92 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
FireFox317_ has quit [Ping timeout: 260 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #zig
kevsmith has quit [Remote host closed the connection]
FireFox317_ has joined #zig
dermetfan has quit [Ping timeout: 244 seconds]
halbeno has quit [Remote host closed the connection]
halbeno has joined #zig