Proposal for porting D runtime to WebAssembly

Sebastiaan Koppe mail at
Mon Nov 25 13:00:23 UTC 2019

On Monday, 25 November 2019 at 12:19:30 UTC, Joseph Rushton 
Wakeling wrote:
> On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe 
> wrote:
>> This is my proposal for porting D runtime to WebAssembly. I 
>> would like to ask you to review it. You can find it here: 
> Thanks for putting this together, it looks very carefully 
> thought out.


>> Exceptions can be thrown but not catched. A thrown exception 
>> will
>> terminate the program. Exceptions are still in the proposal 
>> phase.
>> When the proposal is accepted exceptions can be fully 
>> supported.
> This would suggest that there may be some benefit in D 
> providing improved support for return-type-based error 
> propagation (as with `Result` from Rust), no ... ?

Yes, definitely. But what do you mean with improved support? Like 
better pattern matching over either types?

More information about the Digitalmars-d-announce mailing list