On Tuesday, 9 July 2024 at 14:42:01 UTC, monkyyy wrote:
On Tuesday, 9 July 2024 at 07:54:12 UTC, kiboshimo wrote:
- betterC can be compiled to WASM, but some of phobos can't, so basically same worries as above. I'm afraid to lose some essential systems stuff that I could not replace.

yes, and your not afraid enough

Really liked the idea of doing it with betterC to start my systems programming journey

Theres nothing even slightly pleasant or easy about d's wasm "support"; I wrote my own cos, sqrt functions, you get *nothing* from phoboes

Writing my own math functions is outside of my range, I still have hopes of this not being so hard. So you get another opportunity to crush it.

You could have used a C library for those things you implemented yourself, right? I suppose you didn't because doing things is cool, or because C is "not ergonomic" to use as foreign code. Because of the quirks. Which would make for a not so pleasant experience when writing a small game.

What do you think about using C libraries like that?

    • Re: Being r... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Bei... kiboshimo via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... kiboshimo via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... Sergey via Digitalmars-d-learn
          • ... kiboshimo via Digitalmars-d-learn
  • Re: Being readin... Lance Bachmeier via Digitalmars-d-learn
  • Re: Being readin... monkyyy via Digitalmars-d-learn
    • Re: Being r... kiboshimo via Digitalmars-d-learn
      • Re: Bei... H. S. Teoh via Digitalmars-d-learn
      • Re: Bei... monkyyy via Digitalmars-d-learn
      • Re: Bei... kiboshimo via Digitalmars-d-learn
        • Re:... kiboshimo via Digitalmars-d-learn
          • ... kiboshimo via Digitalmars-d-learn

Reply via email to