dark VS rr

Compare dark vs rr and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
dark rr
43 102
1,599 8,621
3.0% 1.1%
9.9 9.6
8 days ago 7 days ago
F# C++
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dark

Posts with mentions or reviews of dark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-24.
  • Darklang
    1 project | news.ycombinator.com | 14 Dec 2023
  • WASM_of_OCaml
    2 projects | news.ycombinator.com | 24 Jul 2023
    Yes. Darklang was originally in OCaml using js_of_ocaml, and we ported it to F# using Blazor (https://github.com/darklang/dark/tree/main/backend/src/Wasm). It works.

    We found that in dotnet 6, the code was much slower, with long startup times and a much bigger download, than in js_of_ocaml. It also had a lot of issues in running in a Webworker, which wasn't the case for js_of_ocaml.

    In dotnet 7, the webworker issues are better and AOT is easier, so startup is faster. Download sizes are still bad, and it's still slower than js_of_ocaml.

    However, dotnet allows almost any code to run in WASM, which js_of_ocaml had large limitations. This meant a decent chunk of functionality had to be worked around to make separate js vs native targets, which also was a massive pain and took a long time. Dune's virtual targets wasn't ready at the time - I think we were one of the test cases for it.

  • It's so unfortunate they decided to go with the Clojure/Haskell type syntax, as opposed to something friendlier like Elixir. A lot of people will not even try this language as a result. [Unison]
    1 project | /r/programmingcirclejerk | 17 Jun 2023
    Why should I use this instead of https://darklang.com/
  • Cloud, Why So Difficult?
    6 projects | /r/programming | 29 May 2023
    First it was probably Dark. They made a lot of noise some years ago, but then I never heard of them again (looking at their current website, looks like they moved on to AI now, obviously).
  • New open-source programming language for DevOps engineers by the creator of the CDK
    11 projects | /r/devops | 15 Apr 2023
    Reminds me of Darklang. Personally, I don't think vendoring cloud services into a language is going to be beneficial. I'm curious how the language deals with vendor updates. Do I have to upgrade the language then? If so, I see a lot conflicts coming from this. Then it comes down to Javascript or HCL, the HCL bit makes me think that the below statement is not as truthy as it is on the surface:
  • Darklang Release 9
    1 project | news.ycombinator.com | 27 Jan 2023
    We still don't have all that many users (~100 active), so I'm not sure you'll find an answer here. But we collect that sort of feedback publicly, which might answer your question: https://github.com/darklang/dark/discussions/categories/feed...
  • Making Something Waspy: A Review Of Wasp
    6 projects | dev.to | 10 Jan 2023
    I wish I could remember what took me to YCombinator's website on the 10th of October, 2022. That was when I first heard about Wasp and another language called DarkLang. After I learned about Wasp, I was intrigued and curious to know how it works, which led me to join the discord server the next day.
  • Using Rust at a Startup: A Cautionary Tale
    8 projects | news.ycombinator.com | 22 Nov 2022
    Some languages that try to integrate an HTTP server and a database:

    Ur/Web: http://impredicative.com/ur/

    Dark (Darklang): https://darklang.com/

  • The Current State of Infrastructure From Code
    6 projects | dev.to | 16 Nov 2022
    There are others in this space I did not assess like Encore, Shuttle, Modal, and Dark. These were not assessed for the sake of time. If you're interested in IfC, I encourage you to take a look at these others.
  • Finally, we have support for negative numbers!
    2 projects | /r/programmingcirclejerk | 4 Nov 2022
    Oh, finally! I was waiting to build my serverless CRUD webapp in Dark (OCaml + JavaScript and Fsharp?) until they had support for returning negative numbers on a GET request!

rr

Posts with mentions or reviews of rr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-18.
  • rr: Lightweight Recording and Deterministic Debugging
    1 project | news.ycombinator.com | 21 Apr 2024
  • Hermit is a hermetic and reproducible sandbox for running programs
    3 projects | news.ycombinator.com | 18 Apr 2024
    I think this tool must share a lot techniques and use cases with rr. I wonder how it compares in various aspects.

    https://rr-project.org/

    rr "sells" as a "reversible debugger", but it obviously needs the determinism for its record and replay to work, and AFAIK it employs similar techniques regarding system call interception and serializing on a single CPU. The reversible debugger aspect is built on periodic snapshotting on top of it and replaying from those snapshots, AFAIK. They package it in a gdb compatible interface.

    Hermit also lists record/replay as a motivation, although it doesn't list reversible debugging in general.

  • Rr: Lightweight Recording and Deterministic Debugging
    1 project | news.ycombinator.com | 10 Apr 2024
  • Deep Bug
    1 project | news.ycombinator.com | 10 Apr 2024
    Interesting. Perhaps you can inspect the disassembly of the function in question when using Graal and HotSpot. It is likely related to that.

    Another debugging technique we use for heisenbugs is to see if `rr` [1] can reproduce it. If it can then that's great as it allows you to go back in time to debug what may have caused the bug. But `rr` is often not great for concurrency bugs since it emulates a single-core machine. Though debugging a VM is generally a nightmare. What we desperately need is a debugger that can debug both the VM and the language running on top of it. Usually it's one or the other.

    > In general I’d argue you haven’t fixed a bug unless you understand why it happened and why your fix worked, which makes this frustrating, since every indication is that the bug exists within proprietary code that is out of my reach.

    Were you using Oracle GraalVM? GraalVM community edition is open source, so maybe it's worth checking if it is reproducible in that.

    [1]: https://github.com/rr-debugger/rr

  • So you think you want to write a deterministic hypervisor?
    2 projects | news.ycombinator.com | 20 Mar 2024
    https://rr-project.org/ had the same problem. They use the retired conditional branch counter instead of instruction counter, and then instruction steeping until at the correct address.
  • Is Something Bugging You?
    10 projects | news.ycombinator.com | 13 Feb 2024
    That'll work great for your Distributed QSort Incorporated startup, where the only product is a sorting algorithm.

    Formal software verification is very useful. But what can be usefully formalized is rather limited, and what can be formalized correctly in practice is even more limited. That means you need to restrict your scope to something sane and useful. As a result, in the real world running thousands of tests is practically useful. (Well, it depends on what those tests are; it's easy to write 1000s of tests that either test the same thing, or only test the things that will pass and not the things that would fail.) They are especially useful if running in a mode where the unexpected happens often, as it sounds like this system can do. (It's reminiscent of rr's chaos mode -- https://rr-project.org/ linking to https://robert.ocallahan.org/2016/02/introducing-rr-chaos-mo... )

  • When "letting it crash" is not enough
    4 projects | news.ycombinator.com | 7 Feb 2024
    The approach of check-pointing computation such that it is resumable and restartable sounds similar to a time-traveling debugger, like rr or WinDbg:

    https://rr-project.org/

    https://learn.microsoft.com/windows-hardware/drivers/debugge...

  • When I got started I debugged using printf() today I debug with print()
    3 projects | news.ycombinator.com | 30 Jan 2024
  • Rr: Record and Replay Debugger – Reverse Debugger
    1 project | news.ycombinator.com | 9 Jan 2024
  • OpenBSD KDE Plasma Desktop
    2 projects | news.ycombinator.com | 8 Jan 2024
    https://github.com/rr-debugger/rr?tab=readme-ov-file#system-...

What are some alternatives?

When comparing dark and rr you can also consider the following projects:

nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead

CodeLLDB - A native debugger extension for VSCode based on LLDB

Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode

rrweb - record and replay the web

unison - A friendly programming language from the future

gef - GEF (GDB Enhanced Features) - a modern experience for GDB with advanced debugging capabilities for exploit devs & reverse engineers on Linux

nanos - A kernel designed to run one and only one application in a virtualized environment

Module Linker - browse modules by clicking directly on "import" statements on GitHub

liquibase - Main Liquibase Source

nbdev - Create delightful software with Jupyter Notebooks

terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform

clog-cli - Generate beautiful changelogs from your Git commit history