Hacker GitHub

← All repos

jacob-carlborg/dstep

View on GitHub ↗ ★ 218 C

A tool for converting C and Objective-C headers to D modules

11 mentions on Hacker News by 9 people: 1 story, 10 comments · first 2013-08-22 · latest 2024-07-30

Mentions per year 11 mentions · busiest year 2021 (4)
20082026
  1. …C libraries (header files) can be compiled to D and then used as D modules as well, see https://github.com/jacob-carlborg/dstep Is that as good as Rust?
    comment by brabel · 2024-07-30 · in C Macro Reflection in Zig
  2. …- C, Extensive C++ = https://github.com/Superbelko/ohmygentool - C, Objective-C = https://github.com/jacob-carlborg/dstep > its test blocks make unit testing trivial to integrate. Again, D also has this: - https://tour.dlang.org/tour/en/gem
    comment by gavinray · 2021-09-08 · in Maintain It with Zig
  3. …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…
    comment by gavinray · 2021-03-24 · in D 2.096 and other news
  4. It's a C lib, generating bindings is super easy https://github.com/jacob-carlborg/dstep There is no need to maintain bindings that can be automatically generated, wich can easily get outdated if the C project is actively developped…
  5. …for you), as well as e.g., smartly convert #define macros to inlineable templates functions :) https://github.com/jacob-carlborg/dstep
  6. You can write interfaces and for many projects that works fine. There are tools like https://github.com/jacob-carlborg/dstep to convert headers and tools like https://github.com/atilaneves/dpp to "preprocess" the D source to include and…
    comment by nicwilson · 2019-07-03 · in D as a C Replacement
  7. …There are several tools to translate headers though dstep[1] and dpp[2] come to mind [1]: https://github.com/jacob-carlborg/dstep [2]: https://github.com/atilaneves/dpp
    comment by nicwilson · 2019-07-03 · in D as a C Replacement
  8. ▲ 2
    DStep: Tool for converting C and Objective-C headers to D modules
    story by ingve · 2019-04-12 · 0 comments
  9. …C is even more easier. There is no FFI, etc. Just use Dstep[1] and get going. Or use dpp[2]. [1] https://github.com/jacob-carlborg/dstep [2] https://github.com/atilaneves/dpp
  10. …We're using this at work. For C, it's relatively easy and mechanical to translate by hand but https://github.com/jacob-carlborg/dstep makes starting trivial. For C++, I had two cases- one was easy as that vendor provided a C handle and…
  11. This is the approach also taken by DStep for D. https://github.com/jacob-carlborg/dstep
    comment by pjmlp · 2013-08-22 · in A Week with Mozilla's Rust