dpp
www.ziglang.org | dpp | |
---|---|---|
4 | 5 | |
236 | 227 | |
6.4% | - | |
9.8 | 7.0 | |
7 days ago | 6 months ago | |
HTML | D | |
MIT License | 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.
www.ziglang.org
- sample code failing
-
Long story short: I wrote a Ruby extension in Zig
FWIW regarding the package manager, based on the rest of the text my guess is that whoever wrote this intended to say that "Zig will ship with a package manager".
I created https://github.com/ziglang/www.ziglang.org/pull/228 let's see if it gets accepted :)
-
Where are the source codes to make the Zig document?
It looks like the HTML for the website is here, which gets built from the source documentation here.
-
Why Zig When There Is Already C++ and Rust?
Sorry to pull the rug out from under ya'll like this but that article was a couple years old, so I gave it a once-over pass to update it. Mainly the "No hidden allocations" section is rewritten. You can see the full commit diff here: https://github.com/ziglang/www.ziglang.org/commit/bede1e57b6...
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?
wg-allocators - Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
ldc - The LLVM-based D Compiler.
JITWatch - Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
automem - C++-style automatic memory management smart pointers for D
rules_rust - Rust rules for Bazel
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
DPP - C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
LWDR - LightWeight D Runtime targeting ARM Cortex CPUs
awesome-zig - A list of awesome projects related to Zig