gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
ulfdoz_ is now known as ulfdoz
emmanuelux has quit [Ping timeout: 240 seconds]
milosn has quit [Ping timeout: 260 seconds]
philtor has quit [Remote host closed the connection]
zorun has quit [Read error: Connection reset by peer]
zorun has joined #ocaml
bzzbzz has quit [Read error: Connection reset by peer]
bzzbzz has joined #ocaml
mcclurmc has quit [Quit: ZNC - http://znc.sourceforge.net]
ftrvxmtrx has quit [Ping timeout: 276 seconds]
zzz_ has quit [Remote host closed the connection]
zzz_ has joined #ocaml
mcclurmc has joined #ocaml
Asmadeus has quit [Ping timeout: 260 seconds]
Asmadeus has joined #ocaml
ftrvxmtrx has joined #ocaml
iago has quit [Quit: Leaving]
otk is now known as ___otk
___otk is now known as otk
alkoma has joined #ocaml
alkoma has left #ocaml []
MaskRay has joined #ocaml
thieusoai has joined #ocaml
thieusoai has quit [Quit: Leaving.]
thieusoai has joined #ocaml
EmmanuelOga has quit [Ping timeout: 244 seconds]
Drakken has left #ocaml []
MaskRay_ has joined #ocaml
hcarty has quit [Remote host closed the connection]
MaskRay has quit [Ping timeout: 248 seconds]
BiDOrD has quit [Read error: Operation timed out]
BiDOrD has joined #ocaml
cdidd has joined #ocaml
thieusoai has left #ocaml []
edwin has joined #ocaml
edwin has quit [Client Quit]
MaskRay_ is now known as MaskRay
Snark has joined #ocaml
milosn has joined #ocaml
fantasticsid has joined #ocaml
Submarine has joined #ocaml
pango is now known as pangoafk
The_third_man has quit [Ping timeout: 248 seconds]
<adrien> Ralith: re-ocamlmakefile: the problem is described on http://lists.gnu.org/archive/html/bug-make/2011-05/msg00009.html (and it only happens with gnu make > 3.82 according to Markus)
The_third_man has joined #ocaml
Nass has quit [Ping timeout: 252 seconds]
Nass has joined #ocaml
pangoafk is now known as pango
emmanuelux has joined #ocaml
antegallya has joined #ocaml
iago has joined #ocaml
ttamttam has joined #ocaml
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:
<Ralith> ocamlc.opt -ccopt "-Ic:/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O " sdl_stub.c
<thelema> really... hmmm... is this the first ocaml library that interfaces with C that you've compiled?
<Ralith> this is the first anything I've compiled on this mingw install
<thelema> It looks like your mingw compiler doesn't like -mno-cygwin - did you install a cygwin ocaml?
<thelema> I'm guessing that the ocaml compiler is expecting a cygwin compiler, and it has that flag builtin to it.
<Ralith> I installed the mingw ocaml.
<Ralith> ocaml-3.12.1-mingw32.exe
<thelema> ah... it seems that -mno-cygwin is no longer available from mingwin compiler
<Ralith> so what do I do?
<thelema> I don't know.
<Ralith> :/
<thelema> One option is to use gcc-3
<thelema> (I think)
<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.
MaskRay_ has joined #ocaml