adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
<oni-on-ion> why cant dune just use ocaml itself
unyu has quit [Ping timeout: 258 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
pierpal has quit [Ping timeout: 250 seconds]
<oni-on-ion> it is not possible to use 'external' for native code ?
<oni-on-ion> using [@@unboxed]
<oni-on-ion> external calcMoney : float -> float = "calcMoney" [@@unboxed] [@@noalloc]
<oni-on-ion> "Error: The native code version of the primitive is mandatory when attributes [@untagged] or [@unboxed] are present"
<oni-on-ion> checking dune --verbose shows that ocamlc is used when the external is present, but ocamlopt when it is not. what is going on ?
silver has quit [Quit: rakede]
mfp has quit [Ping timeout: 244 seconds]
unyu has joined #ocaml
AtumT has quit [Quit: AtumT]
zmt01 has joined #ocaml
zmt00 has quit [Ping timeout: 250 seconds]
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
pierpal has joined #ocaml
amosbird has joined #ocaml
jao has quit [Ping timeout: 268 seconds]
<companion_cube> you have to provide 2 versions I think
<companion_cube> = "calcMoney" "calcMoneyUnboxed" or something like that
<companion_cube> (also, what do you mean "why can't dune just use ocaml itself", when it does?)
AnAverageHuman has joined #ocaml
carlosdagos has joined #ocaml
<oni-on-ion> (i meant that why dune has its own language, but its no matter =)
<companion_cube> ah, well, it makes it faster
<companion_cube> trading flexibility against convenience and speed
<oni-on-ion> true. i am also going to use sexp-scripts in my project
<oni-on-ion> also what i did for the moment is put more things into C -- because instead of unboxing individual values i can use bigarrays
<companion_cube> floats?
<oni-on-ion> yep
decaf has joined #ocaml
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
decaf has quit [Ping timeout: 246 seconds]
gravicappa has joined #ocaml
AnAverageHuman has quit [Remote host closed the connection]
xuib has quit [Quit: xuib]
gravicappa has quit [Ping timeout: 246 seconds]
Birdface has joined #ocaml
gravicappa has joined #ocaml
carlosdagos has quit [Quit: WeeChat 2.4]
bramford has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
ShalokShalom has joined #ocaml
ShalokShalom has quit [Remote host closed the connection]
oni-on-ion has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
mfp has joined #ocaml
Haudegen has joined #ocaml
silver has joined #ocaml
notnotdan has joined #ocaml
ziyourenxiang has joined #ocaml
Birdface has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ocaml
gareppa has joined #ocaml
decaf has joined #ocaml
decaf has quit [Quit: Leaving]
zolk3ri has joined #ocaml
jnavila has joined #ocaml
govg has quit [Ping timeout: 246 seconds]
govg has joined #ocaml
dhil has joined #ocaml
carlosdagos has joined #ocaml
Birdface has joined #ocaml
<amosbird> hmm, does ocaml have a decent lsp server now?
<amosbird> especially for find-references
<Drup> amosbird: merlin.
AtumT has joined #ocaml
jmiven has quit [Quit: co'o]
<amosbird> https://github.com/ocaml/tuareg https://github.com/ocaml/caml-mode hmm, I cannot figure out the difference between the two
jmiven has joined #ocaml
<Drup> amosbird: if you are using emacs, just do `opam install user-setup` and follows the instructions
<Drup> it'll setup everything for you
<amosbird> yeah
<amosbird> I have emacs setup but it seems non trivial for working on a project like this https://github.com/moosotc/llpp
<Drup> this seems to have a .merlin file, so if you build once, it should be fine
<amosbird> well, caml-types-locate-type-file: No annotation file. Compile with option "-annot" or set 'caml-annot-dir'.
ShalokShalom has joined #ocaml
<Drup> As I said before: merlin :)
<Drup> afterwards, it's C-c C-t
ShalokShalom has quit [Remote host closed the connection]
<Armael> hmm, the delicious llpp implementation
zolk3ri has quit [Remote host closed the connection]
Birdface has quit [Read error: Connection reset by peer]
Birdface has joined #ocaml
unyu has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
AtumT has quit [Ping timeout: 244 seconds]
AtumT has joined #ocaml
dhil has joined #ocaml
pierpal has quit [Ping timeout: 255 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
gareppa has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 246 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
weird_error has joined #ocaml
unyu has joined #ocaml
unyu has quit [Remote host closed the connection]
unyu has joined #ocaml
pierpal has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
pierpal has quit [Ping timeout: 246 seconds]
pierpal has joined #ocaml
ShalokShalom has joined #ocaml
xuib has joined #ocaml
ShalokShalom has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
jnavila has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
unyu has quit [Quit: ERC (IRC client for Emacs 26.2)]
Haudegen has quit [Remote host closed the connection]
ocabot has quit [Remote host closed the connection]
companion_cube has quit [Remote host closed the connection]
<Leonidas> oni-on-ion: There are build systems which are extensible in OCaml. My experience both in OCaml and in Python has been that this was way worse than an universal build system with agreed-upon defaults.
<oni-on-ion> i am going to have to agree with that
zv has quit [Ping timeout: 246 seconds]
dhil has joined #ocaml
Haudegen has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
zv has joined #ocaml
ygrek has joined #ocaml
Jesin has quit [Quit: Leaving]
unyu has joined #ocaml
kakadu has joined #ocaml
unyu has quit [Ping timeout: 245 seconds]
dhil has quit [Ping timeout: 246 seconds]
kakadu has quit [Remote host closed the connection]
jnavila has quit [Remote host closed the connection]
zv has quit [Ping timeout: 258 seconds]
Birdface has quit [Ping timeout: 240 seconds]
Jesin has joined #ocaml
zv has joined #ocaml
pierpal has quit [Ping timeout: 258 seconds]
ljsv has joined #ocaml
ljsv has quit [Quit: WeeChat 1.9.1]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
zolk3ri has joined #ocaml
metreo has joined #ocaml
kalio has quit [Quit: WeeChat 2.4]
AtumT has quit [Quit: AtumT]
kalio has joined #ocaml