The_third_man has quit [Ping timeout: 255 seconds]
The_third_man has joined #ocaml
Kakadu has joined #ocaml
Drup has joined #ocaml
Kakadu has quit [Quit: Page closed]
Kakadu has joined #ocaml
Drup has quit [Ping timeout: 245 seconds]
sebz has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
alpounet has joined #ocaml
fantasticsid has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
galvatron has joined #ocaml
ikaros has joined #ocaml
clog has quit [^C]
clog has joined #ocaml
fantasticsid has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
fantasticsid has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel_ has joined #ocaml
fantasticsid has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
lamawithonel has quit [Ping timeout: 245 seconds]
lamawithonel_ has quit []
lamawithonel_ has joined #ocaml
lamawithonel_ has quit [Ping timeout: 252 seconds]
Kakadu has joined #ocaml
fantasticsid has joined #ocaml
fantasticsid has quit [Client Quit]
fantasticsid has joined #ocaml
fantasticsid has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
MaskRay has quit [Quit: leaving]
sebz has quit [Quit: Computer has gone to sleep.]
mob_ has joined #ocaml
silver has joined #ocaml
sebz has joined #ocaml
mob_ has quit [Quit: Page closed]
letrec has quit [Ping timeout: 272 seconds]
tautologico has quit [Quit: tautologico]
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
<Ralith>
adrien: neat
brendan has quit [Ping timeout: 252 seconds]
ttamttam has left #ocaml []
EmmanuelOga has joined #ocaml
cdidd has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Snark has quit [Quit: Quitte]
<thelema>
is there any overhead to just marking a record field mutable, or is the overhead only when it's mutated?
<Anarchos>
thelema no idea, have you read the source ?
<thelema>
all of it? no. just bits and pieces. I wouldn't know where to find this out - reading all the GC code?
<adrien>
write a mini code and dump the assembly?
<thelema>
ick.
<adrien>
and see if the internal representation is different (marshall one value of each type)
<thelema>
there may only be some difference in performance in how the GC treats them
<adrien>
thelema: you only need to see if one is longer than the other
Drakken has joined #ocaml
<thelema>
I don't think a length test on marshaled values will tell me if there's a GC overhead. I'm fairly certain that there's no representation difference
<flux>
thelema, if the representation is exactly the same, how can GC tell the difference?
<thelema>
flux fair question. I guess that eliminates the GC as a source of problems. so I do just need to dump the assembly
<thelema>
s/fair question/good point/
brendan has joined #ocaml
<adrien>
it might prevent some optimizations
<adrien>
no
<adrien>
it _will_ prevent some
<thelema>
what are you thinking of?
<adrien>
if the field is not mutable, it doesn't matter when you read it and, if in a loop, you can read it only once
<thelema>
really? I thought ocaml didn't do so much loop hoisting
<adrien>
it can do the read whenever it wants (that has been mentionned not so long ago on the caml-list)
<adrien>
so, that might have that effect
<adrien>
note the "might"
<adrien>
but you should be able to see that in the -cmm, -dlambda or other outputs
<thelema>
hmm, I can probably diff the -cmm or -dlambda outputs for my particular code to see if there's any deoptimization for just adding 'mutable'
<thelema>
thanks all
avsm has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
joewilliams has quit [Max SendQ exceeded]
lopex has quit [Max SendQ exceeded]
joewilliams has joined #ocaml
<Anarchos>
thelema let us know the results of your experiments !
lopex has joined #ocaml
groovy2shoes has joined #ocaml
Anarchos has quit [Ping timeout: 255 seconds]
<Ralith>
I'm trying to get OcaIDE to work on windows. When it runs ocamlbuild, ocamlopt fails to find libws2_32. Googling turned up the advice that I need to add -cclib "-L C:/mingw/lib" to the ocamlopt command line. How do I tell ocamlbuild to do that?
alkoma has joined #ocaml
<Ralith>
looks like I can use -ocamlopt to pass extra args, woo
alkoma has quit [Remote host closed the connection]
milosn has quit [Read error: No route to host]
milosn has joined #ocaml
Tobu has quit [Ping timeout: 252 seconds]
Xizor has quit []
sebz has joined #ocaml
EmmanuelOga has quit [Ping timeout: 244 seconds]
sebz has quit [Quit: Computer has gone to sleep.]
Tobu has joined #ocaml
lamawithonel has joined #ocaml
letrec has joined #ocaml
groovy2shoes has quit [Read error: Connection reset by peer]
BiDOrD has quit [Ping timeout: 245 seconds]
BiDOrD has joined #ocaml
milosn has quit [Ping timeout: 252 seconds]
groovy2shoes has joined #ocaml
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #ocaml
<thelema>
Type declarations do not match:
<thelema>
type t = Complex.t
<thelema>
is not included in
<thelema>
type t = Complex.t = { re : float; im : float; }
<thelema>
Their kinds differ.
<thelema>
hmm, can't seem to override the kind of a functor result.
groovy2shoes has quit [Read error: Connection reset by peer]
iago has quit [Quit: Leaving]
<Ralith>
Trying to compile ocamlsdl on windows produces "cc1.exe: error: unrecognized command line option '-mno-cygwin'"
<Ralith>
how can I fix this?
<thelema>
what's the command-line of ocaml(find)?
<Ralith>
the command that is ran before the error is:
<thelema>
another is to recompile ocaml to not use -mno-cygwin (I'm sure it's in one of the config.h files)
pango is now known as pangoafk
ikaros has quit [Quit: Ex-Chat]
groovy2shoes has joined #ocaml
Tobu has quit [Read error: Operation timed out]
Tobu has joined #ocaml
Tobu has quit [Changing host]
Tobu has joined #ocaml
groovy2shoes has quit [Quit: It is now safe to turn off your groovebot.]
<Ralith>
was attempting to get a windows user to try out ocaml for a project
<Ralith>
needing to recompile the entire toolchain will result in a verdict of "not impressed"
<thelema>
this is sadly difficult still
<Ralith>
oh well
<thelema>
ocaml/win is in a wierd catch-22 world of not having enough users, so not much work is put into windows, but since windows is rough, few people use it.
<thelema>
it will probably just take a few commited users to spend some time smoothing many rough edges. It fundamentally works; it's just a pain in many ways.