Zeev has quit [Read error: Connection reset by peer]
Zeev has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
dsheets_ has quit [Ping timeout: 256 seconds]
adrien_oww has quit [Ping timeout: 248 seconds]
eikke has quit [Ping timeout: 260 seconds]
ollehar has joined #ocaml
emmanuelux has quit [Quit: emmanuelux]
Neros has quit [Ping timeout: 256 seconds]
madroach_ has quit [Ping timeout: 245 seconds]
madroach has joined #ocaml
breakds has quit [Quit: Konversation terminated!]
breakds has joined #ocaml
breakds has quit [Client Quit]
ollehar has quit [Ping timeout: 260 seconds]
ben_zen has joined #ocaml
darkf has joined #ocaml
vpit3833 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
talzeus has joined #ocaml
venk has joined #ocaml
skchrko has joined #ocaml
shinnya has quit [Ping timeout: 246 seconds]
breakds has joined #ocaml
ben_zen has quit [Quit: Wheeeee]
breakds has quit [Remote host closed the connection]
j0sh has quit [Remote host closed the connection]
mattrepl has quit [Quit: mattrepl]
Watcher7 is now known as Watcher7|off
osnr has quit [Quit: Leaving.]
weie_ has joined #ocaml
weie has quit [Ping timeout: 256 seconds]
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
ttamttam has joined #ocaml
jcao219 has joined #ocaml
Snark has joined #ocaml
osnr has quit [Ping timeout: 276 seconds]
ttamttam has quit [Remote host closed the connection]
ttamttam has joined #ocaml
q66 has joined #ocaml
josh___ has joined #ocaml
josh___ is now known as j0sh
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
osnr has quit [Ping timeout: 240 seconds]
ttamttam has quit [Remote host closed the connection]
Yoric has joined #ocaml
eni has joined #ocaml
mcclurmc has quit [Ping timeout: 245 seconds]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
osnr has joined #ocaml
osnr has quit [Ping timeout: 264 seconds]
jcao219 has quit [Ping timeout: 248 seconds]
zpe has joined #ocaml
ttamttam has joined #ocaml
eni has quit [Ping timeout: 248 seconds]
zpe has quit [Ping timeout: 264 seconds]
eikke has joined #ocaml
ggole has joined #ocaml
zpe has joined #ocaml
ygrke has joined #ocaml
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
raichoo has joined #ocaml
ygrke is now known as ygrek
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
hkBst has quit [Ping timeout: 240 seconds]
hkBst_ has quit [Excess Flood]
osnr has quit [Ping timeout: 276 seconds]
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
zpe has quit [Ping timeout: 264 seconds]
cago has joined #ocaml
hkBst_ has quit [Read error: Connection reset by peer]
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
mika1 has joined #ocaml
mika1 has quit [Client Quit]
mika1 has joined #ocaml
hkBst_ has quit [Remote host closed the connection]
hkBst_ has joined #ocaml
vext01_ is now known as vext01
zpe has joined #ocaml
eikke has quit [Ping timeout: 256 seconds]
eikke has joined #ocaml
ulfdoz has joined #ocaml
mcclurmc has joined #ocaml
zpe has quit [Ping timeout: 264 seconds]
beckerb__ has joined #ocaml
cago has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
skchrko has quit [Quit: Leaving]
zpe has joined #ocaml
rwmjones_ is now known as rwmjones
Yoric has quit [Ping timeout: 256 seconds]
chambart has joined #ocaml
djcoin has joined #ocaml
Cypi_ is now known as Cypi
Kakadu has joined #ocaml
ollehar has joined #ocaml
mcclurmc_laptop has joined #ocaml
mcclurmc has quit [Read error: Connection reset by peer]
mcclurmc has joined #ocaml
mcclurmc_laptop has quit [Ping timeout: 260 seconds]
mcclurmc_laptop has joined #ocaml
Neros has joined #ocaml
mcclurmc has quit [Ping timeout: 246 seconds]
mcclurmc_laptop is now known as mcclurmc
sgnb has quit [Remote host closed the connection]
<Drup>
Could someone explain me the fundamental differences between React and Froc (if there is any) ? Both seems to have a nice interface and the globale paradigms is the same, so I fail to see any real differences.
adrien_o1w is now known as adrien_oww
mfp has quit [Ping timeout: 256 seconds]
sgnb has joined #ocaml
jbrown has joined #ocaml
chambart has quit [Ping timeout: 246 seconds]
skchrko has joined #ocaml
hkBst_ has quit [Ping timeout: 256 seconds]
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
mfp has joined #ocaml
Yoric has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
mort___ has joined #ocaml
malo has joined #ocaml
eikke has quit [Ping timeout: 264 seconds]
dsheets_ has joined #ocaml
Drup has quit [Quit: Leaving.]
ollehar has joined #ocaml
cago has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
ttamttam has quit [Quit: ttamttam]
ollehar has joined #ocaml
_andre has joined #ocaml
MarcWeber has joined #ocaml
<MarcWeber>
Is there a function f(abs, rel) which returns an absolute path only if rel is relative. If rel is absolute, return rel?
<MarcWeber>
I'll use is_relative
eikke has joined #ocaml
chambart has joined #ocaml
cago1 has joined #ocaml
cago has quit [Ping timeout: 264 seconds]
ygrek has quit [Ping timeout: 264 seconds]
BlankVerse has joined #ocaml
<BlankVerse>
Fatal error: exception Invalid_argument("index out of bounds")
<BlankVerse>
how to debug such exceptions?
<companion_cube>
you can try to print the stacktrace
<companion_cube>
if it's native code, use the environment variable OCAMLRUNPARAM=b (compiled with debug)
talzeus has quit [Remote host closed the connection]
ttamttam has joined #ocaml
cago1 has quit [Ping timeout: 276 seconds]
yroeht has quit [Ping timeout: 264 seconds]
rzm has joined #ocaml
yroeht has joined #ocaml
rixed has quit [Ping timeout: 264 seconds]
SanderM has joined #ocaml
hkBst_ has quit [Ping timeout: 256 seconds]
rixed has joined #ocaml
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
cago has joined #ocaml
stomp has joined #ocaml
eikke has quit [Ping timeout: 245 seconds]
ollehar1 has joined #ocaml
breakds has joined #ocaml
malo_ has joined #ocaml
malo has quit [Ping timeout: 264 seconds]
ollehar has quit [Ping timeout: 245 seconds]
ollehar1 has quit [Ping timeout: 245 seconds]
ollehar has joined #ocaml
jcao219 has joined #ocaml
jcao219 has quit [Ping timeout: 246 seconds]
talzeus has joined #ocaml
hkBst_ has quit [Remote host closed the connection]
hkBst_ has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
damo22 has joined #ocaml
<damo22>
is the whole of ocaml compiler toolchain provided as source? or is some of it distributed only as bytecompiled objects?
<adrien_oww>
source
<adrien_oww>
but a bytecode binary is also provided
<adrien_oww>
it's used to bootstrap the compiler
<damo22>
i have checked out the git repo i want to compile the whole toolchain from source
<adrien_oww>
you compile the bytecode VM (which is C) which then interprets the ocamlc bytecode binary that is provided which then builds a new ocamlc and from there you can build everything else
<damo22>
thanks
<damo22>
but if it interprets the provided ocamlc bytecode binary in order to build a new ocamlc, how is it built from source ?
* jbrown
imagines the just-built compiler is used to recompile itself (bootstrapping)
<damo22>
sorry im very new to ocaml
<jbrown>
it's a common concept for compilers -- GCC does it too (for native compilers at least)
<jbrown>
the "very first" compiler for a language usually has to be written in some other language, then you build a compiler for a subset of your language, etc. -- but for "new" versions, you always need the previous version
<jbrown>
assuming the compiler's written in the same language that it compiles, which is common.
<damo22>
ahhh
<jbrown>
Mozilla's rust was bootstrapped using an ocaml implementation of the compiler, then they rewrote it in rust, for a recent example...
<damo22>
interesting
valatar has joined #ocaml
<damo22>
i discovered that FFTW was written in OCaml thats one of the reasons i discovered it
malo_ has quit [Ping timeout: 260 seconds]
<damo22>
i assume ocaml can be used to generate C code?
<adrien_oww>
that's not how compilation of ocaml source code typically works
<damo22>
ok
<adrien_oww>
but you can printf
<adrien_oww>
which is basically what fftw does afaiu
ollehar has joined #ocaml
malo_ has joined #ocaml
valatar has quit [Ping timeout: 240 seconds]
<damo22>
i used to write some simple programs in haskell, but mostly i use C
<rixed>
damo22: also, if you are into metaprogramming, be sure to have a look at metaocaml.
<damo22>
although i have noticed that certain aspects of functional programming would be useful in C
<rixed>
damo22: OCaml is appealing to C programmers it seams.
chambart has quit [Ping timeout: 240 seconds]
<damo22>
like returning multiple things from a function, and polymorphism
malo_ has quit [Ping timeout: 276 seconds]
<jbrown>
there's lots of nice things about ocaml, and not losing too much speed relative to C is one of them :-)
<damo22>
yeah
<damo22>
i heard that
<jbrown>
but yeah, fftw is a special case, ocaml's only used to generate C code, not used at runtime
malo_ has joined #ocaml
dsheets__ has joined #ocaml
dsheets__ is now known as dsheets
<damo22>
thing is, fftw would have been very difficult to write in pure C alone i think
mika2 has joined #ocaml
ivan\ has quit [Ping timeout: 264 seconds]
mika1 has quit [Ping timeout: 264 seconds]
gbluma has quit [Ping timeout: 264 seconds]
dsheets_ has quit [Ping timeout: 264 seconds]
mfp has quit [Ping timeout: 264 seconds]
bobry has quit [Ping timeout: 264 seconds]
cthuluh has quit [Ping timeout: 264 seconds]
mfp_ has joined #ocaml
valatar has joined #ocaml
<jbrown>
that's probably true, though I don't know any of the details :-)
ivan\_ has joined #ocaml
kaktus has quit [Ping timeout: 264 seconds]
kaktus__ has joined #ocaml
gbluma has joined #ocaml
ia0 has quit [Ping timeout: 264 seconds]
<damo22>
metaocaml... code that recompiles itself at runtime?? wow
ia0 has joined #ocaml
sgnb has quit [Ping timeout: 291 seconds]
ivan\_ is now known as ivan\
<damo22>
people who wrote this are years ahead of anything ive ever seen
foo808_ has quit [Ping timeout: 259 seconds]
foo808 has joined #ocaml
<ggole>
Staging has been around for a fair while
<ggole>
But yeah, metaocaml seems very cool
Cypi_ has joined #ocaml
j0sh_ has joined #ocaml
rixed_ has joined #ocaml
<damo22>
has anyone written an operating system in ocaml?
<ousado>
mirage is the closest to that, I think. but it's not entirely written in ocaml