ppx_deriving VS interactive

Compare ppx_deriving vs interactive and see what are their differences.

ppx_deriving

Type-driven code generation for OCaml (by ocaml-ppx)

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)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ppx_deriving interactive
7 48
441 2,746
0.5% 1.1%
7.0 9.6
12 days ago 5 days ago
OCaml C#
MIT License MIT License
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.

ppx_deriving

Posts with mentions or reviews of ppx_deriving. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.
  • My Thoughts on OCaml
    11 projects | news.ycombinator.com | 25 Apr 2023
    > You gave a beautiful answer about programming language

    You do the same thing as in Rust, Scala or Haskell and derive the printer [1]. Then at the callsite, if you know the type then you do `T.show` to print it or `T.eq`. If you don't know the type, then you pass it in at the top level as a module and then do `T.show` or `T.eq`.

    > Or to convert one type into another type?

    If you want to convert a type, then you have a type that you want to convert from such as foo and bar, then you do `Foo.to_bar value`.

    We can keep going, but you can get the point.

    You _can't_ judge a language by doing what you want to do with one language in another. If I judge Rust by writing recursive data structures and complaining about performance and verbosity that's not particularly fair correct? I can't say that Dart is terrible for desktop because I can't use chrome developer tools on its canvas output and ignore it's hot-reloading server. I can't say Common Lisp code is unreadable because I don't have type annotations and ignore the REPL for introspection.

    [1] https://github.com/ocaml-ppx/ppx_deriving

  • Is rust serde unique?
    6 projects | /r/rust | 19 Apr 2023
    Ocaml has the amazing ppx_deriving which can be used for serialization / deserialization in various formats.
  • Question on type declaration syntax
    2 projects | /r/ocaml | 17 Apr 2023
    I wrote a CLI tool and I'd like to produce statically linked binaries of my tool. However, I cannot do this because I'm using the ppx_deriving deriving preprocessor, and I cannot produce a statically linked executable while using this package.
  • OCaml at First Glance
    5 projects | news.ycombinator.com | 29 Aug 2022
    Not great, not terrible; the language supports annotations which mean nothing to the compiler but which pre-processors can take advantage of, and there is a framework called ppx which you can use to write your own preprocessor. There exist many pre-processors to do things like add inline tests, generate getter/setter/pretty-printing functions, and so on. Here is an example:

    https://github.com/ocaml-ppx/ppx_deriving

  • Bad documentation of Jane Street libraries
    3 projects | /r/ocaml | 23 Mar 2022
    is from https://github.com/ocaml-ppx/ppx_deriving
  • Recommended method for pretty-printing collections in Core?
    2 projects | /r/ocaml | 9 Oct 2021
    Have you tried to derive a print function using https://github.com/ocaml-ppx/ppx_deriving
  • How do I define ordering for my sum types?
    1 project | /r/ocaml | 27 Apr 2021
    However, there is a ppx (a pre-processor) which can do the job : ppx_deriving. You just have to anotate your type in oder to get the compare function automatically generated :

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

What are some alternatives?

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

deriving-show-simple

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

ppx_jane - Standard Jane Street ppx rewriters

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

ppx_sexp_conv - Generation of S-expression conversion functions from type definitions

obsidian-jupyter

json-serde - Example of usage antlr4 and shapeless

SharpLab - .NET language playground

generic-data - Generic data types in Haskell, utilities for GHC.Generics

jupyter - An interface to communicate with Jupyter kernels.

goderive - Derives and generates mundane golang functions that you do not want to maintain yourself

livebook - Automate code & data workflows with interactive Elixir notebooks