dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
MelMalik has joined #osdev
<MelMalik>
I am here in the hopes of reporting my progress on a project some of you may think a mite elementary. I will not disclose the nature thereof, to save my embarrassment when I'm told that it's actually momentous.
<gog>
tell me more
* geist
waits for it...
<kazinsal>
I also like to draft up ideas for things I'll do when I eventually win the lottery (despite rarely purchasing lottery tickets)
<gog>
kazinsal: come to iceland and smoke a blunt with the girls?
<MelMalik>
:p
<kazinsal>
gog: hell yeah
<MelMalik>
it involves adding nonblock I/O to an operating system that is simply confused by the very concept
<MelMalik>
it's probably a well complicated idea. i'd be working at such a low level that I'm without the benefit of many higher level constructs
gog has quit [Remote host closed the connection]
gog has joined #osdev
[itchyjunk] has joined #osdev
gog has quit [Ping timeout: 260 seconds]
dutch has quit [Quit: WeeChat 3.3]
dutch has joined #osdev
dormito has quit [Ping timeout: 260 seconds]
robert_ has joined #osdev
dormito has joined #osdev
devcpu has quit [Quit: leaving]
devcpu has joined #osdev
sts-q has joined #osdev
dormito has quit [Ping timeout: 264 seconds]
nyah has quit [Ping timeout: 268 seconds]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #osdev
<Belxjander>
MelMalik: so basically adding the mechanism for having IO operations complete async from the requests to have them happen?
<Belxjander>
MelMalik: the only question there will be how to enforce that you don't lose particulars of the operations or the data between the time of request-queuing and the completion of the IO...?
elastic_dog has quit [Ping timeout: 258 seconds]
srjek has quit [Ping timeout: 245 seconds]
[itchyjunk] has quit [Remote host closed the connection]
elastic_dog has joined #osdev
ss4 has quit [Ping timeout: 260 seconds]
<MelMalik>
Belxjander: great question
Oli has quit [Quit: leaving]
ss4 has joined #osdev
mahmutov has quit [Ping timeout: 260 seconds]
<Belxjander>
MelMalik: not really.... AmigaOS has a requests and queue model of IO operations where it is all async by default
<MelMalik>
ah
<Belxjander>
and that is the mental model of what I work with
<MelMalik>
I'm not trying to be async per se. More like unix faux async.
<Belxjander>
!?!? fake async?... no idea there
<MelMalik>
returning wouldblock instead of holding up execution when an op would block, but still ultimately working synchronously
<MelMalik>
it's possible that this model has me under stockholm syndrome
<josuah>
klange: does it use inotify and dbus or something homebuilt?
<klange>
Everything is "something homebuilt" in ToaruOS :) It uses "pex", Toaru's packet exchange which is a reliable in-order datagram IPC layer. It's also what powers event messages in the compositor.
dormito has joined #osdev
<josuah>
klange: nice! is "pex" an alternative to tcp then?
<josuah>
maybe not targeted to go out on a network though, just local IPC
<klange>
It's not a network protocol, so not really - it's more like "I should have implement Unix sockets, but I was in a hurry".
gog has joined #osdev
<josuah>
"reliable in-order" ah yes a stream interface!
<josuah>
sounds good, and libraries often work with file descriptors, so unless crazy things like sending file descriptors are needed...