Re: Google Auth API

2024-06-23 Thread aberba via Digitalmars-d-learn
On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote: Hi, Has anyone here had experience implementing the Google Auth Library in DLang? Specifically, I am looking for guidance on handling OAuth 2.0 using JWT. Are there any current libraries available for this purpose? You may reference ht

Re: Google Auth API

2024-06-23 Thread aberba via Digitalmars-d-learn
On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote: Hi, Has anyone here had experience implementing the Google Auth Library in DLang? Specifically, I am looking for guidance on handling OAuth 2.0 using JWT. Are there any current libraries available for this purpose? This is why I can't u

Re: Call an external program from CTFE

2024-06-23 Thread monkyyy via Digitalmars-d-learn
On Sunday, 23 June 2024 at 16:33:54 UTC, realhet wrote: Hi, Is there a way to call an external program from CTFE? Use case: Inside a module I want to put some GLSL code. I also want to generate that GLSL code using CTFE. And when it's done, it would be nice if I was able to save that GLSL cod

Re: Call an external program from CTFE

2024-06-23 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 24/06/2024 4:33 AM, realhet wrote: Hi, Is there a way to call an external program from CTFE? No. This is on purpose due to "security" and reproducibility concerns. The nearest thing I've found is the "include file contents" 'macro', that can be enabled with a command line parameter. (Mayb

Call an external program from CTFE

2024-06-23 Thread realhet via Digitalmars-d-learn
Hi, Is there a way to call an external program from CTFE? Use case: Inside a module I want to put some GLSL code. I also want to generate that GLSL code using CTFE. And when it's done, it would be nice if I was able to save that GLSL code into a temp file and call the glsl compiler on it. The

Re: importC Error: undefined identifier `__atomic_thread_fence`

2024-06-23 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, June 21, 2024 12:39:44 PM MDT mw via Digitalmars-d-learn wrote: > Looks like `__atomic_thread_fence` is a GCC built-in function, so > how to make importC recognize it? dmd cannot handle it. gcc or ldc might, but dmd generally needs standard C code. Stuff like gcc built-ins basically has