ldc
dpp
ldc | dpp | |
---|---|---|
10 | 5 | |
1,158 | 227 | |
0.3% | - | |
9.9 | 7.0 | |
2 days ago | 6 months ago | |
D | D | |
GNU General Public License v3.0 or later | Boost Software License 1.0 |
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.
ldc
-
Ask HN: Who is using the D language and likes/doesn't like it? Why?
D has 3 main compiler implementations. One, LDC, is based on LLVM: https://github.com/ldc-developers/ldc
GDC is based on GCC: https://github.com/D-Programming-GDC/gdc
DMD is stand-alone: https://github.com/dlang/dmd
- LDC 1.32.0 released
-
Next C compiler is a D compiler: Introducing DMD's ImportC
What I don't like about LDC, is you have to install the entire Visual Studio if you want a static build [1]. Contrast this with Go, Nim, Rust, Zig and others, that don't put this burden developers. Is DMD any different in this regard?
1. https://github.com/ldc-developers/ldc/issues/4047
-
RISC-V based Single Board Computers are getting there
Glad to hear that you'd like to try! You can report issues at https://github.com/felixonmars/archriscv-packages
ldc refers to the LLVM-based D Compiler: https://github.com/ldc-developers/ldc
-
I've had .net explained to me several times over the years. I still don't fully understand what it is.
Here is link number 1 - Previous text "ldc"
-
Interfacing D with C: Strings Part One
This benchmark puts it at the top near Racket and C++ using the ldc2 LLVM backend. C++ is still 50% faster though in this single case.
- Why do D builds are so heavy?
-
Has anyone successfully built LDC2 or other D compiler for iOS?
Apparently https://github.com/ldc-developers/ldc/releases
dpp
-
Just a reminder that D is awesome.
do you know dpp ? https://github.com/atilaneves/dpp
-
Fourth failure of trying to use D
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
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
-
Why Zig When There Is Already C++ and Rust?
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
What are some alternatives?
dmd - dmd D Programming Language compiler
automem - C++-style automatic memory management smart pointers for D
dextool - Suite of C/C++ tooling built on LLVM/Clang
wg-allocators - Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
vox - Vox language compiler. AOT / JIT / Linker. Zero dependencies
JITWatch - Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
spasm - Write single page applications in D that compile to webassembly
LWDR - LightWeight D Runtime targeting ARM Cortex CPUs
druntime - Low level runtime library for the D programming language
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
reggae - Build system in D, Python, Ruby, Javascript or Lua