On Wednesday, 11 September 2024 at 12:17:02 UTC, Fox wrote:
I don't care about whether it's a bug or not, I just want to
learn What illegal instructions did this "assert(false);" code
create?
Fortunately Godbolt supports D, so it's easy to see that it
generates `ud2` on x86(_64): https://god
On Monday, 13 March 2023 at 10:52:11 UTC, Joe wrote:
months. Am I missing something on how to deal with
multi-executable projects in dub (and I can think of many such
projects)?
Dub isn't very good at doing more than relatively basic things
natively (which covers enough D projects for it to
On Friday, 20 December 2024 at 16:10:05 UTC, Duke wrote:
Need to work through an online tutorial for the language.
Recommendations please. TIA ..
I have some old blog posts that are focused around
metaprogramming, questionable quality but still may be of use:
* Compile-time text templater:
Also there's this list of assorted features & idioms of D:
https://p0nce.github.io/d-idioms/
On Friday, 6 December 2024 at 21:51:28 UTC, Mike Shah wrote:
...
It's half baked from a UX perspective, but I have a WIP tool for
this since I got annoyed at having to have a fully compiling
setup just to get docs as well: https://github.com/Juptune/marmos
There's a demo repo here with a sc
On Friday, 6 December 2024 at 23:57:01 UTC, Mike Shah wrote:
Near, thanks for sharing this! I see you're using DMD as a
library for this!
Yeah it was definitely a little obtuse trying to figure out how
to get everything working, but it works kinda well in the end!
Tons of work left before I'
On Sunday, 26 January 2025 at 15:42:44 UTC, DLearner wrote:
But how to get that value into Count?
It's hard to say what would exactly fit your use case since this
is just a minimal example, so it's hard to gauge what other
restrictions and inputs exists, but if your logic is a bit more
compl
On Thursday, 20 February 2025 at 21:10:29 UTC, Ian wrote:
...
Another cool aspect of ImportC is that you can use the D
compiler's header generator to generate .di files from C sources
- i.e. semi-automatic, native binding generation!
I say semi-automatic since it misses out things like macr