Konstantin A. Olkhovskiy
Konstantin A. Olkhovskiy
Actually a lot of complexity comes from an attempt to play nicely with Dune and build everything in its sandbox. This ends with requirement to track all Cargo dependencies in...
One more concern that arises when thinking about many OCaml/Rust libraries in the wild is linking. I've added two Rust-baked OCaml libraries to single executable this morning and it exploded...
> I faced this same issue when trying to link multiple separate Rust libraries with OCaml bindings into an OCaml project. It is still pending a solution because I haven't...
> Here is https://github.com/rust-lang/rust/issues/73632 that seems related btw. Thanks for the pointer! The below comment seems to clearly illustrate the issue: https://github.com/rust-lang/rust/issues/73632#issuecomment-1083703808
@tizoc @zshipko looks like I've build some solution to automate the integration of Rust/Cargo into OCaml/Dune world, which does not require keeping everything in giant monorepo, but instead to collect...
My list of pain points: * Need to run this sed `sed -z -e 's/[[]@reason[^]]\+\]//g' -e 's/\[@explicit_arity *\]//g' -i Your_file.ml` * `let%bind`'s get messed up as `[%bind let foo =...
In JavaScript lack of explicit curly braces around body of if-else blocks implicitly puts them around first statement. Else block automagically extending till the end of function will probably look...
I'll try to come up with some repro later, chasing some other segfault at the moment 😵
A-a-and I stumbled upon this again... ``` ==554404== Thread 2 olwti-tokio-0: ==554404== Invalid write of size 4 ==554404== at 0x1F0E04A: caml_memprof_set_suspended (memprof.c:561) ==554404== by 0x1F064BF: caml_fatal_uncaught_exception (printexc.c:149) ==554404== by 0x1EF0257:...
`"no-panic-hook"` feature seems not very helpful here, as I have to control all dependencies which use `ocaml` crate to ensure this feature is set there, otherwise some default will just...