adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Upcoming OCaml MOOC: https://huit.re/ocamlmooc | OCaml 4.03.0 release notes: http://ocaml.org/releases/4.03.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
agarwal1975 has joined #ocaml
mcc has joined #ocaml
yomimono has joined #ocaml
alienbot has joined #ocaml
alienbot has quit [Read error: Connection reset by peer]
minn has quit [Ping timeout: 244 seconds]
sh0t has joined #ocaml
phase_ has joined #ocaml
yomimono has quit [Quit: Leaving]
brab has quit [Ping timeout: 255 seconds]
brab has joined #ocaml
fraggle_ has quit [Ping timeout: 265 seconds]
glennsl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
copy` has quit [Quit: Connection closed for inactivity]
fraggle_ has joined #ocaml
cryyya has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
wu_ng has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
FreeBirdLjj has quit [Ping timeout: 244 seconds]
cryyya has joined #ocaml
silver has quit [Quit: rakede]
govg has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
fluter has quit [Ping timeout: 265 seconds]
sh0t has quit [Remote host closed the connection]
fluter has joined #ocaml
ygrek_ has quit [Ping timeout: 240 seconds]
ygrek_ has joined #ocaml
Mandus has quit [Ping timeout: 244 seconds]
Mandus has joined #ocaml
axiles has quit [Read error: Connection reset by peer]
axiles has joined #ocaml
bruce_r has joined #ocaml
ygrek_ has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
cross has joined #ocaml
<cross> who
groovy2shoes has joined #ocaml
govg has joined #ocaml
fraggle_ has quit [Ping timeout: 260 seconds]
fraggle_ has joined #ocaml
adelbertc has joined #ocaml
rgrinberg has quit [Ping timeout: 276 seconds]
govg has quit [Ping timeout: 244 seconds]
kv_ has joined #ocaml
pierpa has quit [Ping timeout: 276 seconds]
minn has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
MercurialAlchemi has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
AlexDenisov has joined #ocaml
tmtwd has quit [Ping timeout: 265 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
tmtwd has joined #ocaml
phase_ has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 276 seconds]
MercurialAlchemi has quit [Ping timeout: 265 seconds]
slash^ has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
MercurialAlchemi has joined #ocaml
mattrepl has quit [Quit: mattrepl]
tmtwd has quit [Ping timeout: 276 seconds]
minn has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
Distortion has joined #ocaml
d0nn1e has quit [Ping timeout: 265 seconds]
d0nn1e has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
tmtwd has joined #ocaml
zaquest has joined #ocaml
bruce_r has quit [Ping timeout: 250 seconds]
Simn has joined #ocaml
bruce_r has joined #ocaml
tmtwd has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
AlexDenisov has joined #ocaml
<companion_cube> !manual
<companion_cube> !manual
cube_bot has joined #ocaml
<companion_cube> damn
fluter has quit [Ping timeout: 260 seconds]
octachron has joined #ocaml
DrWhax has joined #ocaml
<zozozo> !stdlib-docs
<zozozo> !stdlib_docs
<zozozo> it's not easy to use the bot sometimes, :p
fluter has joined #ocaml
copy` has joined #ocaml
<companion_cube> !stdlib
<companion_cube> yeah, I know
<companion_cube> I really need to add a search function
AlexRussia has joined #ocaml
bruce_r has quit [Ping timeout: 264 seconds]
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
Distortion has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fluter has quit [Ping timeout: 255 seconds]
manizzle has quit [Read error: Connection timed out]
jwatzman|work has joined #ocaml
fluter has joined #ocaml
manizzle has joined #ocaml
AlexDenisov has quit [Read error: Connection reset by peer]
AlexDenisov has joined #ocaml
fluter has quit [Ping timeout: 255 seconds]
manizzle has quit [Read error: Connection timed out]
Distortion has joined #ocaml
sepp2k has joined #ocaml
zpe has joined #ocaml
adelbertc has quit [Quit: Connection closed for inactivity]
al-damiri has joined #ocaml
fluter has joined #ocaml
tane has joined #ocaml
rwmjones has quit [Ping timeout: 260 seconds]
rwmjones has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
wu_ng has quit [Ping timeout: 240 seconds]
glennsl has joined #ocaml
tane has quit [Quit: Leaving]
AlexDenisov has joined #ocaml
Distortion has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Distortion has joined #ocaml
AlexDenisov has quit [Client Quit]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 265 seconds]
<vbmithr> Hey
<vbmithr> Sorry I missed the discussion about msgpck
sdothum has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
<vbmithr> I just use sexplib to print things
<vbmithr> Maybe it should not be a dependency of the library either
<vbmithr> s/either/however
slash^ has joined #ocaml
nyon has joined #ocaml
nyon has quit [Client Quit]
Algebr` has joined #ocaml
FreeBirdLjj has joined #ocaml
troydm has quit [Ping timeout: 244 seconds]
cross has quit [Ping timeout: 244 seconds]
troydm has joined #ocaml
cross_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
agarwal1975 has joined #ocaml
picolino has quit [Ping timeout: 244 seconds]
picolino has joined #ocaml
Distortion has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wu_ng has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
tennix has joined #ocaml
yomimono has joined #ocaml
mpenet has joined #ocaml
<mpenet> hmm can't get fieldslib to work, any ideas? open FieldsLib work, my record is annotated, yet the compiler complains on the "with ..." line (merlin too).
<octachron> the "with ..." syntax is a campl4 extension
<companion_cube> you probably use an old version of fieldslib, now it's using ppx
<mpenet> 113.24.00
TheLemonMan has joined #ocaml
<octachron> mpenet, 113.24 core replaced camlp4 extensions with ppx one, see https://github.com/janestreet/ppx_fields_conv for the fieldlibs one
<mpenet> oki, I ll check it out, thanks!
picolino has quit [Ping timeout: 260 seconds]
picolino has joined #ocaml
<mpenet> just uprading and changing syntax made it work. great!
freehck has joined #ocaml
pierpa has joined #ocaml
sh0t has joined #ocaml
ggole has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
<mpenet> any advice for a logging library?
<mpenet> I have my sights on http://erratique.ch/repos/logs/, but I am not sure if that's the popular choice
<Algebr`> seems to be no consensus but people also use the logging provided by lwt since they most likely are using lwt anyway
<mpenet> I am using lwt actually, didn't know a logging lib was included
<Algebr`> !lwt
<mpenet> thx
<cube_bot> OK.
shinnya has joined #ocaml
<Algebr`> anyone played with this lang? https://en.wikipedia.org/wiki/FAUST_(programming_language)
agarwal1975 has joined #ocaml
<Drup> (I can tell it's made by french people because of the pun acronym, french researcher are particularly good at that)
<Algebr`> yea, hence I was hoping to get some overlap here
<Algebr`> what's the pun? I thought it was just goethe's character
<Drup> "Functional AUdio STream"
<Algebr`> heh
<Algebr`> not bad though
<Drup> Inria (a country-wide compsci research organism) (itself an acronym) would deserve a whole chapter on the subject. It's almost a local sport.
<Algebr`> I like the playfulness, I saw someone teaching it, a frenchman, it looked really cool and it bills itself as a functional language
AlexRussia has quit [Ping timeout: 244 seconds]
picolino has quit [Ping timeout: 255 seconds]
picolino has joined #ocaml
nore has quit [Quit: WeeChat 1.4]
AlexRussia has joined #ocaml
<gasche> in terms of language design, Faust is reinventing the wheel on some fronts
<gasche> (i meant in terms of language *theory* actually)
tennix has quit [Quit: WeeChat 1.5]
<Algebr`> gasche: can you elaborate?
<gasche> in terms of pushing synchronous languages towards realistic sound synthesis applications, it's a cool project
picolino has quit [Ping timeout: 276 seconds]
<gasche> the fact that the people working on it are both researchers and musicians helps a lot
<Algebr`> so its actually used in industry?
<gasche> (I don't know -- I don't think so)
<gasche> it is delicate to elaborate my previous remark, which suggests that maybe I should not have made it
<gasche> but let's say that I suspect there is a lot of work from the synchronous programming community (which is impactful in industry and has strong research groups in France) that could have been reused by the Faust project, which instead went to develop its own (but relatively similiar) theory
<gasche> (the fact that there is no link to the research papers from the Faust website doesn't make it very easy to go back to those documents to refresh my memory)
<Algebr`> what do you mean by synchronous programming? I don't think I'm thinking it the same way you are
<Drup> Algebr`:
<Algebr`> ah
<Algebr`> so lustre is another competing lang and is the predominate one in this space?
clog has quit [Ping timeout: 250 seconds]
<Drup> Lustre is one that received a good amount of research, but it's a whole family, really
<gasche> it's unclear whether they are competing given that the applications the various communities are pushing are quite different
<gasche> I'm pointing out that the *theory* work behind the various languages could have been shared, and opportunities were missed
AlexRussia has quit [Ping timeout: 240 seconds]
<gasche> (you probably don't care, neither does most of the Faust user-base or contributor-base, which precisely explains the current state)
<Drup> ( If you are curious about synchronous programming and want to see it in a more familiar context, that might interest you: https://github.com/remyzorg/pendulum )
clog has joined #ocaml
AlexRussia has joined #ocaml
<mpenet> Is there a way to shrink the size of native binary generated by the compiler somehow (I am just running "make" via the Makefile oasis generated for me atm)?
<Drup> (Elm is pretty much synchronous programming too, now)
<Algebr`> thank you all
<Algebr`> mpenet: strip the binary
<mpenet> Algebr`: how so?
<Algebr`> `man strip` maybe?
<mpenet> I am an idiot, thx :>
MercurialAlchemi has quit [Ping timeout: 244 seconds]
mpenet has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 250 seconds]
wu_ng has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Ping timeout: 255 seconds]
Simn has quit [Read error: Connection reset by peer]
nojb has joined #ocaml
freusque has quit [Quit: WeeChat 1.4]
AlexRussia has joined #ocaml
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
pyon has quit [Remote host closed the connection]
mattrepl has joined #ocaml
pyon has joined #ocaml
MercurialAlchemi has joined #ocaml
Simn has joined #ocaml
johnf has joined #ocaml
brab has quit [Ping timeout: 250 seconds]
brab has joined #ocaml
johnf has quit [Read error: Connection reset by peer]
johnf has joined #ocaml
AlexDenisov has joined #ocaml
ee_ks1 has joined #ocaml
ryanartecona has joined #ocaml
shinnya has quit [Ping timeout: 250 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
mcc has quit [Quit: Connection closed for inactivity]
alienbot has joined #ocaml
ygrek has joined #ocaml
AlexRussia has quit [Ping timeout: 265 seconds]
rgrinberg has joined #ocaml
jeffmo has joined #ocaml
hcarty has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
AlexRussia has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
octachron has quit [Quit: Page closed]
d0nn1e has quit [Ping timeout: 244 seconds]
agarwal1975 has quit [Quit: agarwal1975]
d0nn1e has joined #ocaml
bruce_r has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
jeffmo has quit [Quit: jeffmo]
d0nn1e has quit [Ping timeout: 252 seconds]
agarwal1975 has joined #ocaml
d0nn1e has joined #ocaml
zpe has quit [Remote host closed the connection]
nojb has quit [Read error: Connection reset by peer]
jeffmo has joined #ocaml
jeffmo has quit [Client Quit]
orbifx has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
vapid has joined #ocaml
orbifx has quit [Ping timeout: 250 seconds]
ryanartecona has quit [Quit: ryanartecona]
AlexRussia has quit [Ping timeout: 240 seconds]
lukky513 has joined #ocaml
yomimono has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ocaml
blind44 has joined #ocaml
NaCl has joined #ocaml
blind44 has quit [Remote host closed the connection]
Xizor has joined #ocaml
TheLemonMan has joined #ocaml
blind44 has joined #ocaml
blind44 has quit [Remote host closed the connection]
five776 has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
agarwal1975 has joined #ocaml
Simn has quit [Ping timeout: 265 seconds]
ryanartecona has joined #ocaml
yomimono has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
yomimono has quit [Ping timeout: 255 seconds]
zpe has joined #ocaml
nore has joined #ocaml
AlexRussia has quit [Ping timeout: 276 seconds]
freusque has joined #ocaml
SpaceSheep has joined #ocaml
AlexRussia has joined #ocaml
freusque has quit [Read error: No route to host]
shinnya has joined #ocaml
hcarty has quit [Quit: WeeChat 1.5]
TheVoid has quit [Ping timeout: 240 seconds]
ee_ks1 has quit [Quit: Leaving.]
AlexRussia has quit [Ping timeout: 250 seconds]
slash^ has quit [Read error: Connection reset by peer]
natimic has joined #ocaml
TheVoid has joined #ocaml
sh0t has quit [Ping timeout: 252 seconds]
octachron has joined #ocaml
kakadu has joined #ocaml
AlexDenisov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has joined #ocaml
sh0t has joined #ocaml
freusque has joined #ocaml
freusque has quit [Read error: Connection reset by peer]
freusque has joined #ocaml
tane has joined #ocaml
gautv has joined #ocaml
pyon has quit [Quit: brb]
pyon has joined #ocaml
zpe has quit [Remote host closed the connection]
Simn has joined #ocaml
kakadu2 has joined #ocaml
freusque has quit [Ping timeout: 244 seconds]
freusque has joined #ocaml
bruce_r has quit [Ping timeout: 250 seconds]
TheVoid has quit [Remote host closed the connection]
octachron has quit [Quit: Leaving]
kakadu2 has quit [Quit: Bye]
freusque has quit [Ping timeout: 250 seconds]
freusque has joined #ocaml
SpaceSheep has quit [Quit: WeeChat 1.5]
ggole has quit []
minn has joined #ocaml
Xizor has quit [Read error: Connection reset by peer]
freusque has quit [Read error: Connection reset by peer]
<valexey> The simple microbenchmark test (component pascal, go, ocaml, haskell, c++): https://github.com/valexey/bubble_test
freusque has joined #ocaml
<gasche> valexey: I'm not sure what we are expected to learn from the microbenchmark
<gasche> what is the actual usage scenario that may be informed by these results?
<gasche> microbenchmark tend to depend a lot on implementation choices that don't matter much for most other programs
jhaberku has joined #ocaml
<valexey> gasche, I've tested ocaml to prove myself that there is no huge performance penalty for pure imperative tasks (image processing, dsp and so on) with ocaml. This is a very simple test: just bubble sort algo.
<Algebr`> valexey: but it doesn't so anything conclusive...
<valexey> And this test have been successfully passed by ocaml. For me.
<valexey> And it was failed by haskell.
<vapid> rip
<valexey> As expected.
<vapid> how badly did the unsafe haskell version perform in comparison to ocaml?
<valexey> 2.14 sec haskell version VS 1.03 sec ocaml
<vapid> also i kinda get the feeling that forM_ is really slow for for loops
<Algebr`> I also don't think that's the fastest possible haskell code
<valexey> Yep. But anyway haskell needs too much effort from programmer to write hipref imperative code for such tasks.
<valexey> Actually I do't know ocaml (2 days learning) and this code (1.03 sec) was the second code iteration.
<valexey> By contrast: haskell code have been written by programmer who knows (and sometimes uses) haskell about 10 years.
<valexey> And there were about 5 code iterations.
freusque has quit [Read error: Connection reset by peer]
freusque has joined #ocaml
<jhaberku> Immutable data structures, or array mutation and stuff?
<valexey> array mutation & co
<gasche> valexey: did you try Haskell's LLVM backend?
<gasche> it should do well on that stuff
<gasche> (ghc -fllvm ...)
d0nn1e has quit [Ping timeout: 240 seconds]
<valexey> gasche, nop. I'll try
d0nn1e has joined #ocaml
<valexey> so, it does't work:
<valexey> $ ghc -fllvm -O3 bubble_unsafe_array.hs
<valexey> [1 of 1] Compiling Main ( bubble_unsafe_array.hs, bubble_unsafe_array.o )
<valexey> Currently only 3.7 is supported.
<valexey> You are using an unsupported version of LLVM!
<valexey> We will try though...
<valexey> opt: /tmp/ghc22577_0/ghc_2.ll:15:29: error: expected comma after alias's type
<valexey> @__stginit_Main = alias i8* bitcast (%__stginit_Main_struct* @__stginit_Main$def to i8*)
<valexey> ^
<valexey> `opt' failed in phase `LLVM Optimiser'. (Exit code: 1)
<valexey> too much effort for performance haskell code :-)
<vapid> i mean
<Algebr`> uh
<vapid> im pretty sure that forM still makes a list
<vapid> and takes numbers out of it one at a timw
<vapid> e
<vapid> and is the main reason for it being slow
<valexey> I remember one report about FP usage in one project. They tried to move from C++ to something else. At first they rewrote their production code to haskell. It was 10x times slower then C++, and after optimizations in haskell code it was 3x slower.
<valexey> After that they rewrote this code to ocaml. It had the same performance as C++ code and was 5 times shorter.
<Algebr`> link?
<valexey> This report is in Russian :-\
<valexey> It was 2010 year
demonimin_ has quit [Ping timeout: 276 seconds]
<kakadu> How do you measure time?
<valexey> just time command in linux shell
<valexey> It is fair enough for this case.
<kakadu> On my machine OCaml is 1.5 time faster than haskell+llvm3.5
<valexey> make sense
sh0t has quit [Ping timeout: 250 seconds]
orbifx has joined #ocaml
mattrepl has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]
mattrepl has joined #ocaml
tane has quit [Quit: Leaving]
Simn has quit [Read error: Connection reset by peer]
freusque has quit [Ping timeout: 260 seconds]
sh0t has joined #ocaml
pseudo-sue has joined #ocaml
<pwzoii> question about utop. i'm unable to get vi movement working. any ideas?
<pwzoii> im guessing it doesnt pull from inputrc
<orbifx> probably not
sepp2k has quit [Quit: Leaving.]
ryanartecona has quit [Quit: ryanartecona]
TheLemonMan has quit [Remote host closed the connection]
bruce_r has joined #ocaml
jhaberku has quit [Remote host closed the connection]
orbifx has quit [Ping timeout: 244 seconds]
kakadu has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 244 seconds]
sh0t has quit [Remote host closed the connection]