digitalmars.D.announce - importC | Using D with Raylib directly | No bindings | [video]
- Ki Rill (2/2) Aug 06 2022 Testing out importC with Raylib. Here is the
- Steven Schveighoffer (9/11) Aug 07 2022 Really nice demonstration!
- Ki Rill (9/13) Aug 07 2022 I've read about this somewhere. It would be nice to have the
- Petar Kirov [ZombineDev] (4/13) Aug 08 2022 I think this was recently documented here:
- jmh530 (7/21) Aug 08 2022 It says:
- =?UTF-8?Q?Ali_=c3=87ehreli?= (4/7) Aug 12 2022 I think it means the 'cpp' program that exists on (almost?) all Linux
- bachmeier (3/6) Aug 08 2022 Happy to see that. I'll be giving it a test.
- Martin Tschierschke (3/5) Aug 15 2022 Very cool and important to show how simple this works. **Thank
Testing out importC with Raylib. Here is the [link](https://www.youtube.com/watch?v=1BrvRkZdGOA).
Aug 06 2022
On 8/6/22 9:09 PM, Ki Rill wrote:Testing out importC with Raylib. Here is the [link](https://www.youtube.com/watch?v=1BrvRkZdGOA).Really nice demonstration! I lament the fact that you have to declare C variables just to get access to the #define colors. Also, IIRC, in the latest master of DMD, there is an attempt to run the system preprocessor automatically. But I'm not sure of the state of it, or if it's in the latest release (which we are having trouble publishing still). -Steve
Aug 07 2022
On Sunday, 7 August 2022 at 13:53:12 UTC, Steven Schveighoffer wrote:Also, IIRC, in the latest master of DMD, there is an attempt to run the system preprocessor automatically. But I'm not sure of the state of it, or if it's in the latest release (which we are having trouble publishing still).I've read about this somewhere. It would be nice to have the preprocessor run automatically and, maybe in the future, add those #defines for the user. But in overall, D has grown and the ecosystem is rapidly evolving. I can see it. This is the best thing that's happening right now. And the Dconf talks were awesome; so many interesting and useful insights.
Aug 07 2022
On Monday, 8 August 2022 at 05:39:29 UTC, Ki Rill wrote:On Sunday, 7 August 2022 at 13:53:12 UTC, Steven Schveighoffer wrote:I think this was recently documented here: https://dlang.org/spec/importc.html#preprocessor Give it a read, try it out and let us know how it works out!Also, IIRC, in the latest master of DMD, there is an attempt to run the system preprocessor automatically. But I'm not sure of the state of it, or if it's in the latest release (which we are having trouble publishing still).I've read about this somewhere. It would be nice to have the preprocessor run automatically and, maybe in the future, add those #defines for the user.
Aug 08 2022
On Monday, 8 August 2022 at 13:01:46 UTC, Petar Kirov [ZombineDev] wrote:On Monday, 8 August 2022 at 05:39:29 UTC, Ki Rill wrote:It says: "Otherwise the cpp preprocessor will be used." You mean the default system cpp preprocessor, correct? I wouldn't be surprised if someone asks for the ability to set their own defaults.On Sunday, 7 August 2022 at 13:53:12 UTC, Steven Schveighoffer wrote:I think this was recently documented here: https://dlang.org/spec/importc.html#preprocessor Give it a read, try it out and let us know how it works out!Also, IIRC, in the latest master of DMD, there is an attempt to run the system preprocessor automatically. But I'm not sure of the state of it, or if it's in the latest release (which we are having trouble publishing still).I've read about this somewhere. It would be nice to have the preprocessor run automatically and, maybe in the future, add those #defines for the user.
Aug 08 2022
On 8/8/22 07:54, jmh530 wrote:It says: "Otherwise the cpp preprocessor will be used." You mean the default system cpp preprocessor, correct?I think it means the 'cpp' program that exists on (almost?) all Linux systems. Ali
Aug 12 2022
On Monday, 8 August 2022 at 13:01:46 UTC, Petar Kirov [ZombineDev] wrote:I think this was recently documented here: https://dlang.org/spec/importc.html#preprocessor Give it a read, try it out and let us know how it works out!Happy to see that. I'll be giving it a test.
Aug 08 2022
On Sunday, 7 August 2022 at 01:09:58 UTC, Ki Rill wrote:Testing out importC with Raylib. Here is the [link](https://www.youtube.com/watch?v=1BrvRkZdGOA).Very cool and important to show how simple this works. **Thank you!**
Aug 15 2022