‹ BackHN Continuity

Thread

Show HN: Reladraw – A diagram language where you decide where to place things

413 points · 119 comments · jpwalsh234

  1. einpoklum · · focus · HN ↗
    If this were implemented in a language with fewer dependencies, it'd be great.
    1. jpwalsh234 · · focus · HN ↗
      Reladraw has no runtime dependencies and Typescript is only needed to build it. If you mean Node, though, that's fair!
      1. jeremycarter · · focus · HN ↗
        Maybe a couple of binaries? <a href="https:&#x2F;&#x2F;github.com&#x2F;vercel-labs&#x2F;scriptc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vercel-labs&#x2F;scriptc
        1. jpwalsh234 · · focus · HN ↗
          I tried scriptc. Unfortunately, it doesn&#x27;t work with this code at present (e.g., maps keyed by object and a number of various things). However, thanks for suggesting it. I have a note to revisit at some point.

          Another option that appears to work well is to use Deno. I tried on my machine and it worked great. Only downside is the executable size is beefy. Could be about 70-105MB, or roughly 30MB compressed.

          I don&#x27;t know if that still sounds attractive? A 30MB download from Github, and then uncompressed to 100MB, and no other dependencies? (Most of it would be the Deno runtime, with only about 300KB being Reladraw)

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.