Re: Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 6 January 2023 at 22:14:23 UTC, Ferhat Kurtulmuş wrote: One question. Does GC work with Adam's druntime for wasm? I haven't actually written one yet, so it leaks if you don't pay attention yourself. But I have a plan that should work: you do the setTimeout(collect, 0) so it runs

Re: Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread Adam D Ruppe via Digitalmars-d-announce
On Friday, 6 January 2023 at 22:13:15 UTC, H. S. Teoh wrote: The big question I have right now is, what's the status of interfacing with web APIs such as WebGL? This part is really easy, you can call it from D with the opDispatch or pass it through as eval strings.

Re: Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread Ferhat Kurtulmuş via Digitalmars-d-announce
On Friday, 6 January 2023 at 12:52:43 UTC, Hipreme wrote: Hello people. I have tried working again with adam's wasm minimal runtime, and yesterday I was able to make a great progress on it. [...] This sounds great. Thank you for your efforts. I will play around with it someday. I have not

Re: Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 06, 2023 at 12:52:43PM +, Hipreme via Digitalmars-d-announce wrote: > Hello people. I have tried working again with adam's wasm minimal > runtime, and yesterday I was able to make a great progress on it. [...] > All those tests are currently passing. That means we almost got all >

Update on my D game

2023-01-06 Thread Kenny Shields via Digitalmars-d-announce
Hello, Yesterday I released a major update to my D-based game that I've been working on for about a year now, you can read about it here: https://kenny-shields.itch.io/imperium-scenario-system/devlog/472621/2023-01-05-physics-rework The game is a work in progress, so any feedback on

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-06 Thread areYouSureAboutThat via Digitalmars-d-announce
On Friday, 6 January 2023 at 04:07:12 UTC, areYouSureAboutThat wrote: btw. Linus one said, more or less, that one reason he likes C so much, is because when he is typing it, he can visualise what assembly will be produced (i.e. his mind is always intune with the code the machine will

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

2023-01-06 Thread thebluepandabear via Digitalmars-d-announce
On Friday, 6 January 2023 at 12:54:07 UTC, Vijay Nayar wrote: On Friday, 6 January 2023 at 09:26:51 UTC, thebluepandabear wrote: .isActive(true) .build(); ``` Good  how would I extend the builder methods? The builder methods are automatically generated and go up the inheritance chain

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

2023-01-06 Thread Vijay Nayar via Digitalmars-d-announce
On Friday, 6 January 2023 at 09:26:51 UTC, thebluepandabear wrote: .isActive(true) .build(); ``` Good  how would I extend the builder methods? The builder methods are automatically generated and go up the inheritance chain to capture all the fields in your class. (I assume that you

Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread Hipreme via Digitalmars-d-announce
Hello people. I have tried working again with adam's wasm minimal runtime, and yesterday I was able to make a great progress on it. Currently, the only feature that I did not bother to implement support for was the try/catch/finally/throw friends. Pretty much only because I don't use in my

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-06 Thread Tejas via Digitalmars-d-announce
On Friday, 6 January 2023 at 10:29:30 UTC, H. S. Teoh wrote: On Fri, Jan 06, 2023 at 04:07:12AM +, areYouSureAboutThat via Digitalmars-d-announce wrote: [...] btw. Linus one said, more or less, that one reason he likes C so much, is because when he is typing it, he can visualise what

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 06, 2023 at 04:07:12AM +, areYouSureAboutThat via Digitalmars-d-announce wrote: [...] > btw. Linus one said, more or less, that one reason he likes C so much, is > because when he is typing it, he can visualise what assembly will be > produced (i.e. his mind is always intune with

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

2023-01-06 Thread thebluepandabear via Digitalmars-d-announce
.isActive(true) .build(); ``` Good  how would I extend the builder methods?

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

2023-01-06 Thread Vijay Nayar via Digitalmars-d-announce
On Thursday, 5 January 2023 at 23:31:36 UTC, Vladimir Marchevsky wrote: 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