https://github.com/dlang/dmd/blob/dbba866c71db5e1222a1b631b3e910f1a0811732/compiler/src/dmd/link.d#L1332
cl.exe comes from Visual Studio (MSVC).
If you haven't got it installed, that'll be why.
Otherwise its related to dmd not being able to find it.
On Monday, 28 October 2024 at 20:53:32 UTC, Salih Dincer wrote:
Semaphore?
Please see: https://dlang.org/phobos/core_sync_semaphore.html
SDB@79
Just trying ImportC under Windows 10:
```
#include
int main()
{
printf("Hello world.\n");
return 0;
}
```
Produces
```
dmd hello.c
failed launching cl.exe /P /Zc:preprocessor /PD /nologo hello.c
/FIC:\D\dmd2\windows\bin64\..\..\src\druntime\import\importc.h
/Fihello.i
Error: C preproces
On Monday, 28 October 2024 at 19:57:41 UTC, Kyle Ingraham wrote:
- Polling too little killed performance and too often wrecked
CPU usage.
- Using message passing reduced performance quite a bit.
- Batching reads was hard because it was tricky balancing
performance for single requests with per
On Monday, 28 October 2024 at 18:37:18 UTC, Salih Dincer wrote:
Apparently, vibe.d's event loop is not fully compatible with
NGINX Unit's loop, causing performance loss. I wonder if it
would be wise to use something like an IntrusiveQueue or task
pool to make it compatible? For example, somethi
On Monday, 28 October 2024 at 01:06:58 UTC, Kyle Ingraham wrote:
...
The second though only achieves ~20k requests per second. In
that demo I try to make vibe.d's concurrency system available
during request handling. NGINX Unit's event loop is run in its
own thread. When requests arrive, Uni
On Monday, 28 October 2024 at 05:56:32 UTC, ryuukk_ wrote:
ImportC is great
It really is. Most of my time setting it up was on getting
include and linking flags working. Which is exactly what you’d
run into using C from C.