<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 02/10/2019 15:27, Dukc via Digitalmars-d wrote:<br>
    <blockquote cite="mid:slzmevafgqectyfspice@forum.dlang.org"
      type="cite">On Wednesday, 2 October 2019 at 09:26:56 UTC, materus
      wrote:
      <br>
      <blockquote type="cite">C# works so what's preventing D to work?
        <br>
      </blockquote>
      <br>
      If you mean Bridge.NET[1], well, nothing in theory. Bridge.NET
      essentially implements .NET runtime library in JavaScript, and
      translates C# to it. Nothing would prevent implementing a D
      compiler that does the same to D -indeed, it would likely be
      easier thanks to lighter runtime library. But still, you'd need a
      lot of manpower -Bridge.NET has a company behind it, not just
      freetime volunteers. Bridge.NET is the main tool behind my
      commercial project, with some parts written in Spasm.
      <br>
      <br>
      I feel that while the C# transpiler is excellent work and very
      useful, the challenge of doing a specialized JavaScript transpiler
      shows. It often has worse error messages than D compilers for
      errors of similar complexity, and you do run into a codegen bug
      every now and then. Also, the runtime library isn't completely
      implemented, and there are not very good docs about what's
      implemented and what's not. When you consider how mature language
      C# is, this speaks a lot IMO.
      <br>
      <br>
      1: <a class="moz-txt-link-freetext" href="https://bridge.net/">https://bridge.net/</a>
      <br>
    </blockquote>
    <br>
    <a class="moz-txt-link-freetext" href="https://blazor.net/">https://blazor.net/</a> surely.<br>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Mark Rousell
 
 
 
</pre>
  </body>
</html>