pdv

parse don't validate (by hmusgrave)

Pdv Alternatives

Similar projects and alternatives to pdv

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pdv alternative or higher similarity.

pdv reviews and mentions

Posts with mentions or reviews of pdv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-02.
  • Invariants: A Better Debugger?
    3 projects | news.ycombinator.com | 2 Sep 2023
    I could see C++ or Rust maybe adding that eventually, but it seems unlikely for Zig unless they relax some of their core design goals. The problem with invariant assertions is figuring out when exactly they should run, and that idea that something might run _every_ time any public method is called or whatever definitely conflicts with the design they're going for.

    That said, Zig does make it pretty easy to handle a lot of the features you might want. As a library, you can offer the ability for a person to rewrite a type (maybe only in non-optimized modes if you want) and check the invariants before/after every public function call. You can always add explicit pre/post-condition checks to any function you'd like. Invariants in your inputs/outputs can be hoisted to the type checker (I wrote a toy project doing this [0]). Like...at some point you have to describe what you want to check and when you want it to run for the invariant checking to be useful, and Zig allows you to write the checks and use comptime magic to place them where you want them to run, all in the userspace of the language. Which language features would you like to make the process smoother (automatic subtype resolution on a lattice of constraints, a bit of syntax, ...)?

    [0] https://github.com/hmusgrave/pdv

  • Parse, Don't Validate (2019)
    4 projects | news.ycombinator.com | 7 Mar 2023

Stats

Basic pdv repo stats
2
9
4.8
8 months ago

hmusgrave/pdv is an open source project licensed under GNU Affero General Public License v3.0 which is an OSI approved license.

The primary programming language of pdv is Zig.

Popular Comparisons


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