Cyanure has quit [Read error: Connection reset by peer]
ftrvxmtrx has quit [Quit: Leaving]
Cyanure has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
Cyanure has quit [Read error: Connection reset by peer]
<corecode>
thelema: curiosity. people say it is good
ousado has joined #ocaml
<thelema>
corecode: they're right
Cyanure has joined #ocaml
Boscop has quit [Ping timeout: 240 seconds]
Cyanure has quit [Read error: Connection reset by peer]
arubin has joined #ocaml
ousado has quit [Changing host]
ousado has joined #ocaml
oriba has quit [Quit: oriba]
arubin has quit [Quit: arubin]
arubin has joined #ocaml
joewilliams has quit [Excess Flood]
gmcabrita has quit [Excess Flood]
joewilliams has joined #ocaml
gmcabrita has joined #ocaml
<tomprince>
Has anybody created a python loadable module in ocaml?
<tomprince>
I have code working if I access python from ocaml, and call back in. I'm just not sure how to invert control, so that python load the caml code.
<tomprince>
After that, I want to figure out how to get ocaml and pythons threading to play nicely with each other.
<tomprince>
Part of the problem seems to be that libasmrun.a is compiled without -fPIC. Is this due to my distro, or is that just how it is compiled?
<smango>
I'm trying to marshall a variable but it's throwing an exception that says 'functional value'. Any clue what that means?
<sh4rm4>
tomprince, .a is a statical library. you probably want a .so
<sh4rm4>
and of course that should be compiled using -fPIC
<tomprince>
sh4rm4: Yes, but i don't seem to have a libasmrun.so
<sh4rm4>
so you have to find out how to generate it ;)
<tomprince>
Hence my question here :)
ulfdoz has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
ankit9 has joined #ocaml
superbobry has joined #ocaml
arubin has quit [Quit: arubin]
Morphous has joined #ocaml
sh4rm4 has quit [Ping timeout: 248 seconds]
rwmjones has quit [Read error: Operation timed out]
hto has quit [Read error: Operation timed out]
Amorphous has quit [Read error: Operation timed out]
mlh has quit [Ping timeout: 252 seconds]
mlh has joined #ocaml
hto has joined #ocaml
sebz has joined #ocaml
<tomprince>
So, compiling ocaml with -fPIC lets me link libasmrun.a
sebz has quit [Client Quit]
rwmjones has joined #ocaml
<tomprince>
But now when I try and load my generated .so, (which loads dynamic ocaml modules), I get caml_equal not found from those modules.
beckerb has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
hcarty has joined #ocaml
avsm has joined #ocaml
sh[4]rm4 is now known as sh4rm4
<hcarty>
thelema: "Confident coding" is one of the things that keeps me in the world of OCaml
<hcarty>
thelema: Interesting slides. Thanks for the link.
<chambart>
And with GADT there are even many cases where you can be more confident.
<chambart>
distinguishing between empty and non empty option for instance
<tomprince>
Is there any way to compile ocaml code to .so that can use dynlink?
<hcarty>
chambart: I'm looking forward to playing around with GADTs in OCaml. I'm unfamiliar with them and what they provide. It will be fun to learn something new.
avsm has quit [Quit: Leaving.]
<chambart>
hcarty: You can play with the svn version of the compiler ( and there are quite a few good examples in the typing tests )
<hcarty>
chambart: I'll take a look at the tests, thanks. I haven't done much with OCaml svn trunk beyond peek at commit messages and the changelog every few weeks.
thomasga has quit [Quit: Leaving.]
_michi__ has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
_michi_ has quit [Ping timeout: 252 seconds]
_michi__ is now known as _michi_
raichoo has joined #ocaml
avsm has joined #ocaml
vivanov has joined #ocaml
<vivanov>
pls suggest root finding library
<vivanov>
i only know ocamlgsl
<_habnabit>
module Root_finder = struct let find () = "/" end
<bitbckt>
hah
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
sepp2k has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
<hcarty>
vivanov: Christophe Troestler does a lot with OCaml + math. Something of his may be helpful if GSL doesn't have what you need: https://forge.ocamlcore.org/users/chris/
<hcarty>
vivanov: Just a guess though.
_andre has quit [Quit: leaving]
<thelema>
I wonder if he's already implemented Brent's method in ocaml - it looks like good code.
_andre has joined #ocaml
Snark has joined #ocaml
Snark has quit [Client Quit]
_michi_ has quit [Quit: ChatZilla 0.9.87 [SeaMonkey 2.3/20110818081843]]
_michi_ has joined #ocaml
_michi_ has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
ttamttam has quit [Ping timeout: 260 seconds]
raichoo has quit [Quit: leaving]
vivanov has quit [Remote host closed the connection]
Sysop_fb has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
caligula_ has quit [Ping timeout: 240 seconds]
caligula_ has joined #ocaml
sepp2k has quit [Remote host closed the connection]
avsm1 has quit [Ping timeout: 258 seconds]
bobry has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 276 seconds]
ftrvxmtrx has joined #ocaml
edwin has quit [Remote host closed the connection]
sebz has joined #ocaml
sebz has quit [Client Quit]
agust1n has left #ocaml []
elehack has joined #ocaml
elehack has left #ocaml []
ftrvxmtrx has quit [Ping timeout: 248 seconds]
Morphous has quit [Read error: Operation timed out]