On Friday, 26 January 2024 at 13:40:12 UTC, Matheus Catarino
wrote:
On Friday, 26 January 2024 at 09:06:16 UTC, Emmanuel Danso
Nyarko wrote:
On Thursday, 25 January 2024 at 21:41:36 UTC, Matheus Catarino
wrote:
https://forum.dlang.org/post/kawfhminmtmwbmkzh...@forum.dlang.org
On Monday, 19 Jun
On Thursday, 25 January 2024 at 21:41:36 UTC, Matheus Catarino
wrote:
https://forum.dlang.org/post/kawfhminmtmwbmkzh...@forum.dlang.org
On Monday, 19 June 2023 at 06:11:59 UTC, mw wrote:
LDC - the LLVM D compiler (1.32.2):
```
main.d(32): Error: undefined identifier `vector` in module
`core.st
On Saturday, 4 November 2023 at 14:21:49 UTC, Paul Backus wrote:
On Saturday, 4 November 2023 at 03:00:49 UTC, Dadoum wrote:
[...]
`extern(C++)` functions use C++ name mangling, which includes
the types of the parameters in the mangled name. However, since
C++ does not have a built-in slice
On Saturday, 4 November 2023 at 13:51:20 UTC, Dadoum wrote:
On Saturday, 4 November 2023 at 13:45:56 UTC, Emmanuel Danso
Nyarko wrote:
[...]
There is a syntax disagreement here that's why the D compiler
is instantly stopping you from doing any symbol generated
interaction with string in C++ i
On Saturday, 4 November 2023 at 12:34:28 UTC, Dadoum wrote:
On Saturday, 4 November 2023 at 12:01:11 UTC, Emmanuel Danso
Nyarko wrote:
[...]
So C-strings are just an array of characters that are governed
by simple functions and D strings also defined the same. So
you could see that D strings
On Saturday, 4 November 2023 at 12:21:45 UTC, Johan wrote:
On Saturday, 4 November 2023 at 12:01:11 UTC, Emmanuel Danso
Nyarko wrote:
On Saturday, 4 November 2023 at 11:18:02 UTC, Dadoum wrote:
```d
extern (C) void hello(string arg) {
import std.stdio;
writeln(arg);
}
```
Compiles fin
On Saturday, 4 November 2023 at 11:18:02 UTC, Dadoum wrote:
On Saturday, 4 November 2023 at 10:08:20 UTC, Imperatorn wrote:
On Saturday, 4 November 2023 at 03:00:49 UTC, Dadoum wrote:
I was wondering why C++ linkage forbids strings as arguments
while we can with the C one.
With C linkage, it'