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/
keegans has quit [Ping timeout: 240 seconds]
lunamn has quit [Ping timeout: 264 seconds]
lunamn has joined #zig
traviss has quit [Quit: Leaving]
wilsonk has quit [Ping timeout: 240 seconds]
wilsonk has joined #zig
<pixelherodev> Actually using ACPI now :) "ACPI 1.0 detected, assuming i8042 controller presence..."
<pixelherodev> Or, for later revisions, actually checking before initializing
<pixelherodev> ... ugh. On real hardware (amd64 in legacy mode), anything involving floats (f32/f64) craps out and gives nan
<daurnimator> real hardware would be in real mode though ;)
<andrewrk> I'm new to os dev but my understanding is the goal is to get out of legacy mode as soon as possible
<pixelherodev> "legacy mode" meaning BIOS emulation
<pixelherodev> Also meaning this runs as a x86 kernel, not x64
<pixelherodev> But yeah, really sick of QEMU trying to hold my hands and work when it shouldn't.
<andrewrk> I think that's rather a missing feature of QEMU than an anti feature
<andrewrk> it's a lot easier to test (from the perspective of a QEMU developer) that it is able to emulate working software, than it is to test whether it emulates non-working software the same way as the hardware
<pixelherodev> It doesn't require enabling the FPU. I'd say "probably not hard to emulate," but I've never tried and I try not to assume knowledge
saskwach has joined #zig
mahmudov has quit [Ping timeout: 264 seconds]
muffindrake has quit [Ping timeout: 246 seconds]
muffindrake has joined #zig
chemist69 has quit [Ping timeout: 276 seconds]
chemist69 has joined #zig
donpdonp has joined #zig
ltriant has quit [Quit: leaving]
_whitelogger has joined #zig
jjido has joined #zig
<Snektron> Floats have all kind of weird intrinsics, if you want to emulate an FPU you gotta implement all those
<Snektron> Like rounding modes
mahmudov has joined #zig
marijnfs has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samtebbs has joined #zig
samtebbs has quit [Client Quit]
slice has quit [Ping timeout: 246 seconds]
slice has joined #zig
samtebbs has joined #zig
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
waleee-cl has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mahmudov has quit [Ping timeout: 264 seconds]
<samtebbs> mq32: Oh nice, never heard of it before
<samtebbs> Has anyone here tried to use std.debug.openDwarfDebugInfo on freestanding i386?
<samtebbs> It's working on x86_64-linux, i386-linux, arm-linux and aarch64-linux but returns InvalidDebugInfo on i386-freestanding
LargeEpsilon has joined #zig
<mq32> samtebbs, bgiannan is here and i think he announced that he started rewriting the game in zig :)
mahmudov has joined #zig
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #zig
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #zig
LargeEpsilon has quit [Ping timeout: 265 seconds]
mahmudov has quit [Ping timeout: 240 seconds]
gruebite has joined #zig
marijnfs has quit [Ping timeout: 240 seconds]
donpdonp has quit [Quit: ZNC 1.7.1 - https://znc.in]
wootehfoot has joined #zig
mahmudov has joined #zig
donpdonp has joined #zig
LargeEpsilon has joined #zig
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LargeEpsilon has quit [Ping timeout: 276 seconds]
samtebbs has quit [Quit: leaving]
<bgiannan> mq32, samtebbs, yeah i did :)
Ichorio has joined #zig
<fengb> What language is it currently in?
<bgiannan> lua
<bgiannan> with love 2d
<waleee-cl> are you talking about the dwarf-fortress-lite game?
<bgiannan> yes. even though it has little to do with DF apart from the visual style
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #zig
wootehfoot has quit [Quit: Leaving]
wootehfoot has joined #zig
jjido has joined #zig
kllr_sbstn has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
donpdonp has left #zig ["WeeChat 2.6"]
<nrdmn> is there a rough timeframe for lambdas?
<pixelherodev> Don't we already basically have lambdas using e.g. `struct {fn func()void{}}.func`?
batok has joined #zig
<nrdmn> pixelherodev: error: expected type 'extern fn(...) usize', found '(bound extern fn(...) usize)'
<nrdmn> what's 'bound'?
<andrewrk> it's a "fat pointer" that only works at comptime and the type only exists to make method call syntax work
<pixelherodev> Snektron, true, but this is using KVM, so AFAIK it's not strictly speaking *emulating* the FPU
<fengb> pixelherodev: those are just local "anonymous" functions. True closures can capture local state
<pixelherodev> In theory, if you design a system to call the function with the containing struct (and take type `var` in the function), you might be able to do that
<pixelherodev> Also, I was talking lambdas, not closures
wootehfoot has quit [Read error: Connection reset by peer]
<fengb> Oh right
waleee-cl has quit [Quit: Connection closed for inactivity]
LargeEpsilon has joined #zig
lucus16 has joined #zig
lucus16 has quit [Quit: lucus16]
LargeEpsilon has quit [Ping timeout: 252 seconds]
Ichorio has quit [Ping timeout: 250 seconds]