Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sadiq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
sadiq
5y ago
Thomas Leonard did a great talk on our experiences with effects at the OCaml Workshop this year: https://watch.ocaml.org/videos/watch/74ece0a8-380f-4e2a-bef5... Also you can start playing with effects today using
62.
▲
by
sadiq
5y ago
Multicore upstreaming wasn't blocked on having fully-fledged effects. If you look at the diff between multicore 5.00 and trunk OCaml, the changes required for fibers is pretty small relative to the multicore GC and making the rest of t
63.
▲
by
sadiq
5y ago
Yes, it's announcing that the next but one version, 5.0, will support multicore and effect handlers. For what it's worth you can actually start using Multicore OCaml today, there are installation instructions on the wiki: https:&
64.
▲
by
sadiq
5y ago
As usual I'm happy to answer any questions I can.
65.
▲
Multicore OCaml: September 2021 - Effect handlers will be in OCaml 5.0
(discuss.ocaml.org)
16 points
by
sadiq
5y ago
|
3 comments
66.
▲
by
sadiq
5y ago
Our paper from ICFP last year has extensive benchmarks against stock OCaml: https://arxiv.org/abs/2004.11663 In short there should be very little performance difference against stock. As KC has linked in a sibling comm
67.
▲
by
sadiq
5y ago
Gen 9 can now come with 32 GB, at least in the UK.
68.
▲
by
sadiq
5y ago
Not sure I have enough of an overview to comment on that in general, unfortunately. The overview Anil gave at the end of last year on the OCaml Platform should give you an idea of the many other strands of work that are going on: https:&#x
69.
▲
by
sadiq
5y ago
Worth pointing out you don't just need to stop at seeing it, you can get started playing around with it today: https://github.com/ocaml-multicore/multicore-opam#install-mu...
70.
▲
by
sadiq
5y ago
Good questions! 1) As I mentioned in https://news.ycombinator.com/item?id=27142502 there is support for parallelism and concurrency. Giving an example of where these might be useful in a webservice. The addition of shared-m
71.
▲
by
sadiq
5y ago
Yes, arm64 support is non-functional but we're planning to get it back in to a working state very soon.
72.
▲
by
sadiq
5y ago
Not dumb questions at all. Multicore adds parallelism via Domains (which are essentially heavyweight threads) and concurrency via Effects and fibers. There's a multicore GC that supports both of those. We plan to upstream things in two
73.
▲
by
sadiq
5y ago
As the sibling comment mentions, the hard part is actually retrofitting multicore whilst maintaining compatibility _and_ performance. Our paper last year covers most of why this is tricky: https://arxiv.org/abs/2004.116
74.
▲
by
sadiq
5y ago
Happy to answer any questions.
75.
▲
Multicore OCaml: April 2021
(discuss.ocaml.org)
145 points
by
sadiq
5y ago
|
89 comments
76.
▲
Multicore OCaml: March 2021 update
(discuss.ocaml.org)
6 points
by
sadiq
5y ago
|
0 comments
77.
▲
WeWork to merge with Spac in $9bn deal
(ft.com)
2 points
by
sadiq
6y ago
|
0 comments
78.
▲
by
sadiq
6y ago
Check out the sequential 128k read at queue depth 16: https://images.anandtech.com/doci/16505/sr-s-sn850-1000.png That's >2x higher throughput than an Optane at equivalent queue depth and (as far as I can
79.
▲
The Western Digital WD Black SN850 Review: A Fast PCIe 4.0 SSD
(anandtech.com)
149 points
by
sadiq
6y ago
|
148 comments
80.
▲
by
sadiq
6y ago
Multicore is almost entirely backwards compatible with stock OCaml. One issue is C libraries that use so-called naked pointers but these are discouraged anyway and 4.12 ships a detector to find these: https://discuss.ocaml.org&#x
81.
▲
by
sadiq
6y ago
Was this the paper? https://www.repository.cam.ac.uk/bitstream/handle/1810/28323... Effects that 'interrupt' a fiber are asynchronous effects. They can be used to implement schedulers and the like.
82.
▲
by
sadiq
6y ago
I'm not aware of large standalone projects that depend solely on it. Multicore is backwards compatible with stock OCaml though and 4.12 ships with some stub Atomics ( https://github.com/ocaml/ocaml/blob/4.
83.
▲
by
sadiq
6y ago
It's pretty close. There have been PRs landing to close the gap with Multicore for a couple of releases now. You should see an OCaml 5.0 branch (which brings parallelism via Domains) in the next couple of months. The time between that
84.
▲
by
sadiq
6y ago
As usual, happy to answer any questions.
85.
▲
Multicore OCaml: Feb 2021 with new preprint on Effect Handlers
(discuss.ocaml.org)
119 points
by
sadiq
6y ago
|
29 comments
86.
▲
Multicore OCaml: Dec 2020 / Jan 2021
(discuss.ocaml.org)
3 points
by
sadiq
6y ago
|
0 comments
87.
▲
Profiling can be about time.. but which time?
(opsian.com)
3 points
by
sadiq
6y ago
|
0 comments
88.
▲
What is profiling and how does it work?
(opsian.com)
2 points
by
sadiq
6y ago
|
0 comments
89.
▲
Multicore OCaml: November 2020 update
(discuss.ocaml.org)
4 points
by
sadiq
6y ago
|
0 comments
90.
▲
by
sadiq
6y ago
Unfortunately some of this information is out of date and refers to Multicore with the concurrent minor collector - a collector we don't plan to upstream. We plan to upstream the parallel minor collector, which has a shared minor heap
More ›