<Associat0r>
"It is possible to have more that one ordering of files that compile and have different meanings, so 'in theory' it's not possible to have a tool figure out dependencies for you. (I would bet that 'in practice' a heuristic tool could typically get it right most of the time; I haven't tried to carefully reason through it.)"
<Associat0r>
I heard Harrop say it could introduce problems too
<Associat0r>
but having never used it in any big projects myself I can't judge
<flux>
associat0r, well, loading modules have 'side effects'
<flux>
associat0r, for example if you habe a.ml: let _ = print_endline "A" and b.ml: let _ = print_endline "B"
<flux>
then ocamldep is allowed to order those files in any order and those orders have different meanings
<flux>
just try not to write that kind of code :)
ikaros has joined #ocaml
<flux>
associat0r, a big module would be split into separate submodules, though
<flux>
and I doubt ocamldep would be used for ordering those submodules (even though building of those submodules would use ocamldep)
<Associat0r>
flux: thanks for explaining
<Associat0r>
flux: I think the example of side effects might be prevented with explicit entry points
<flux>
associat0r, well, I can think of one case where it is not convenient..
<flux>
associat0r, for example you have a handleAnything.ml: let register callback = callbacks := callback :: !callbacks
<flux>
associat0r, and then a bunch of modules just do : let _ = HandleAnything.register (fun () -> ..)
<flux>
associat0r, the point is for it to work 'automatically'. although if one is using such a asystem, one would better not care in which order the modules register themselves
<flux>
you could always force ocamldep some dependency by doing: foo.ml: let _ = A.foo
Yoric has quit [Quit: Yoric]
<Associat0r>
ok
tmaeda is now known as tmaedaZ
avsm has joined #ocaml
avsm has quit [Client Quit]
sgnb``` has quit [Remote host closed the connection]
sgnb has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
alinbsp has joined #ocaml
middayc has joined #ocaml
Yoric has joined #ocaml
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
_zack has joined #ocaml
_zack has quit [Quit: Leaving.]
slash_ has joined #ocaml
Associat0r has quit [Quit: Associat0r]
avsm has joined #ocaml
Drk-Sd has joined #ocaml
maskd has joined #ocaml
jcaose has joined #ocaml
Drk-Sd has quit [Quit: {'EXIT', Drk-Sd, "bye"}]
_unK has joined #ocaml
lukasz has joined #ocaml
lukasz has quit [Quit: Lost terminal]
_zack has joined #ocaml
ttamttam has quit [Quit: Leaving.]
middayc has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]]
bzzbzz has joined #ocaml
ned- has quit [Ping timeout: 260 seconds]
boscop has joined #ocaml
yakischloba has joined #ocaml
ned has joined #ocaml
yakischloba has quit [Quit: Leaving.]
derdon has joined #ocaml
pimmhogeling has joined #ocaml
thrasibule has quit [Ping timeout: 260 seconds]
alinbsp has quit [Read error: Connection reset by peer]
threeve has joined #ocaml
bzzbzz has quit [Quit: leaving]
Gooffy has joined #ocaml
pimmhogeling has quit [Read error: Connection reset by peer]
shr3kst3r has quit [Quit: leaving]
shr3kst3r has joined #ocaml
slash_ has quit [Quit: Lost terminal]
tmaedaZ is now known as tmaeda
bzzbzz has joined #ocaml
shr3kst3r has quit [Quit: leaving]
shr3kst3r has joined #ocaml
yakischloba has joined #ocaml
chupish has joined #ocaml
mjonsson has quit [Read error: Operation timed out]
mjonsson has joined #ocaml
yakischloba has quit [Quit: Leaving.]
yakischloba has joined #ocaml
tmaeda is now known as tmaedaZ
joewilliams_away is now known as joewilliams
Gooffy has quit [Quit: Leaving.]
Modius_ has quit [Quit: I'm big in Japan]
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
jcaose has quit [Read error: Connection reset by peer]
<thelema>
Stopping threads and resuming execution is done by the stop_world() and restart_world() routines, which are invoked before a major collection or a nursery collection are performed.
Yoric has quit [Quit: Yoric]
<thelema>
maybe something about the allocation pattern of C# requires less GC...
_zack has quit [Quit: Leaving.]
<qwr>
maybe they don't care about threads
ikaros has quit [Quit: Leave the magic to Houdini]
pimmhogeling has joined #ocaml
chupish has quit []
<flux>
yeah, that's a good strategy for .NET..
<mrvn>
They just don't care
<flux>
perhaps someone who cares can work on it
quelqun_1autre has joined #ocaml
quelqun_dautre has quit [Quit: Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.]
quelqun_1autre has left #ocaml []
quelqun_dautre has joined #ocaml
derdon has quit [Quit: derdon]
quant has quit [Ping timeout: 252 seconds]
ulfdoz has joined #ocaml
mutew has joined #ocaml
pad has joined #ocaml
Associat0r has joined #ocaml
Associat0r has quit [Quit: Associat0r]
mfp has quit [Remote host closed the connection]
Anarchos has joined #ocaml
mfp has joined #ocaml
itewsh has joined #ocaml
itouch has joined #ocaml
mattam has quit [Ping timeout: 260 seconds]
itouch has quit [Max SendQ exceeded]
itouch has joined #ocaml
itewsh has quit [Read error: Connection reset by peer]
maskd has quit [Ping timeout: 260 seconds]
mutew has quit [Ping timeout: 256 seconds]
ikaros has joined #ocaml
ned has quit [Quit: Leaving]
pimmhogeling has quit [Ping timeout: 272 seconds]
jao has quit [Read error: Connection reset by peer]
itouch has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
mattam has joined #ocaml
Mr_Awesome has quit [Ping timeout: 256 seconds]
Submarine has joined #ocaml
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
jcaose has joined #ocaml
jcaose has quit [Client Quit]
avsm has joined #ocaml
jao has joined #ocaml
Associat0r has joined #ocaml
thrasibule has joined #ocaml
maskd has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Submarine has quit [Ping timeout: 245 seconds]
threeve_ has joined #ocaml
threeve has quit [Read error: Connection reset by peer]