3 ms·
D has fairly extensive windows API support, and the usual PE gubbins. Worth taking a look at
by mhh__ 6y ago
D has fairly extensive windows API support, and the usual PE gubbins. Worth taking a look at
- MaxBarraclough 6y agoLink: https://wiki.dlang.org/D_for_Win32 https://wiki.dlang.org/D_for_Win32 Ada has something similar: https://github.com/AdaCore/win32ada https://github.com/AdaCore/win32ada
- gabereiser 6y agoYes but the topic of discussion is rust here. D is awesome, but we are talking about the windows bindings for rust being “just good enough”.
- vlang1dot0 6y agoRust has had that for a long time as well. This is first-party support from Microsoft for Rust in contrast to community supported options like in D.
- bluejekyll 6y agoAre these D bindings relevant to Rust developers? Or asked another way, is there some reason that the D bindings would be better to use than these native ones in Rust?
- mhh__ 6y agoWhen I am writing or choosing (or bindings to) an API I always go and look at other languages (especially what the functional people do) to avoid repeating non-obvious mistakes and seeing where the impedance mismatches are. Most recently, I've been playing with eBPF on Linux: The system call API is terse and pretty impenetrable, whereas the high-level APIs either mean writing gadgets in C with a nearly-blind debugging experience or relying on a library to retain the power of the featureset the kernel exposes.
- komuher 6y agoThis is the same stuff like julia community is doing. Spam language in every Python/R related topic (D guys target Nim/Rust)
- mmastrac 6y agoSorry, I had to look up "gubbins": British : fish parings or refuse broadly : any bits and pieces; gadgets, gadgetry the gubbins for changing a tire all the navigational gubbins
- GordonS 6y agoI wasn't aware of the dictionary definition :) As the GP used it, it means "and what not", "and such like" etc.