Windows drivers written in D

2014-10-13 Thread marisalovesusall via Digitalmars-d
D is a system programming language, so is it possible to write drivers in D? Windows drivers, as example, or Linux.

Re: Windows drivers written in D

2014-10-13 Thread Piotrek via Digitalmars-d
On Monday, 13 October 2014 at 18:16:08 UTC, marisalovesusall wrote: D is a system programming language, so is it possible to write drivers in D? Windows drivers, as example, or Linux. In short: You can write in D everything you can in C. And there is good place called D.Learn for starters.

Re: Windows drivers written in D

2014-10-13 Thread eles via Digitalmars-d
On Monday, 13 October 2014 at 18:16:08 UTC, marisalovesusall wrote: D is a system programming language, so is it possible to write drivers in D? Windows drivers, as example, or Linux. See those links, with the mention that thy are quite outdated. But is better than nothing: http://iainbuclaw

Re: Windows drivers written in D

2014-10-13 Thread Piotrek via Digitalmars-d
On Monday, 13 October 2014 at 21:50:20 UTC, eles wrote: Short answer is: yes, you cand write, but you cannot compile. Wait, what? Do you mean link or maybe load? I don't write Linux kernel modules, but I bet you can get it working. Check out the "betterC" switch to get away with runtime de

Re: Windows drivers written in D

2014-10-13 Thread eles via Digitalmars-d
On Monday, 13 October 2014 at 23:28:05 UTC, Piotrek wrote: On Monday, 13 October 2014 at 21:50:20 UTC, eles wrote: Short answer is: yes, you cand write, but you cannot compile. Wait, what? Do you mean link or maybe load? I don't write Linux kernel modules, but I bet you can get it working.

Re: Windows drivers written in D

2014-10-14 Thread Dan Olson via Digitalmars-d
"eles" writes: > On Monday, 13 October 2014 at 23:28:05 UTC, Piotrek wrote: >> On Monday, 13 October 2014 at 21:50:20 UTC, eles wrote: >>> Short answer is: yes, you cand write, but you cannot compile. >> >> >> Wait, what? Do you mean link or maybe load? I don't write Linux >> kernel modules, but

Re: Windows drivers written in D

2014-10-14 Thread eles via Digitalmars-d
On Monday, 13 October 2014 at 23:28:05 UTC, Piotrek wrote: On Monday, 13 October 2014 at 21:50:20 UTC, eles wrote: Check out the "betterC" switch to get away with runtime A hand here?: http://forum.dlang.org/post/spgdillzvmnvskyzq...@forum.dlang.org