00:35
<
davi2205 >
does Zig have visibility modifiers for struct fields?
00:35
<
davi2205 >
or anything that could hide some fields inside a struct?
00:36
_Vi has quit [Ping timeout: 272 seconds]
00:56
a_chou has joined #zig
01:27
davi2205 has quit [Quit: Leaving]
01:27
dermetfan has quit [Ping timeout: 260 seconds]
01:34
nvmd has quit [Quit: Later nerds.]
01:49
nephele_ has joined #zig
01:52
nephele has quit [Ping timeout: 256 seconds]
01:52
nephele_ is now known as nephele
02:15
xd1le has quit [Ping timeout: 260 seconds]
02:23
xd1le has joined #zig
02:42
xd1le has quit [Read error: Connection reset by peer]
02:43
<
pixelherodev >
ikskuh: congrats, Kristall is now my
*only* web browser :P
02:48
xd1le has joined #zig
03:51
xd1le has quit [Read error: Connection reset by peer]
03:58
xd1le has joined #zig
04:07
<
fengb >
Boo, readIntLittle won't let me use floats anymore :(
04:20
xd1le has quit [Read error: Connection reset by peer]
04:27
xd1le has joined #zig
04:45
knebulae has quit [Read error: Connection reset by peer]
04:55
cole-h has joined #zig
05:01
marnix has joined #zig
05:02
marnix has quit [Read error: Connection reset by peer]
05:02
marnix has joined #zig
05:28
knebulae has joined #zig
05:29
waleee-cl has quit [Quit: Connection closed for inactivity]
05:41
_whitelogger has joined #zig
06:01
tsujp has joined #zig
06:55
marnix has quit [Ping timeout: 260 seconds]
06:56
marnix has joined #zig
06:57
cole-h has quit [Quit: Goodbye]
07:23
nephele_ has joined #zig
07:24
moka has joined #zig
07:24
dermetfan has joined #zig
07:24
procnto has quit [Ping timeout: 240 seconds]
07:24
dch has quit [Ping timeout: 240 seconds]
07:24
nephele_ has quit [Remote host closed the connection]
07:24
ovf has quit [Ping timeout: 244 seconds]
07:25
nephele has quit [Ping timeout: 240 seconds]
07:26
mokafolio has quit [Ping timeout: 244 seconds]
07:26
moka is now known as mokafolio
07:26
Bastian[m] has quit [Ping timeout: 244 seconds]
07:26
procnto has joined #zig
07:26
euantorano has quit [Ping timeout: 240 seconds]
07:26
nephele has joined #zig
07:26
rzezeski has quit [Ping timeout: 240 seconds]
07:27
strmpnk has quit [Ping timeout: 244 seconds]
07:27
ovf has joined #zig
07:28
euantorano has joined #zig
07:28
rzezeski has joined #zig
07:28
Bastian[m] has joined #zig
07:28
dch has joined #zig
07:30
strmpnk has joined #zig
07:35
nephele has quit [Read error: Connection reset by peer]
07:36
nephele has joined #zig
07:36
ifreund_ has quit [Ping timeout: 240 seconds]
07:37
nephele has quit [Read error: Connection reset by peer]
07:38
nephele has joined #zig
07:41
nephele has quit [Remote host closed the connection]
07:42
nephele has joined #zig
07:46
BaroqueLarouche has quit [Ping timeout: 244 seconds]
07:47
ifreund_ has joined #zig
07:50
nephele has quit [Quit: I dropped something]
07:52
a_chou has quit [Quit: a_chou]
07:52
BaroqueLarouche has joined #zig
07:52
dermetfan has quit [Ping timeout: 272 seconds]
07:53
nephele has joined #zig
08:20
marnix has quit [Read error: Connection reset by peer]
08:21
marnix has joined #zig
08:32
nephele has quit [Quit: I dropped something]
08:33
nephele has joined #zig
08:48
nephele has quit [Quit: I dropped something]
08:48
nephele has joined #zig
08:53
nephele has quit [Quit: I dropped something]
08:54
nephele has joined #zig
08:54
nephele has quit [Remote host closed the connection]
08:56
SimonNa has quit [Remote host closed the connection]
08:57
nephele has joined #zig
09:11
_Vi has joined #zig
10:17
nephele has quit [Quit: I dropped something]
10:25
nephele has joined #zig
10:43
jorge-jbs has left #zig ["User left"]
11:39
waleee-cl has joined #zig
11:59
marnix has quit [Ping timeout: 240 seconds]
12:00
marnix has joined #zig
12:04
xackus has joined #zig
12:36
nephele has quit [Quit: I dropped something]
12:38
nephele has joined #zig
12:51
xackus has quit [Remote host closed the connection]
12:52
xackus has joined #zig
13:18
dermetfan has joined #zig
13:21
marnix has quit [Read error: Connection reset by peer]
13:23
marnix has joined #zig
13:36
marnix has quit [Ping timeout: 240 seconds]
13:37
marnix has joined #zig
13:51
tracernz has quit [Ping timeout: 272 seconds]
13:53
tracernz has joined #zig
14:47
layneson has joined #zig
14:49
layneson has quit [Client Quit]
14:49
layneson has joined #zig
14:58
marnix has quit [Ping timeout: 244 seconds]
14:59
marnix has joined #zig
14:59
xackus has quit [Ping timeout: 244 seconds]
15:08
layneson has quit [Ping timeout: 240 seconds]
15:17
marnix has quit [Ping timeout: 240 seconds]
15:47
layneson has joined #zig
15:51
frett27 has joined #zig
16:03
bfredl has joined #zig
16:06
<
bfredl >
or is there some library already that abstracts opengl/glfw ?
16:06
<
frett27 >
think there are several others initiatives that exists, i saw some messages about it, (have you tried to search the archive ?)
16:07
<
bfredl >
the wayland compositor stuff by ifreund is probably relevant to my goals
16:07
<
bfredl >
not sure how much that gets into the opengl/egl layer of thigs
16:08
<
bfredl >
I have searched github
16:08
<
bfredl >
but not #zig chat logs or anything like that
16:08
<
bfredl >
wonderful, I will take a good look at that
16:08
<
bfredl >
(after eating some fooods)
16:09
<
frett27 >
hope you'll find an opened initiative
16:09
<
bfredl >
yea, I expect to write lowlevel stuff but it would be nice to bulid on something existing
16:10
<
bfredl >
work on a common sandcastle rather than a tiny one my own
16:13
<
ifreund >
bfredl: wlroots handles the rendering abstraction for me
16:13
<
ifreund >
you might want to consider SDL or similar
16:18
<
bfredl >
yea. depending on SDL might be a good starting point. "ideally" I only want to depend on system libopengl + minmal toolkit (just to get a X11 or wayland or win32 surface) + whatever zig wrapper already exists. But I can do what is simplest to get started first :]
16:19
<
ifreund >
well zig-window is what you want, but it's currently at vaporware stage
16:19
<
layneson >
C is so easy to use from Zig that I just pull in GLFW and Epoxy for OpenGL stuff
16:20
<
ifreund >
yeah it really just depends what level of abstraction you want to work at
16:20
<
ifreund >
zig can use all the usual C libs
16:21
smolck has joined #zig
16:21
<
bfredl >
Layneson: yea, that would be the "fork Tetris" path
16:22
<
bfredl >
I just wonder if it be useful to abstract half of Tetris into a lib
16:22
<
bfredl >
Or someone already done that
16:23
<
bfredl >
Just to get a surface + keyboard input
16:23
<
bfredl >
Then the app provides the shaders
16:23
tdeo has quit [Ping timeout: 256 seconds]
16:24
<
bfredl >
Ok, gotta eat now (but still reading the chan log later)
16:24
a_chou has joined #zig
16:25
tdeo has joined #zig
16:26
<
smolck >
is there a Zig code formatter somewhere?
16:28
<
Michcioperz >
like, the built-in `zig fmt`?
16:29
<
smolck >
yes! how did I not know that existed XD
16:30
<
smolck >
thank you Michcioperz
16:31
<
Michcioperz >
i realized it did because the vim plugin automatically runs it when you save
16:39
<
smolck >
ah, I should PR support for that to Neoformat
16:44
halbeno has quit [Quit: Leaving.]
16:44
smolck has left #zig [#zig]
16:46
marnix has joined #zig
16:47
halbeno has joined #zig
16:49
a_chou has quit [Ping timeout: 260 seconds]
17:13
linuxgemini has quit [Quit: Ping timeout (120 seconds)]
17:14
linuxgemini has joined #zig
17:16
cole-h has joined #zig
17:28
xackus has joined #zig
17:36
layneson has quit [Ping timeout: 240 seconds]
17:44
dermetfan has quit [Ping timeout: 240 seconds]
18:19
dermetfan has joined #zig
19:02
<
bfredl >
Andrewrk: sure I will look it
19:03
<
andrewrk >
I haven't tried it yet and it only has "initial commit" so I'm not sure. but I've seen the author in the zig discord
19:03
<
andrewrk >
so you could ask him about it probably
19:04
<
bfredl >
andrewrk: BTW, what plattforms will stage2 without LLVM support in the "short term"? amd64 with linux I suppose to start with?
19:05
<
bfredl >
or amd64 in general I guess
19:07
<
bfredl >
wasm support is cool, as well
19:08
<
bfredl >
(I am looking for a small embeddable "jit" for a c like lang, zig stage2 might fit the bill when it is "ready")
19:15
riba has joined #zig
19:16
cole-h has quit [Quit: Goodbye]
19:40
marnix has quit [Read error: Connection reset by peer]
19:41
marnix has joined #zig
19:57
riba has quit [Ping timeout: 260 seconds]
20:04
layneson has joined #zig
20:14
marnix has quit [Ping timeout: 244 seconds]
20:42
layneson has quit [Ping timeout: 244 seconds]
21:05
factormystic has quit [Read error: Connection reset by peer]
21:05
factormystic has joined #zig
21:25
nocontent has joined #zig
21:27
<
nocontent >
why you have choosed to use spaces for indentation?
21:28
<
bfredl >
nocontent: what would you use
21:28
<
bfredl >
form feeds?
21:30
<
nocontent >
using spaces for indentation is a wasted of storage
21:31
<
bfredl >
reconfiguring my vimrc to use tabs in zig would be a waste of bytes in my vimrc
21:31
<
nocontent >
i think zig fmt should use tabs
21:31
<
nocontent >
zig fmt should use tabs like go fmt
21:31
* bfredl
will work on an universal GPT-3 based code compressor, for the storage needs
21:32
<
nocontent >
i am not making fun
21:32
<
bfredl >
neither I am
21:32
<
bfredl >
data compression is serious business, and I think sparse neural networks gonna revolutionize it very soon
21:33
<
nocontent >
but using spaces for indentaion is not a good idea
21:34
<
nephele >
if using spaces is a waste of storage, then so is using letters .-.
21:34
<
nocontent >
you missed the point
21:34
<
nephele >
if you require that little storage to be reclaimed you should be using filesystem based compression
21:35
<
bfredl >
communicating "points" over IRC is waste of freenode network bandwidth
21:35
<
nocontent >
why would i realy on compression if i can use less bytes
21:36
mokafolio has quit [Quit: Bye Bye!]
21:37
<
nephele >
Uhhm, you do know what compression is, right?
21:37
<
nephele >
representing the same ammount of information in less physical spacre
21:37
<
nocontent >
i know that
21:37
<
nephele >
which is exactly what you want to do by using tabs instead of spaces, just that there are far more effective methods
21:38
mokafolio has joined #zig
21:38
<
nephele >
mathematics
21:39
<
nocontent >
why can't i use tabs over spaces?
21:40
<
bfredl >
you can do it
21:40
<
bfredl >
we cannot stop you
21:40
<
bfredl >
use a git filter
21:40
<
nocontent >
but zig fmt uses spaces
21:40
<
bfredl >
that converts upstream spaces to tabs on your computer machine
21:41
mokafolio has quit [Client Quit]
21:41
<
bfredl >
and vice versa on push
21:41
<
nocontent >
why can't zig fmt use tabs?
21:41
<
bfredl >
you can fork it
21:41
mokafolio has joined #zig
21:47
<
nocontent >
but i was blocked by ziglang on github
21:48
<
nocontent >
i just asked a question
21:48
<
nocontent >
also on twitter
21:53
<
nocontent >
the question was, Is there any simpler API?
21:53
<
nocontent >
to read a file to a buffer
21:55
<
nocontent >
andrewrk: why?
22:03
nocontent has quit [Quit: leaving]
22:05
nocontent has joined #zig
22:06
nocontent has quit [Client Quit]
22:23
xackus has quit [Ping timeout: 258 seconds]
22:26
<
WilhelmVonWeiner >
what is the "rb" namespace?
22:37
<
WilhelmVonWeiner >
oh it got deleted in master anyway
23:09
halbeno has quit [Remote host closed the connection]
23:10
halbeno has joined #zig
23:14
mokafolio has quit [Quit: Bye Bye!]
23:14
mokafolio has joined #zig
23:32
mokafolio has quit [Quit: Bye Bye!]
23:32
mokafolio has joined #zig
23:33
mokafolio has quit [Client Quit]
23:33
mokafolio has joined #zig
23:44
dermetfan has quit [Ping timeout: 240 seconds]