<Drup>
aantron: hypothetic situation where you want lwt to be as fast as possible, and you already know that you will never ever raise exceptions (and only use Lwt.fail, for example). COuld there be a way to have that ?
<Drup>
(not saying the change of semantics is wrong, I have seen enough beginners getting biten by exceptions+lwt to realize why it is useful :p)
webshinra has quit [Remote host closed the connection]
wtetzner has quit [Ping timeout: 268 seconds]
<aantron>
Drup: yeah the 8ns to 50ns does seem painful. but i do suspect it can be optimized a lot, given that the 50ns looks to have deferral amortized away, it should be possible to rewrite the bind code so that it doesnt pre-allocate any closures, doesnt allocate any intermediate tuples like now, etc
<aantron>
its just going to become really ugly code i suspect :p
webshinra has joined #ocaml
<aantron>
i think the most trivial way to get a super fast immediate bind right now is to poll the promise using Lwt.state, and check for Return _
<aantron>
but i am mixed about the existence of Lwt.state...
<aantron>
we could also add an unsafe callback-calling function, that does do tail calls. that is what i originally wanted in #203, and what set me on the path to becoming Lwt maintainer haha
<Drup>
:)
<aantron>
the idea there was that i need tail calls, and my functions are guaranteed not to raise exceptions (it was for my CPS markup.ml code)
<aantron>
anyway i think during this PR the hit to performance is worth semantics that im not scared to use or explain to someone... even if it turns out not possible to optimize for some reason
<aantron>
but other opinions in some detail are welcome :)
<Drup>
I don't know if it affect practical performances for, say, a webserver, or something
<Drup>
maybe ask the ahref people :p
<aantron>
yeah will have to cc them later, have to run soon. i was emergency-posting this PR so i wouldnt have to sleep with the writing still in my head tonight :D
<aantron>
worst part is always when its very near to ready
kerrhau has quit [Quit: bye!]
mfp has quit [Ping timeout: 240 seconds]
ryanartecona has joined #ocaml
VermillionAzure has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
kerrhau_ has quit [Ping timeout: 268 seconds]
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
wtetzner has joined #ocaml
wtetzner has quit [Ping timeout: 248 seconds]
ryanartecona has quit [Quit: ryanartecona]
dtornabene has joined #ocaml
VermillionAzure has quit [Ping timeout: 240 seconds]
VermillionAzure has joined #ocaml
p1n34ppl3 has quit [Quit: Lost terminal]
Algebr has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
cbot has joined #ocaml
VermillionAzure has quit [Ping timeout: 260 seconds]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
zv has joined #ocaml
enterprisey has quit [Remote host closed the connection]
pierpa has quit [Quit: Page closed]
_whitelogger has joined #ocaml
Algebr` has joined #ocaml
Algebr has quit [Ping timeout: 268 seconds]
govg has joined #ocaml
Algebr`` has joined #ocaml
Algebr` has quit [Ping timeout: 250 seconds]
jbrown has quit [Ping timeout: 248 seconds]
Algebr``` has joined #ocaml
Algebr`` has quit [Ping timeout: 240 seconds]
malina has quit [Ping timeout: 248 seconds]
Algebr``` has quit [Ping timeout: 250 seconds]
dtornabene has quit [Quit: Leaving]
zv has quit [Quit: WeeChat 1.9]
Algebr``` has joined #ocaml
Algebr``` is now known as Algebr
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0 is now known as Guest32425
Guest32425 has quit [Killed (weber.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
Algebr has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
cbot has quit [Quit: Leaving]
MercurialAlchemi has quit [Quit: Lost terminal]
MercurialAlchemi has joined #ocaml
argent_smith has joined #ocaml
mk9 has joined #ocaml
mk9 has quit [Ping timeout: 248 seconds]
mk9 has joined #ocaml
mk9 has quit [Ping timeout: 268 seconds]
enterprisey has joined #ocaml
mk9 has joined #ocaml
freusque has joined #ocaml
mk9 has quit [Ping timeout: 248 seconds]
kerrhau has quit [Quit: bye!]
zaquest has quit [Remote host closed the connection]
mk9 has joined #ocaml
mk9 has quit [Ping timeout: 240 seconds]
zaquest has joined #ocaml
ikanobor1 is now known as ikanobori
ikanobori has quit [Changing host]
ikanobori has joined #ocaml
TheLemonMan has joined #ocaml
mfp has joined #ocaml
zmt00 has quit [Ping timeout: 268 seconds]
ygrek has joined #ocaml
shinnya has joined #ocaml
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #ocaml
zolk3ri has joined #ocaml
ShalokShalom has joined #ocaml
_andre has joined #ocaml
mk9 has joined #ocaml
mk9 has quit [Client Quit]
zolk3ri has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
ShalokShalom_ has joined #ocaml
ShalokShalom has quit [Ping timeout: 268 seconds]
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #ocaml
VermillionAzure has joined #ocaml
zolk3ri has joined #ocaml
VermillionAzure has quit [Quit: Leaving]
kakadu has joined #ocaml
<orbifx[m]>
jbuilder seems to think something is installed, when I don't think it is. Manually building results into an error
<orbifx[m]>
or maybe it's not building the tests
<zolk3ri>
Without having researched it, can I depend on an external lib accessible via git using oasis?
<zolk3ri>
Or maybe opam...
<zolk3ri>
Or I could just use git submodules... not sure if I can add a pre-configure hook to oasis that would execute the command.
<orbifx[m]>
opam cna probably do it for you zolk3ri
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #ocaml
<reynir>
there's opam depext for external dependencies..
<reynir>
Oh, maybe I misunderstand
enterprisey has joined #ocaml
enterprisey has quit [Client Quit]
theblatte has quit [Ping timeout: 258 seconds]
theblatte has joined #ocaml
<orbifx[m]>
Anyone familiar with ctypes?
<orbifx[m]>
Had the interface changed radically or affected by 4.06.0?