I haven't thought too much about CTFE for malicious code, but it could happen. I suppose if you're the code owner folks wouldn't think about it too much otherwise. I think CTFE is not able to do file operations and IO however (You can do a mixin to import some code, but no reading of outside data).
By the way, is there a way to write language extensions for gcc or llvm externally? Let's say I want to add my own special array syntax into a language like Pascal or Ada. Could I write external code like a plugin which the compiler executes when it sees my special array syntax?
@@MikeShah don't know any forums. just tired to hack around on it to see if it was something i wanted to get into since there is talk of getting an allocator agnostic version of phobos in the future, if i understood that correctly.
That's one episode of "first impression" I've been looking for, because of how often you mention D in your other videos =)
Happy to hear that! The Dlang tour on the website gives a really clean overview of the language
Looking forward to your presentation @ Dlang Conf Online; very interesting topics 👍
Thank you! :)
The compile time execution is a cool and scary at the same time. It may be possible to construct and execute malicious code.
I haven't thought too much about CTFE for malicious code, but it could happen. I suppose if you're the code owner folks wouldn't think about it too much otherwise. I think CTFE is not able to do file operations and IO however (You can do a mixin to import some code, but no reading of outside data).
I will say off the bat that it's superior to C++'s abuse of templates for meta programming.
By the way, is there a way to write language extensions for gcc or llvm externally? Let's say I want to add my own special array syntax into a language like Pascal or Ada. Could I write external code like a plugin which the compiler executes when it sees my special array syntax?
The metaprogramming in D makes you want to use it -- it's very well done, and still the best of languages I have used to date.@@bobweiram6321
Four Uncommon Programming Languages for Malware Development Are:
· #1. DLANG
· #2. NIM
· #3. RUST
· #4. Go
Oh, I love DLang.
Likewise!
Here here! 🍻
I like D (I love saying that since it can be taken out of context.)
D rocks!
Where can I find the code used in this presentation? Which HTTP library were you using to fetch GitHub repo info?
This is from std.curl within dlang
@@MikeShah oh my, I never came across that. Still have more to catch up
Is the audio "open source" as well? It's rough.
Unfortunately I think that is a result of the lapel mic.
Great presentation at Fosdem 2024
Cheers! It was a great conference!
dub debug build is causing windows defender to get trogan alert, and removing the executable
Interesting, might be worth reporting on the forum.
@@MikeShah don't know any forums. just tired to hack around on it to see if it was something i wanted to get into since there is talk of getting an allocator agnostic version of phobos in the future, if i understood that correctly.
@@androth1502 dlang main site > Community > Forums
@@androth1502I believe some updates on allocators are coming
Sadly, D community split and now there is two languages. D & OpenD.
I suspect some of the things OpenD does will land in D. I'm happy to see how much D has stabilized however!
Why did they split?