Live data from Hacker News

Viewing profile — kcsrk

kcsrk

HN member
Joined
Tue, Feb 10, 2015, 3:57 PM UTC
HN karma
214
Public activity
51 items

About kcsrk

https://kcsrk.info

Recent public activity

  1. comment
    Comment #48550953

    We don't even have the capability to build a _32-bit_ Unikernel now! That said, we _can_ boot 64-bit MirageOS unikernels on baremetal platforms. We use this capability in FIDES, wh…

  2. comment
    Comment #48550044

    Super interesting. Thanks for sharing. I have used Jupyter notebooks with a Docker deployment in my prior courses for OCaml and Prolog, with support for auto grading (using nbgrade…

  3. comment
    Comment #48550000

    Author of the post here. I need a Linux VM to illustrate a couple of things in the last few lectures. Showing C undefined behaviour, memory safety issues and how that becomes secur…

  4. comment
    Comment #48148367

    What’s surprised me in the last few months is that agents are great at producing OCaml 5+ and OxCaml code, not much of which is out there in the training data. OxCaml’s strong type…

  5. comment
    Comment #45863265

    Not necessarily. You can implement them using a monad. See https://dl.acm.org/doi/10.1145/2804302.2804319 . That said, in GHC Haskell the implementation on top of stack switching s…

  6. comment
    Comment #45137532

    It was overlooked because I didn't know! Great to hear about virt-v2v. I will reach out to you by email.

  7. comment
    Comment #45135247

    It is often hard to see the shape of these things before a serious PR attempt is made. Each of the PRs reveals more of the shape of the problem being solved. Hard to skip them in p…

  8. comment
    Comment #45135152

    You are right that the dynamic arrays story does not read like a straightforward “how to inspire contributions.” But part of what I wanted to do in the talk was to show things as t…

  9. comment
    Comment #45134878

    I am the author of the talk here o/. This talk is a _subjective_ take on how the OCaml programming language evolves, based on my observations over the last 10 years I've been invol…

  10. comment
    Comment #44698229

    Kcas is the Haskell STM analogue in OCaml https://github.com/ocaml-multicore/kcas/

  11. story
  12. comment
    Comment #34037655

    Right. It is hard in general to compare performance or generated code across languages as they make different trade offs. Table 3 and 5 show compilation of our memory model to X86 …

  13. comment
    Comment #34028389

    See examples in the second section and the results in the paper: https://kcsrk.info/papers/pldi18-memory.pdf

  14. comment
    Comment #34024578

    Still early days, but I had done some exploratory work in the past on Reagents, a composable lock-free library [1]. Now that OCaml 5 is released, we're reviving this work. It's sem…

  15. comment
    Comment #34014410

    The local types are less invasive than the full support for typed effects. In particular, they are opt-in and associated complexity is pay-as-you-go. In my initial experiments, the…

  16. comment
    Comment #34014166

    Here are some parallel benchmarks from the Sandmark continuous benchmarking service: https://sandmark.tarides.com/?app=Parallel+Benchmarks&parall...

  17. comment
    Comment #34014113

    Rather than a full effect system, we're very likely to have lexically scoped "checked" effects with the help of modal types. I briefly talked about it at the end of my ICFP keynote…

  18. comment
    Comment #31753877

    For nested parallel computations (think Scientific Programming, where one would use OpenMP, Rust Rayon, etc), we have domainslib [1]. Eio, a direct-style, effect-based IO library i…

  19. comment
    Comment #31753774

    Parallelism [1] and native-support for concurrency through effect handlers [2]. [1] https://kcsrk.info/webman/manual/parallelism.html [2] https://kcsrk.info/webman/manual/effects.h…

  20. comment
    Comment #31753728

    I would also recommend reading the effect handlers tutorial in OCaml 5.0 manual: https://kcsrk.info/webman/manual/effects.html .

  21. comment
    Comment #29878433

    > it seems it provides sequential consistency when using atomics and acquire/release semantics when not. (author of the said paper here) This is wrong. I suggest reading the paper …

  22. comment
    Comment #29645328

    Effect handlers are a foundation of all non-local control flow abstractions. Anything that requires fancy control-flow can be implemented with effect handlers. This includes green …

  23. comment
    Comment #28376258

    We don't compare against Go pervasively. Benchmarking across languages is hard generally, but here is a result on a specific benchmark comparing several versions of OCaml benchmark…

  24. comment
    Comment #27150545

    Yes, exactly. The reason why monadic concurrency libraries such as Lwt and Async is that the OCaml language does not support concurrency natively. If it did, we would have built so…

  25. comment
    Comment #27150507

    Abandoned is perhaps too strong a term :-). Effect handlers in the language are supported by fibers, lightweight stacklets managed by the runtime. The details of the implementation…