Re: remake of remake of Konami's Knightmare

2019-09-27 Thread Murilo via Digitalmars-d-announce

On Thursday, 23 November 2017 at 12:18:38 UTC, ketmar wrote:
recently i worked on remake of DOS remake of Konami's 
Knightmare game[0]. the game is playable now, it has music from 
original MSX Knightmare, and sfx/gfx/levels from DOS remake. it 
is written in D, of course, and it is FOSS. you can find the 
sources here[1].


Hi, I would like to see your source code please because I am 
making a game myself and I need to learn how to do it, I figured 
I could read your code and learn from it.


Re: Demo: Calling Typescript library from D via WebAssembly

2019-09-27 Thread a11e99z via Digitalmars-d-announce
On Thursday, 26 September 2019 at 09:25:28 UTC, Sebastiaan Koppe 
wrote:
I would like to announce an example showcasing D interacting 
with a Typescript library via WebAssembly.


https://github.com/skoppe/spasm-tradingview-example

I have started work on a small project that generates these 
bindings automatically, leveraging the typescript compiler. 
This could also be used to interact with javascript libraries 
which have typescript bindings.


OT: https://run.dlang.io/is/6M2WII


Re: Demo: Calling Typescript library from D via WebAssembly

2019-09-27 Thread Sebastiaan Koppe via Digitalmars-d-announce

On Friday, 27 September 2019 at 10:07:08 UTC, Dennis wrote:
On Thursday, 26 September 2019 at 09:25:28 UTC, Sebastiaan 
Koppe wrote:
I would like to announce an example showcasing D interacting 
with a Typescript library via WebAssembly.


I love how much work you put into WebAssembly support for D. 
Keep up the good work!


Thanks, I hope to be able to spend more time on it in the future. 
There are still a lot of things that need to be improved.


I have started work on a small project that generates these 
bindings automatically, leveraging the typescript compiler.


I can imagine some basic types are easy (such as number -> 
double), but I wonder how you bind to functions that take sum 
types or 'any'. Are you going to use opaque JS objects on the D 
side or convert D structs/classes upon calling TS/JS functions?


I am using opaque JS objects. Spasm already has Sumtypes and 
supports Any as well, so it is going to move forward from that.


Having said that, the lineSeries data in the tradingview example 
is implemented with a proxy object that directly accessed memory 
from the wasm module. There are pros and cons to either approach.


Also, I have to take into account the upcoming interface-types 
proposal 
https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/Explainer.md


Re: "D for a @safer Linux Kernel" poster presentation at APLAS

2019-09-27 Thread RazvanN via Digitalmars-d-announce

On Friday, 27 September 2019 at 10:39:42 UTC, M.M. wrote:

On Friday, 27 September 2019 at 09:26:22 UTC, RazvanN wrote:

Hello all,

Alexandru Militaru's work "D for a @safer Linux Kernel" [1] 
has just been accepted for a poster presentation at APLAS [2]. 
We hope that this will be good publicity for D,


Cheers,
RazvanN

[1] https://www.youtube.com/watch?v=weRSwbZtKu0
[2] 
https://conf.researchr.org/track/aplas-2019/aplas-2019-posters#About


Congratulations! Hopefully, you will make a research paper out 
of it as well. That will make the content available to much 
broader audience!


Thanks you! That is our plan also. We hope we will finish the 
paper until late December and we will see where we can submit.


Re: "D for a @safer Linux Kernel" poster presentation at APLAS

2019-09-27 Thread M.M. via Digitalmars-d-announce

On Friday, 27 September 2019 at 09:26:22 UTC, RazvanN wrote:

Hello all,

Alexandru Militaru's work "D for a @safer Linux Kernel" [1] has 
just been accepted for a poster presentation at APLAS [2]. We 
hope that this will be good publicity for D,


Cheers,
RazvanN

[1] https://www.youtube.com/watch?v=weRSwbZtKu0
[2] 
https://conf.researchr.org/track/aplas-2019/aplas-2019-posters#About


Congratulations! Hopefully, you will make a research paper out of 
it as well. That will make the content available to much broader 
audience!


Re: Demo: Calling Typescript library from D via WebAssembly

2019-09-27 Thread Dennis via Digitalmars-d-announce
On Thursday, 26 September 2019 at 09:25:28 UTC, Sebastiaan Koppe 
wrote:
I would like to announce an example showcasing D interacting 
with a Typescript library via WebAssembly.


I love how much work you put into WebAssembly support for D. Keep 
up the good work!


I have started work on a small project that generates these 
bindings automatically, leveraging the typescript compiler.


I can imagine some basic types are easy (such as number -> 
double), but I wonder how you bind to functions that take sum 
types or 'any'. Are you going to use opaque JS objects on the D 
side or convert D structs/classes upon calling TS/JS functions?


"D for a @safer Linux Kernel" poster presentation at APLAS

2019-09-27 Thread RazvanN via Digitalmars-d-announce

Hello all,

Alexandru Militaru's work "D for a @safer Linux Kernel" [1] has 
just been accepted for a poster presentation at APLAS [2]. We 
hope that this will be good publicity for D,


Cheers,
RazvanN

[1] https://www.youtube.com/watch?v=weRSwbZtKu0
[2] 
https://conf.researchr.org/track/aplas-2019/aplas-2019-posters#About