hannes changed the topic of #mirage to: https://mirage.io - https://github.com/mirage/mirage-www/wiki/Call-Agenda - this channel is logged at http://irclog.whitequark.org/mirage/ - MirageOS 3.5.0 is released - happy hacking!
pie___ has quit [Ping timeout: 252 seconds]
<ehirdoy1> hannes: ptime_clock seems a platform independent API, which it has 4 backends, {WIN,mac,posix,JS}, fixed at compile time of library. ptime_clock could have anohter Mirage backend impl??? Would it be possible to point out some example code of replacing gettimeofday?
<ehirdoy1> hannes: I meant, example of replacing gettimeofday with ptime_clock in general library, if you happen to know any....
Haudegen has joined #mirage
mort___ has joined #mirage
<hannes> ehirdoy1: not off the top of my head
_whitelogger has joined #mirage
mort___ has quit [Quit: Leaving.]
<apache2> ehirdoy1: usually libraries would not read the time themselves, you would write them so the current time is an input to the functions that need to operate on it
<apache2> or provide a function that returns the time (like fun () -> Ptim_clock.now_d_ps 123 or whatever)
<apache2> that style of designing libraries makes it easier to unit test them deterministically
pie___ has joined #mirage
mort___ has joined #mirage
Haudegen has quit [Remote host closed the connection]
atagunov has joined #mirage
atagunov has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
Haudegen has joined #mirage
jnavila has joined #mirage
jnavila has quit [Ping timeout: 248 seconds]
mort___ has quit [Quit: Leaving.]
jnavila has joined #mirage
jnavila_ has joined #mirage
jnavila has quit [Read error: No route to host]
mort___ has joined #mirage
mort___ has quit [Client Quit]
mort___ has joined #mirage
jnavila_ has quit [Ping timeout: 246 seconds]
mort___ has quit [Quit: Leaving.]
mort___ has joined #mirage
jnavila_ has joined #mirage
jnavila_ has quit [Ping timeout: 246 seconds]
Haudegen has quit [Remote host closed the connection]
mort___ has quit [Quit: Leaving.]
pie___ has quit [Remote host closed the connection]
pie__ has joined #mirage
pie__ has quit [Ping timeout: 252 seconds]
Guest80369 has joined #mirage
DonRichie has quit [Ping timeout: 252 seconds]
DonRichie has joined #mirage
Guest80369 has quit [Read error: Connection reset by peer]
pie__ has joined #mirage
jnavila_ has joined #mirage
pie__ has quit [Remote host closed the connection]
pie__ has joined #mirage
dobson has quit [Ping timeout: 250 seconds]
srax has quit [Ping timeout: 250 seconds]
dobson has joined #mirage
srax has joined #mirage
Haudegen has joined #mirage
jnavila_ has quit [Quit: Konversation terminated!]
yomimono has quit [Ping timeout: 258 seconds]
yomimono has joined #mirage
Haudegen has quit [Remote host closed the connection]