dpp

Directly include C headers in D source code (by atilaneves)

Dpp Alternatives

Similar projects and alternatives to dpp

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

dpp reviews and mentions

Posts with mentions or reviews of dpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-24.
  • Just a reminder that D is awesome.
    1 project | /r/d_language | 10 Jan 2023
    do you know dpp ? https://github.com/atilaneves/dpp
  • Fourth failure of trying to use D
    1 project | /r/d_language | 16 Oct 2022
    give https://github.com/atilaneves/dpp a try ... I made it work and I'm not very literate in C
  • D 2.096.0 Released and Other News
    2 projects | news.ycombinator.com | 24 Mar 2021
    Which is capable of directly linking + invoking most C++ things (except constructors/destructors, it can't handle those, you need a function which calls the constructor from within C++) just given a type definition.

    Then you have "d++", which lets you "#include" C/C++ headers. Under the hood tries to run an automatic syntax conversion. It can't handle but for simple code it works and can spit out the equivalent D.

    https://github.com/atilaneves/dpp

    Also you've got "dstep", which is "A tool for converting C and Objective-C headers to D modules"

    https://github.com/jacob-carlborg/dstep

    And finally you have the somewhat abandoned (but as far as I know mostly functional) Calypso, which is a fork of the LLVM-based D compiler that supports direct interop with C++. It's a pain to build though, haven't gotten around to trying to build it, but it does look wicked cool:

    https://github.com/Syniurge/Calypso

        pragma (cppmap, "cppheader.h");  // tells Clang to parse cppheader.h but do not import anything
  • Dpp: Include C headers directly into D programs
    1 project | news.ycombinator.com | 23 Feb 2021
  • Why Zig When There Is Already C++ and Rust?
    10 projects | news.ycombinator.com | 15 Jan 2021
    dpp* can't do function definitions yet but for declarations it's as easy as #including a C header file natively.

    * https://github.com/atilaneves/dpp

  • A note from our sponsor - WorkOS
    workos.com | 25 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic dpp repo stats
5
227
7.0
6 months ago

atilaneves/dpp is an open source project licensed under Boost Software License 1.0 which is an OSI approved license.

The primary programming language of dpp is D.


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