mengu has quit [Remote host closed the connection]
two_wheels has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Algebr` has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
<Bluddy[m]>
kerrhau: Um... in that case, I recommend signing up for hackerrank and going through their questions. They support OCaml as one of the possible languages.
two_wheels has joined #ocaml
two_wheels has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SomeDamnBody has joined #ocaml
sgnb` has quit [Ping timeout: 248 seconds]
eh_eff has joined #ocaml
SomeDamnBody has quit [Remote host closed the connection]
<SomeDamnBody>
I am getting some compile errors when I try to compile some .c code with ocaml. This works on linux, but on mac I'm getting missing symbols because my linker wants to exclude a particular file that it says isn't of the right format.
FreeBirdLjj has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
wagle has quit [Remote host closed the connection]
wagle has joined #ocaml
eh_eff has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
Mercuria1Alchemi has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
TobiasBales has joined #ocaml
peterpp has joined #ocaml
peterpp has quit [Client Quit]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
TheLemonMan has joined #ocaml
dtornabene has joined #ocaml
jlam_ has joined #ocaml
Simn has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 252 seconds]
grr12314 has joined #ocaml
<grr12314>
hello
<grr12314>
is ocaml bytecode always interpreted or can it be compiled to machine code?
<reynir>
js_of_ocaml compiled ocaml bytecode to javascript, but I'm sure that's not what you meant :)
<grr12314>
it is actually part of why i ask
<grr12314>
i saw their claim that the js compiled version runs faster than the normal bytecode interpreter
<grr12314>
so i was wondering if there's a straight-to-native compiler that would be even faster instead
cbot has quit [Quit: Leaving]
enterprisey has quit [Read error: Connection reset by peer]
<reynir>
Ah, ok. I don't know of any bytecode->native compiler.
<Leonidas>
grr12314: there is a ocaml->native compiler?
<Leonidas>
that is much faster than the bytecode compiler which essentially noone uses that much hence why it is not extraordinary fast :)
<companion_cube>
it's useful for debugging and bootstrapping :)
<Leonidas>
SomeDamnBody: different compilers? gcc vs clang?
<Leonidas>
yeah, it is probably useful. also for js_of_ocaml
<companion_cube>
ah right
eh_eff has joined #ocaml
<Leonidas>
I wonder whether interpreting bytecode or compiling it to js and then interpreting that is faster nowadays.
<reynir>
I think js_of_ocaml on one of the faster javascript engines is faster than ocaml bytecode
<reynir>
I mean, I've read that claim before
<companion_cube>
probably depends a lot on the program
<companion_cube>
ocamlrun still has the good pattern matching + GC
<companion_cube>
well thank you for volunteering! ;)
<reynir>
lol
<reynir>
I guess I'd need to break backwards compatibility or bloat the interface \o/
eh_eff has quit [Ping timeout: 246 seconds]
<companion_cube>
ideally it would only change the core system, not the plugins
<companion_cube>
i.e. you would have one instance of each plugin per chan
<reynir>
Right
<companion_cube>
there are some issues though, e.g. for private messages
<companion_cube>
(which plugins to route these to)
<companion_cube>
or, indeed, break compat a bit and add a "chan" argument to plugins' functions
<reynir>
But I'd actually want one plugin to cover multiple channels - I have a !weather plugin where you can set a location, and it would be silly if users have to set the location in each channel
<companion_cube>
yeah so the second solution is better anyway
<reynir>
I guess you could keep the interface as now - and then add new Command.make_chan_aware etc. that
<reynir>
and have the old interface be "global"
<companion_cube>
yeah ok
<reynir>
Also, it isn't possible to set the command prefix, right? It's always '!', no?
<companion_cube>
you need to modify at least `Command.match_` and `Plugin.on_msg`
<companion_cube>
right now it is, there's also an issue I believe
<reynir>
Ah yes, #13
<reynir>
ok, I might take a look at it at some point
<companion_cube>
you need an additional argument to many functions, again
<companion_cube>
at some point it might be worth it passing around a "context" or "config" record with the prefix, current channel, etc.
<reynir>
Right
<reynir>
(by the way, I solved the multichannel issue by copying state.json and running two instances - who will eventually diverge I guess \o/)
<companion_cube>
erf :D
<companion_cube>
at some point I'd also like to have compression of the state.json
<companion_cube>
but this is just a side project so I don't have that much time
<reynir>
ooh, that sounds not-too-difficult
samrat_ has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
sam_ has quit [Ping timeout: 248 seconds]
<Leonidas>
calculon? why, when we have eggdrop and Tcl *ducks*
dtornabene has quit [Ping timeout: 264 seconds]
<companion_cube>
Leonidas: I'll wait for you to translate these into OCaml, if you don't mind :p
samrat_ has joined #ocaml
troydm has joined #ocaml
<Leonidas>
tcl_of_ocaml, coming soon to a opam repository near you.
ousado has joined #ocaml
KeyJoo has joined #ocaml
zv has quit [Ping timeout: 248 seconds]
xpinguin has joined #ocaml
zv has joined #ocaml
BitPuffin|osx has quit [Remote host closed the connection]
BitPuffin|osx has joined #ocaml
mfp__ has joined #ocaml
argent_smith has joined #ocaml
kakadu has joined #ocaml
copy_ has joined #ocaml
KeyJoo has quit [Remote host closed the connection]
dtornabene has joined #ocaml
KeyJoo has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 255 seconds]
<companion_cube>
eeeek
troydm has quit [Ping timeout: 252 seconds]
xpinguin has quit [Quit: Leaving]
xpinguin has joined #ocaml
flux has joined #ocaml
grr12314 has left #ocaml [#ocaml]
sam_ has joined #ocaml
danieli has quit [Remote host closed the connection]
thegameg has quit [Ping timeout: 246 seconds]
sam_ has quit [Ping timeout: 248 seconds]
danieli_ has joined #ocaml
argent_smith has quit [Read error: Connection reset by peer]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 252 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Ping timeout: 248 seconds]
SomeDamnBody has quit [Remote host closed the connection]
terrorjack has joined #ocaml
xpinguin has quit [Quit: Leaving]
igmp has joined #ocaml
samrat_ has joined #ocaml
freusque has quit [Ping timeout: 240 seconds]
freusque has joined #ocaml
SomeDamnBody has joined #ocaml
<SomeDamnBody>
I am getting a lot of compile errors on OSX because the linker won't stop ignoring a particular archive I told it to link with.
<SomeDamnBody>
I'm not sure what to do because I just freshly built that damn thing, this wasn't happening yesterday, and I verified that it is for the architecture I am building...
eh_eff has joined #ocaml
sam_ has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
sam_ has quit [Ping timeout: 240 seconds]
<SomeDamnBody>
How do I tell which gcc compiler ocamlc uses?
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
sam_ has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Associat0r has quit [Read error: Connection reset by peer]
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
axesd9 has joined #ocaml
axesd9 has quit [Client Quit]
vtomole has joined #ocaml
sam_ has quit [Ping timeout: 255 seconds]
dakk__ has quit [Remote host closed the connection]
AltGr has joined #ocaml
govg has quit [Quit: leaving]
FreeBirdLjj has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
AltGr has left #ocaml [#ocaml]
jlam__ has joined #ocaml
flux has quit [Ping timeout: 255 seconds]
jlam_ has quit [Ping timeout: 240 seconds]
SomeDamnBody has quit [Quit: Leaving...]
flux has joined #ocaml
vtomole has quit [Ping timeout: 260 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ocaml
JuanDaugherty has joined #ocaml
sam_ has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
Simn has quit [Ping timeout: 240 seconds]
sam_ has quit [Ping timeout: 248 seconds]
jimmyrcom_ has joined #ocaml
sam_ has joined #ocaml
kakadu has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
andreas__ has quit [Quit: Connection closed for inactivity]
samrat_ has quit [Ping timeout: 260 seconds]
silver has quit [Quit: rakede]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 248 seconds]
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
MercurialAlchemi has quit [Ping timeout: 248 seconds]
dejanr has quit []
dejanr has joined #ocaml
jlam_ has joined #ocaml
copy_ has quit [Quit: Connection closed for inactivity]
jlam__ has quit [Ping timeout: 255 seconds]
troydm has joined #ocaml
ayxih has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
_andre has quit [Quit: leaving]
argent_smith has quit [Quit: Leaving.]
Simn has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
JuanDaugherty has quit [Quit: Ex Chat]
ShalokShalom has quit [Remote host closed the connection]
danieli has quit [Quit: *does an epic flip into the nothingness*]
andreas__ has joined #ocaml
sam_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
infinity0 has joined #ocaml
infinity0 has quit [Changing host]
sam_ has quit [Ping timeout: 240 seconds]
sh0t has quit [Remote host closed the connection]
Associat0r has quit [Ping timeout: 240 seconds]
danieli has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
AltGr has joined #ocaml
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 248 seconds]
AltGr has left #ocaml [#ocaml]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 248 seconds]
Simn has quit [Read error: Connection reset by peer]
cbot has joined #ocaml
ayxih has quit [Quit: Leaving]
xuanrui has joined #ocaml
philtor has joined #ocaml
cbot has quit [Ping timeout: 246 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
sz0 has joined #ocaml
cbot has joined #ocaml
mengu has joined #ocaml
sam_ has joined #ocaml
kakadu_ has quit [Remote host closed the connection]