Memory Safer in a Systems Programming Language Part 3

2023-01-05 Thread Mike Parker via Digitalmars-d-announce
I've just published the third and final article in Ate Eskola's series on memory safety in D. Parts 1 and 2 were primarily about DIP1000. In this post, he digs into function attribute inference. The blog: https://dlang.org/blog/2023/01/05/memory-safety-in-a-systems-programming-language-part-3/

Safer Linux Kernel Modules Using the D Programming Language

2023-01-05 Thread Alexandru Militaru via Digitalmars-d-announce
Hi everyone, If you remember the "D for a @safer Linux Kernel“ talk from DConf 2019 [1], then you might want to read our paper [2] on that matter that was just published in IEEE Access Journal. There's also an ongoing discussion about it on Hacker News in case someone is interested [3]. Ch

Builder: Tiny Utility Library to Add a Builder API to Classes

2023-01-05 Thread Vijay Nayar via Digitalmars-d-announce
https://code.dlang.org/packages/builder Interacting with many projects that are related to Java, I could not help notice that a common "Builder API" is not easily available in D. What is the problem? When constructing classes, especially those with lots of data, there are two broad ways of b

Re: Builder: Tiny Utility Library to Add a Builder API to Classes

2023-01-05 Thread Vladimir Marchevsky via Digitalmars-d-announce
On Thursday, 5 January 2023 at 21:48:40 UTC, Vijay Nayar wrote: 2. Using a constructor with many arguments. ``` A a = new A("Bob", 20, false, true); ``` This approach can construct arguments inline, such as during a function call, however, the arguments are not labeled, making it easy to get

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-05 Thread areYouSureAboutThat via Digitalmars-d-announce
On Thursday, 5 January 2023 at 20:24:07 UTC, Alexandru Militaru wrote: Hi everyone, If you remember the "D for a @safer Linux Kernel“ talk from DConf 2019 [1], then you might want to read our paper [2] on that matter that was just published in IEEE Access Journal. There's also an ongoing dis

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-05 Thread thebluepandabear via Digitalmars-d-announce
On Thursday, 5 January 2023 at 20:24:07 UTC, Alexandru Militaru wrote: Hi everyone, If you remember the "D for a @safer Linux Kernel“ talk from DConf 2019 [1], then you might want to read our paper [2] on that matter that was just published in IEEE Access Journal. There's also an ongoing dis