Nutssh has quit [Read error: 104 (Connection reset by peer)]
Nutssh has joined #ocaml
vodka-goo has quit [Read error: 104 (Connection reset by peer)]
humasect has quit ["Leaving.."]
mattam has quit ["Lost terminal"]
zzorn_afk has quit ["They are coming to take me away, ha ha"]
smkl_ has quit [Read error: 60 (Operation timed out)]
vincenz has quit [Read error: 104 (Connection reset by peer)]
vincenz has joined #ocaml
xol has joined #ocaml
cjohnson has quit [Read error: 110 (Connection timed out)]
<dross>
I've not yet used ocaml with GUIs. how fast is the bytecode interpreted vs. native. And to java. I've learned java a while ago, but I've been using other languages. C,C++, Ada, Ruby. I'm curious on the runtime speed and overhead of OCAML.
<dross>
Trying a couple applicatons with the gtk library. I hope it works well :)
<mrvn>
ocaml is way faster than java due to the strict typing.
smkl_ has joined #ocaml
<dross>
mrvn: well. I've been reading. Would it be possib;e to ocreate a ocaml plugin for FF, MOZ, Konq, and IE?
<dross>
mrvn: linked with GTK or TK of course...
<dross>
mrvn: just a thought.
_shawn has joined #ocaml
mflux_ has joined #ocaml
mflux has quit [Read error: 54 (Connection reset by peer)]
det has quit [tolkien.freenode.net irc.freenode.net]
det has joined #ocaml
shawn has quit [Read error: 110 (Connection timed out)]
smimou has quit ["?"]
gim has quit ["dodo"]
<mrvn>
dross: possible certainly.
<dross>
mvIt would definiately promote ocaml
<dross>
mrvn: ^^
<dross>
mrvn: when using ocaml.. does it compile bytecode by default?
<mrvn>
But what would be its use?
<dross>
how would I compile native?
<dross>
mrvn: web aplications like java
<mrvn>
ocamlc does bytecode, ocamlopt binary
<dross>
mrvn: except better.
<dross>
ohh.
<dross>
well.. from what I can see.. an OSS alternative to java would definitely be better
<dross>
there wouldn't be control over it like per say Sun
<mrvn>
The problem is that you need all the extra classes java has to compete.
<dross>
what does ocaml lack which java has?
<mrvn>
tons
<Riastradh>
Libraries.
* dross
was expecting a defined answer :)
CosmicRay has joined #ocaml
<dross>
Libraries like?
<dross>
looks like someone started a mod_ocaml, then just left it. Cute.
Nutssh has quit ["Client exiting"]
xol has quit ["sleep"]
<dross>
has anyone done serious coding with ocaml for commercial aplicatoins?
<dross>
*applications
<mrvn>
mldonkey
<dross>
mrvn: I mean commercial applications :)
<mrvn>
dan2 is doing some voip stuff with it it seems.
<dross>
mrvn: Just curious about ocaml
<dross>
mrvn: I seriously dno't see why java exists higher than ocaml.
<dan2>
dross: I have
<dross>
dan2: I have seen all over the net about its speed. How is it for you?
<dross>
dan2: compared to.. C++, or a interpreted language like Perl or Ruby.
<mrvn>
dross: because java is big a flashy and insecure while ocaml is nice, small and save.
<mrvn>
s/ a/,/
<dan2>
dross: I wouldn't trust my beefy dialer application for asterisk to anything but ocaml at this point
<dross>
I'm looking for a powerful language for numerical processing without going to *cough* FORTRAN
<dan2>
mrvn: apparently someone made a binding for libevent for ocaml
<mrvn>
dross: c
<dan2>
mrvn: its absolutely sweet
<Riastradh>
Java is a strongly hyped language. That is why it won.
<dross>
mrvn: I like coding security and OO :)
<dross>
Riastradh: well I know this.
<mrvn>
dross: security contradicts speed
<dross>
Riastradh: Java is the next pascal. Its already showing it is the next pascal.
<mrvn>
dross: and OO slows you down a lot of the time too
<dross>
mrvn: well, I mean knowing where problems are.
<dross>
mrvn: OO has pros and cons
<dan2>
mrvn: depends, if you want to be able to make multiple swapable layers of code, OO is grat
<dan2>
freat
<dross>
mrvn: the pros outweigh the cons IMO.
<dan2>
great
<mrvn>
OO can help you in the design and abstraction but in ocaml it will always be slower.
<dross>
especially when trying to remember.. 30 thousand functions :)
<dross>
dan2: I'm also looking into using ocaml for web generation
<dan2>
mrvn: binding to libevent, the only problem is that the guy who made the binding didn't seem to port libevent's data ptr layer
<dan2>
dross: thats beyond me
<dross>
dan2: the byte compiling caught my eye at first, with the ability to compile native code.
<dross>
dan2: having both options is important to any language, which almost all don't have.
<dan2>
ocaml bytecompiled code seems fast enough in my cases
<mrvn>
dross: makes little difference.
<dross>
mrvn: it makes all the difference
<dan2>
dross: only for portability
<mrvn>
dross: bytecode is just native compilation for a simulated cpu.
<dross>
mrvn: its important when you want to write code, and not have to worry about not working on other OS
<dan2>
dross: ocaml isn't basic, its bytecode isn't slow
<mrvn>
dross: bytecode doesn't always work on other OSes.
<dross>
mrvn: sometimes portability isn't an issue, but when it is, I don't want to screw around using another language.
<mrvn>
dross: The protability issues are absolutely the same for simulating the bytecode engine or for native code.
<dross>
mrvn: depends what methods you use. From what the document says, it needs the same version of the compiler.
<dan2>
mrvn: btw, tested out epoll, it absolutely kickass
<mrvn>
dan2: told you so.
<dross>
dan2: you are about 23?
<dan2>
mrvn: i used it with my c++ socket library and just passed my socket instance along with epoll user data ptr
<dan2>
dross: 15
<dross>
dan2: hehe.
<mrvn>
dross: The advantage of bytecode is that you can use another compiler to optimize the engine to the target CPU while for native code the compiler has to be good.
<dross>
dan2: your slang is out off date.
<dan2>
dross: you on west coast?
<dross>
dan2: no. I'm in TN. none of my CA friends use the specific terminology you were using.
<dan2>
dross: slang is area specific
<dross>
I was born in CA. I moved to this rathole filled with hillbillies :)
<dan2>
dross: was gonna say
CosmicRay has quit ["Leaving"]
<dross>
dan2: you would hate it here.
<dan2>
dross: my favorite place to go is norcal
<dross>
this state is so technology behine it would made you go crazy.
<dross>
*behind
<dan2>
dross: can't be worse than pennsylvania
<dan2>
dross: pennsylvania they still type the letters on a typewriter
<dan2>
dross: and the phone numbers actually call a person, not a IVR system
<dross>
dan2: what about network sockets and ocaml?
<dross>
dan2: builtin, or do I need an external library?
<dan2>
dross: fun fun
<dan2>
dross: builtin
* dross
must have missed the reference
<dan2>
dross: if you've used C sockets, they are practically the same