interactive VS dafny

Compare interactive vs dafny and see what are their differences.

interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before. (by dotnet)

dafny

Dafny is a verification-aware programming language (by dafny-lang)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
interactive dafny
48 31
2,743 2,665
2.3% 1.5%
9.6 9.7
7 days ago 1 day ago
C# C#
MIT License 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.

interactive

Posts with mentions or reviews of interactive. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-25.
  • Exploratory Data Analysis with F#, Plotly.NET, and ML.NET DataFrames
    2 projects | dev.to | 25 Dec 2023
    All of this will be accomplished inside of a single Polyglot Notebook. If you're not familiar with Polyglot Notebooks, they're a technology built on top of Jupyter Notebooks that allow you to use additional language kernels, including a F# Kernel. This lets you run interactive data science experiments in a single notebook as shown here in VS Code:
  • .NET 8 Standalone 50% Smaller On Linux
    9 projects | news.ycombinator.com | 11 Nov 2023
    I use .NET on Linux and the experience with Rider has been great. The workflow transfers really well between Mac, Windows, and Linux, and everything works the way you expect. The only problems I run into are that there are still things that are Windows focused. For example MAUI does not run on Linux which is a shame because we could use another cross platform GUI.

    There are still bugs, for example I ran into one with Polyglot Notebooks not working on Manjaro or Pop!_OS https://github.com/dotnet/interactive/issues/3159

  • Importing Code in Polyglot Notebooks
    1 project | dev.to | 16 May 2023
    First of all, if you have a small amount of code that lives in an individual C# file and you wanted to reference it in your notebook, you can do this via the #!import magic command as shown below:
  • How can I authenticate against Azure Artifacts from Jetbrains Rider?
    2 projects | /r/dotnet | 12 May 2023
    My 2 cents: use a Personal Access Token instead of a password, it is much safer (even though not 100% safe). Some references: https://github.com/dotnet/interactive/discussions/1340 https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
  • Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code - .NET Blog
    1 project | /r/programming | 16 Mar 2023
    See also https://github.com/dotnet/interactive
  • Getting work done with PowerShell on Linux
    3 projects | news.ycombinator.com | 23 Feb 2023
    U have Powershell notebooks https://github.com/dotnet/interactive
  • Argue in comments 💅
    2 projects | /r/ProgrammerHumor | 20 Feb 2023
    Or Rider or simply install dotnet by itself (very easy) and code in a notepad or VSCode. .NET interactive is another awesome way to start: https://github.com/dotnet/interactive/blob/main/docs/display-output-csharp.md
  • Jupyterlab Desktop
    9 projects | news.ycombinator.com | 11 Feb 2023
    Hi! My name is Claudia and I am a PM at Microsoft (opinions are my own) working on Polyglot Notebooks in VS Code. Polyglot Notebooks are exactly what you are describing! They are notebooks where you can use multiple languages AND share variables between them to ensure a continuous workflow. Not only that, but each language has language server support. Polyglot Notebooks currently supports C#, F#, PowerShell, JavaScript, HTML, SQL, KQL, and Mermaid.

    We have just added support for Python and R integration and I am actually in search of external testers! If you are willing to sign an NDA to try out our Python and R integration and give us feedback please drop your email in the form below and I will reach out with instructions for you to try it out!

    https://forms.office.com/r/UQchfQSGa5

    If you'd like to start trying it out today you can install the extension from the marketplace here: https://marketplace.visualstudio.com/items?itemName=ms-dotne...

    https://github.com/dotnet/interactive

  • Does anyone have any experience using ML.NET for forecasting?
    3 projects | /r/dotnet | 15 Jan 2023
    I've been excited about a lot of the work being done in .NET Interactive and Polyglot Notebooks, particuarly with ML with F#. I don't know too much about ML, so I thought I'd check out ML.NET.
  • Run C# Straight from Command line! (C# REPL)
    2 projects | /r/dotnet | 2 Jan 2023

dafny

Posts with mentions or reviews of dafny. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • Dafny is a verification-aware programming language
    4 projects | news.ycombinator.com | 23 Apr 2024
  • Candy – a minimalistic functional programming language
    5 projects | news.ycombinator.com | 24 Feb 2024
  • Dafny – a verification-aware programming language
    1 project | news.ycombinator.com | 28 Nov 2023
  • Lean4 helped Terence Tao discover a small bug in his recent paper
    10 projects | news.ycombinator.com | 27 Oct 2023
    Code correctness is a lost art. I requirement to think in abstractions is what scares a lot of devs to avoid it. The higher abstraction language (formal specs) focus on a dedicated language to describe code, whereas lower abstractions (code contracts) basically replace validation logic with a better model.

    C# once had Code Contracts[1]; a simple yet powerful way to make formal specifications. The contracts was checked at compile time using the Z3 SMT solver[2]. It was unfortunately deprecated after a few years[3] and once removed from the .NET Runtime it was declared dead.

    The closest thing C# now have is probably Dafny[4] while the C# dev guys still try to figure out how to implement it directly in the language[5].

    [1] https://www.microsoft.com/en-us/research/project/code-contra...

    [2] https://github.com/Z3Prover/z3

    [3] https://github.com/microsoft/CodeContracts

    [4] https://github.com/dafny-lang/dafny

    [5] https://github.com/dotnet/csharplang/issues/105

  • The Deep Link Equating Math Proofs and Computer Programs
    5 projects | news.ycombinator.com | 11 Oct 2023
    I don't think something that specific exists. There are a very large number of formal methods tools, each with different specialties / domains.

    For verification with proof assistants, [Software Foundations](https://softwarefoundations.cis.upenn.edu/) and [Concrete Semantics](http://concrete-semantics.org/) are both solid.

    For verification via model checking, you can check out [Learn TLA+](https://learntla.com/), and the more theoretical [Specifying Systems](https://lamport.azurewebsites.net/tla/book-02-08-08.pdf).

    For more theory, check out [Formal Reasoning About Programs](http://adam.chlipala.net/frap/).

    And for general projects look at [F*](https://www.fstar-lang.org/) and [Dafny](https://dafny.org/).

  • Dafny
    1 project | news.ycombinator.com | 13 Sep 2023
  • The Dafny Programming and Verification Language
    1 project | news.ycombinator.com | 6 Sep 2023
  • In Which I Claim Rich Hickey Is Wrong
    5 projects | news.ycombinator.com | 24 Jul 2023
    Dafny and Whiley are two examples with explicit verification support. Idris and other dependently typed languages should all be rich enough to express the required predicate but might not necessarily be able to accept a reasonable implementation as proof. Isabelle, Lean, Coq, and other theorem provers definitely can express the capability but aren't going to churn out much in the way of executable programs; they're more useful to guide an implementation in a more practical functional language but then the proof is separated from the implementation, and you could also use tools like TLA+.

    https://dafny.org/

    https://whiley.org/

    https://www.idris-lang.org/

    https://isabelle.in.tum.de/

    https://leanprover.github.io/

    https://coq.inria.fr/

    http://lamport.azurewebsites.net/tla/tla.html

  • Programming Languages Going Above and Beyond
    7 projects | news.ycombinator.com | 29 Jun 2023
    > I think we can assume it won't be as efficient has hand written code

    Actually, surprisingly, not necessarily the case!

    If you'll refer to the discussion in https://github.com/dafny-lang/dafny/issues/601 and in https://github.com/dafny-lang/dafny/issues/547, Dafny can statically prove that certain compiler branches are not possible and will never be taken (such as out-of-bounds on index access, logical assumptions about whether a value is greater than or less than some other value, etc). This lets you code in the assumptions (__assume in C++ or unreachable_unchecked() under rust) that will allow the compiler to optimize the codegen using this information.

  • What are the current hot topics in type theory and static analysis?
    15 projects | /r/ProgrammingLanguages | 8 May 2023
    Most of the proof assistants out there: Lean, Coq, Dafny, Isabelle, F*, Idris 2, and Agda. And the main concepts are dependent types, Homotopy Type Theory AKA HoTT, and Category Theory. Warning: HoTT and Category Theory are really dense, you're going to really need to research them.

What are some alternatives?

When comparing interactive and dafny you can also consider the following projects:

Plotly.NET - interactive graphing library for .NET programming languages :chart_with_upwards_trend:

tlaplus - TLC is a model checker for specifications written in TLA+. The TLA+Toolbox is an IDE for TLA+.

spectre.console - A .NET library that makes it easier to create beautiful console applications.

FStar - A Proof-oriented Programming Language

obsidian-jupyter

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

SharpLab - .NET language playground

koka - Koka language compiler and interpreter

jupyter - An interface to communicate with Jupyter kernels.

Rust-for-Linux - Adding support for the Rust language to the Linux kernel.

livebook - Automate code & data workflows with interactive Elixir notebooks

rust - Empowering everyone to build reliable and efficient software.