digitalmars.D.learn - Is it possible to create a kernel for an operating system in D?
- I come from chill. (6/6) Sep 25 2023 It seems very obvious, but I have not been able to find any
- Richard (Rikki) Andrew Cattermole (6/6) Sep 25 2023 Indeed it is. Many people have done projects in this vein, the language
- Jonathan M Davis (9/15) Sep 25 2023 Yes. It's been done before. In fact, there was a talk at the most recent
- Imperatorn (7/13) Sep 26 2023 A bit old but you can read about it:
- ryuukk_ (4/10) Sep 27 2023 Yes you can, D is great for system level needs
It seems very obvious, but I have not been able to find any information on the subject to confirm this. So I'm wondering if it's possible. ** Maybe I shouldn't have created the account, literally this will be one of the few doubts I'll have about D :u, but it'll be worth it I guess **.
Sep 25 2023
Indeed it is. Many people have done projects in this vein, the language isn't the limitation. If you use the -betterC switch, you can fairly quickly get up and going and program a kernel as if you were using C, except with a nicer language. All other considerations like linker scripts ext. still apply however.
Sep 25 2023
On Monday, September 25, 2023 9:31:36 PM MDT I come from chill. via Digitalmars-d-learn wrote:It seems very obvious, but I have not been able to find any information on the subject to confirm this. So I'm wondering if it's possible. ** Maybe I shouldn't have created the account, literally this will be one of the few doubts I'll have about D :u, but it'll be worth it I guess **.Yes. It's been done before. In fact, there was a talk at the most recent dconf from someone who has been working on one: https://dconf.org/2023/index.html#zachy The video isn't up yet though, since the videos are currently in the process of getting rendered and uploaded to youtube. https://forum.dlang.org/thread/rgevjorzaoeylhwiigpm forum.dlang.org - Jonathan M Davis
Sep 25 2023
On Tuesday, 26 September 2023 at 03:31:36 UTC, I come from chill. wrote:It seems very obvious, but I have not been able to find any information on the subject to confirm this. So I'm wondering if it's possible. ** Maybe I shouldn't have created the account, literally this will be one of the few doubts I'll have about D :u, but it'll be worth it I guess **.A bit old but you can read about it: https://github.com/PowerNex/PowerNex https://github.com/Rikarin/Trinix https://github.com/xomboverlord/xomb/tree/unborn https://wiki.osdev.org/D_Bare_Bones
Sep 26 2023
On Tuesday, 26 September 2023 at 03:31:36 UTC, I come from chill. wrote:It seems very obvious, but I have not been able to find any information on the subject to confirm this. So I'm wondering if it's possible. ** Maybe I shouldn't have created the account, literally this will be one of the few doubts I'll have about D :u, but it'll be worth it I guess **.Yes you can, D is great for system level needs https://github.com/zyedidia/multiplix
Sep 27 2023