yauz has quit [Read error: 60 (Operation timed out)]
kinners has quit ["leaving"]
eigenspace has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
eigenspace has quit ["Leaving"]
cjohnson has joined #ocaml
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
GreyLensman has quit ["Leaving"]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
CosmicRay has joined #ocaml
monotonom has joined #ocaml
monotonom has quit ["Don't talk to those who talk to themselves."]
kinners has joined #ocaml
Herrchen_ has joined #ocaml
Herrchen has quit [Connection timed out]
magnus-- has quit [Read error: 104 (Connection reset by peer)]
kinners has quit ["leaving"]
monotonom has joined #ocaml
vezenchio has joined #ocaml
mrsolo has joined #ocaml
vezenchio has quit [Read error: 60 (Operation timed out)]
monotonom has quit ["Don't talk to those who talk to themselves."]
CosmicRay has quit [No route to host]
vezenchio has joined #ocaml
lus|wats has joined #ocaml
vezenchio has quit [Read error: 60 (Operation timed out)]
kosmikus|away is now known as kosmikus
eigenspace has joined #ocaml
smimou has joined #ocaml
eigenspace has quit ["Leaving"]
karryall has joined #ocaml
dobrek_ has joined #ocaml
dobrek has quit [Read error: 60 (Operation timed out)]
Herrchen_ is now known as Herrchen
<slashvar>
Yop
gl has quit [Client Quit]
gehel has joined #ocaml
gehel is now known as gl
fab_ has joined #ocaml
_fab has quit [Read error: 104 (Connection reset by peer)]
fab_ is now known as _fab
Iter has joined #ocaml
magnus-- has joined #ocaml
ita has joined #ocaml
<ita>
hi all
<ita>
is it possible to make a commercial program compiled using ocamlopt (binary) ?
buggs has quit [sterling.freenode.net irc.freenode.net]
<smimou>
of course why wouldn't it be possible ?
<ita>
i wasn't sur
<ita>
e
buggs has joined #ocaml
<Banana>
ita: you were worying about Licence issues or technical problems ?
<ita>
and another question .. i want to make a closed-source program which uses a library made with ocaml - if it is compiled statically, i have to distribute my object files, right ?
<ita>
Banana: both, licencing come first :)
<Banana>
then no problem.
<slashvar>
ita: it's depend on which lib you want to use
<Banana>
the standart library at least is under modified GPL which allow you to link (statically or dynamicaly) into a program distributed with the licence of your choice.
<Banana>
you have to be carefull with third party library though.
<slashvar>
you can't distribute staticaly linked programs against GPL lib, if you're prog is not GPL
<ita>
slashvar: oh yes i forgot to mention that the library is lgpl
<slashvar>
hum ... I'm not sure, here
<slashvar>
because a staticaly linked program contains parts of the lib
<slashvar>
so it is a kind of distribution
<ita>
eek, i'll have to make a shared library
<mellum>
ita: Why don't you just *read* the damn license instead of asking random people on an IRC channel?
<Banana>
mellum: don't be so harsh...
<ita>
mellum: because i'm not *sure*
<Banana>
it doesn't bother me :/
<ita>
mellum: i've read and re-read and searched on irc and i still doubt
<mellum>
ita: which line did you not understand?
<slashvar>
mellum: I think understanding all consequences of GPL and LGPL, needs a full time year of study ;)
<Banana>
ocaml is under QPL and modified GPL wish allows linking into non GPL program.
<mellum>
slashvar: bullshit. The relevant portion is about 5 lines.
<slashvar>
Banana: ocaml, yes, but the problem is more with third party libs
<mellum>
and it is really about as clear as possible.
<Banana>
well he asked for ocaml so i answer for ocaml.
<ita>
Banana: thanks
<Banana>
mellum: are'nt you nice today :)
<ita>
so it's clear for me now - i'm looking for a tutorial for how to build shared library in objective caml (no bytecode, compiled for x86) - do you have that by any chance ?
<slashvar>
mellum: I'm not sure about that, after 10 or more reading, I still found some obscure points ... that's why I keep myself as far as I can of GPL
<Banana>
ita: i'm not sure you can actually build shared libraries with ocaml.
<slashvar>
(but, take this with a smile, I don't want to start a flame war about licences ;)
<Banana>
you can have the C part of an Ocaml lib loaded dynamically.
<vegai>
GPL, clear
* vegai
laughs at that concept.
<Banana>
but the .cmxa is not, afaik.
<Banana>
hoooooo.
<ita>
ahem
* Banana
's Troll-o-meter exploded ....
<vegai>
=)
<ita>
hey, i'm not trolling
<Banana>
ita: not for you.
<vegai>
I probably was
<slashvar>
Banana: you can't build shared ocaml lib, but you can have dynamicaly linked with C lib ocaml prog
<Banana>
slashvar: that's what i just say.
<Banana>
open your eyes and eat your beard.
<slashvar>
Banana: I just throw away the conditionnal in your statement
<ita>
just by curiosity, is that possible to compile ocaml code into java bytecode ?
<slashvar>
ouch
<mellum>
ita: there's no program for that
<slashvar>
not actualy, jvm lakes some functionnality
<mellum>
slashvar: well, it's turing complete.
<mellum>
so of course it would work. Only it doesn't make a lot of sense.
<ita>
nah, it's ocaml - it is so incompatible - we can compile c++ into java bytecode at least - wait, am i trolling ? :))
<slashvar>
mellum: yes, but, there's problems that rise with abstract/virtual machine when compiling higher order languages
<Banana>
i don't think there are any problems compiling ocaml to java bytecode.
<slashvar>
(that's why there's functionnal extension in .NET)
<Banana>
it's just that people are relluctant to code for a satck based architecture.
<slashvar>
Banana: it's not that simple
<Banana>
it's.
<Banana>
give me one week.
<Banana>
;)
<Banana>
ok it's a lie.
<slashvar>
no, I don't think Bp will agree about that week
<slashvar>
;)
Iter has quit [Read error: 110 (Connection timed out)]
<slashvar>
Banana: I prefer to see a good semantic/type checking of filter than a useless jvm target for ocamlc
<Banana>
slashvar: i read that as stfu and go back to work lil' chinese ?
<Banana>
sounds good to me.
<Banana>
^_^
<slashvar>
;)
<slashvar>
hum ... in fact, no, if filters are finished befor the end of my phd, I will have to extend my analyses
slashvar is now known as slashvar[lri]
<slashvar[lri]>
coffee/cigarets time
<Banana>
sorry for the OT, people.
* slashvar[lri]
bbl
<slashvar[lri]>
OT ?
<Banana>
off topic ?
<slashvar[lri]>
but since CDuce is write in OCaml, it's not completely OT ;)
* slashvar[lri]
bbl (for real, now)
slashvar[lri] is now known as slashvar[AFK]
<ita>
and .. is there any good resource for building libraries and compiled programs with ocaml ?
<karryall>
ita: the reference manual is a pretty good resource
<ita>
ok, i was thinking more about some sort of extended tutorial - i'll stick with this one then
<ita>
advanced tutorial even
<ita>
thanks
<cDlm>
ita: topic ?
<cDlm>
ita: or the oreilly book which is freely available on the ocaml site