caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] The vmthreads library is deprecated in OCaml 4.08
@ 2019-03-05 15:55 Jeremie Dimino
  2019-03-06  4:41 ` Андрей Бергман
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremie Dimino @ 2019-03-05 15:55 UTC (permalink / raw)
  To: caml-list

Dear OCaml users,

I just wanted to bring your attention to the fact that the vmthreads
library is deprecated in the upcoming OCaml 4.08 release. This library
provides user-level threads for bytecode applications. We do not
believe this library is still actively used. Additionally, several
widely used alternatives exist, such as the Lwt [1] or Async [2]
libraries. As a result, we decided to deprecate and then delete it
from the compiler distribution in order to simplify its maintenance.

Note that the threads library, which provides support for system
threads is still present and actively supported.

Thanks,

Jeremie

[1] https://github.com/ocsigen/lwt
[2] https://github.com/janestreet/async

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] The vmthreads library is deprecated in OCaml 4.08
  2019-03-05 15:55 [Caml-list] The vmthreads library is deprecated in OCaml 4.08 Jeremie Dimino
@ 2019-03-06  4:41 ` Андрей Бергман
  2019-03-06 10:19   ` Jeremie Dimino
  0 siblings, 1 reply; 3+ messages in thread
From: Андрей Бергман @ 2019-03-06  4:41 UTC (permalink / raw)
  To: Jeremie Dimino; +Cc: caml-list

Is it possible to develop multithread applications in Ocaml somehow in Linux?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] The vmthreads library is deprecated in OCaml 4.08
  2019-03-06  4:41 ` Андрей Бергман
@ 2019-03-06 10:19   ` Jeremie Dimino
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremie Dimino @ 2019-03-06 10:19 UTC (permalink / raw)
  To: Андрей
	Бергман
  Cc: Jeremie Dimino, caml-list

You can use the "threads" library to write multi-threaded OCaml
applications. It works on Linux, OSX, Windows, ... There is however
one limitation: only one system thread can run OCaml code at a time.
There is a work-in-progress to enable multiple system threads to run
OCaml code simultaneously, the following page describes the state of
this project: https://github.com/ocamllabs/ocaml-multicore/wiki

On Wed, Mar 6, 2019 at 4:43 AM Андрей Бергман <vkni@yandex.ru> wrote:
>
> Is it possible to develop multithread applications in Ocaml somehow in Linux?



-- 
Jeremie

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-06 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05 15:55 [Caml-list] The vmthreads library is deprecated in OCaml 4.08 Jeremie Dimino
2019-03-06  4:41 ` Андрей Бергман
2019-03-06 10:19   ` Jeremie Dimino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).