wasp VS dhall-lang

Compare wasp vs dhall-lang and see what are their differences.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
wasp dhall-lang
218 119
14,827 4,255
6.5% 0.5%
9.5 5.3
1 day ago 7 days ago
TypeScript Dhall
MIT License BSD 3-clause "New" or "Revised" 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.

wasp

Posts with mentions or reviews of wasp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-02.

dhall-lang

Posts with mentions or reviews of dhall-lang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-08.
  • Some Programming Language Ideas
    12 projects | news.ycombinator.com | 8 Jan 2025
    I think you're asking for Starlark (https://starlark-lang.org), a language that strongly resembles Python but isn't Turing-complete, originally designed at Google for use in their build system. There's also Dhall (https://dhall-lang.org), which targets configuration use cases; I'm less familiar with it.

    One problem is that, while non-Turing-completeness can be helpful for maintainability, it's not really sufficient for security. Starlark programs can still consume exponential amounts of time and memory, so if you run an adversary's Starlark program without sandboxing it, you're just as vulnerable to denial-of-service attacks as you'd be with a Turing-complete language. The most common solution is sandboxing, wherein you terminate the program if it exceeds time or memory limits; however, once you have that, it's no longer necessary for the language to not be Turing-complete, so you might as well use a popular mainstream language that's easy to sandbox, like JavaScript.

    One other intriguing option in the space is CEL (https://cel.dev), also designed at Google. This targets use cases like policy engines where programs are typically small, but need to be evaluated frequently in contexts where performance matters. CEL goes beyond non-Turing-completeness, and makes it possible to statically verify that a program's time and space complexity are within certain bounds. This, combined with the lack of I/O facilities, makes it safe to run an adversary's CEL program outside a sandbox.

  • 8 months of OCaml after 8 years of Haskell in production
    16 projects | news.ycombinator.com | 2 Dec 2024
    > Lambda calculus is as pure as can be, and also has terms that don't normalize. That is not considered a side effect.

    Many typed lambda calculi do normalise. You can also have a look https://dhall-lang.org/ for some pragmatic that normalises.

    > A better example of impurity in Haskell for pragmatic's sake is the trace function, that can be used to print debugging information from pure functions.

    Well, but that's just unsafePerformIO (or unsafePerformIO-like) stuff under the hood; that was already mentioned.

  • Thoughts on ThoughtWorks Radar 2024
    12 projects | dev.to | 2 Nov 2024
    I was first turned onto Pkl during my Dhall Trough of Disillusionment phase (Dhall is cool, but man is it hard) by James Ward. It looked to be a language that had enough types to compile YAML/JSON configuration files wayyyy more safely. I’ve had enough YAML/JSON misconfigurations break production, that I started looking into ways to compile those problems away, and Dhall helped a lot, but the learning curve and compiler errors are brutal to work through, and I never got excitement amongst peers. Hoping Pkl makes in-roads here.
  • Adding algebraic data types to Nickel
    3 projects | news.ycombinator.com | 7 Sep 2024
    Dhall[1] also usually gets mentioned in the same sentence as CUE.

    As for Nickel, I have mixed feelings about it of the same kind as about ES6 classes and perhaps modules—we’re taking a simple language (an extremely simple one, in the case of Nix) and baking into it some stuff that the original had as a completely satisfactory library, in the name of discoverability resp. uniformity. Seems a bit sad and unnecessary to be honest. (The problem of Nixpkgs and NixOS, IMO, is not Nix the language, which is fine for the most part, but the fact that they’re a single giant monorepo with comparatively very little documentation even for the parts that basically serve as the Nix standard library.) Looks like my design sensibilities just align much better with PhD-student Eelco than with Tweag-engineer Eelco.

    [1] https://dhall-lang.org/

  • The Dhall Configuration Language
    1 project | news.ycombinator.com | 5 Sep 2024
  • Primitive Recursive Functions for a Working Programmer
    3 projects | news.ycombinator.com | 4 Aug 2024
    Anyway, it is not a problem in practice that this kind of pathological function can be expressed, I just put a limit on the number of execution steps (a “gas limit”, or what the author calls “metered execution”). For keeping code simple, I think the fact that the built-in looping constructs are bounded, and recursion is awkward, are a good nudge, but in the end the most valuable tool is code review and applying good judgment.

        [1]: https://dhall-lang.org/
  • Apple releases Pkl – onfiguration as code language
    14 projects | news.ycombinator.com | 3 Feb 2024
    Fail to see how this is any different than Dhall (https://dhall-lang.org/) other than it produces plists too.
  • Pkl, a Programming Language for Configuration
    12 projects | news.ycombinator.com | 2 Feb 2024
    Kubernetes config is a decent example. I had ChatGPT generate a representative silly example -- the content doesn't matter so much as the structure:

    https://gist.github.com/cstrahan/528b00cd5c3a22e3d8f057bb1a7...

    Now consider 100s (if not 1000s) of such files.

    I haven't given Pkl an in depth look yet, but I can say that the Industry Standard™ of "simple YAML" + string substitution (with delicate, error prone indentation -- since YAML is indentation sensitive) is easily beat by any of:

    - https://jsonnet.org/

    - https://nickel-lang.org/

    - https://nixos.org/manual/nix/stable/language/index.html

    - https://dhall-lang.org/

    - (insert many more here, probably including Pkl)

  • Why the fuck are we templating YAML? (2019)
    27 projects | news.ycombinator.com | 23 Jan 2024
  • Is Htmx Just Another JavaScript Framework?
    9 projects | news.ycombinator.com | 11 Jan 2024
    There are underpowered languages / tools, that can only solve a problem for which they are intended poorly. But not all limited tools are like that.

    Say, eBPF is prominently not Turing-complete, which allows to guarantee that a eBPF program terminates, and even how soon. Still eBPF is hugely useful in its area.

    Or, say, regular expressions are limited to regular languages; in particular, they famously [1] cannot process recursive structures, like trees. Still tools like grep / ag / rg are mightily useful.

    Yes, I agree that YAML is underpowered for proper k8s configuration! But it's also too powerful for its own good in other aspects [2]. I wish Google used Dhall [3] or their own purely functional config language (FCL? I already forgot the name) instead of YAML; sadly, they did not.

    [1]: https://stackoverflow.com/a/1732454/223424

    [2]: https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...

    [3]: https://dhall-lang.org/

What are some alternatives?

When comparing wasp and dhall-lang you can also consider the following projects:

redwood - The App Framework for Startups

cue - The home of the CUE language! Validate and define text-based and dynamic configuration

React PWA - An upgradable boilerplate for Progressive web applications (PWA) with server side rendering, build with SEO in mind and achieving max page speed and optimized user experience.

jsonnet - Jsonnet - The data templating language

Cerberus - A few simple, but solid patterns for responsive HTML email templates and newsletters. Even in Outlook and Gmail.

cue - CUE has moved to https://github.com/cue-lang/cue

open-saas - A free, open-source SaaS app starter for React & Node.js with superpowers. Full-featured. Community-driven.

nix-gui - Use NixOS Without Coding

reflex - 🕸️ Web apps in pure Python 🐍

jsonlogic - Go Lang implementation of JsonLogic

Mobile-First-RWD - An example of a mobile-first responsive web design

lua-patterns - Exposing Lua string patterns to Rust

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?