4 comments

  • gregsadetsky16 minutes ago
    As far as I understand, this doesn&#x27;t turn &quot;regular&quot; JavaScript into a NN, it&#x27;s rather &quot;write your logic in a DSL that creates a neural-net-shaped circuit&quot;<p>the source code for the OS demo is not &quot;regular&quot; code, it&#x27;s full of `emiRelu`... <a href="https:&#x2F;&#x2F;github.com&#x2F;chenglou&#x2F;handwired&#x2F;blob&#x2F;main&#x2F;src&#x2F;handwiredos&#x2F;photo-gallery.ts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chenglou&#x2F;handwired&#x2F;blob&#x2F;main&#x2F;src&#x2F;handwire...</a><p>The main site &amp; readme seem to overclaim, while the docs say things like &quot;With Handwired you write a numeric program&quot; and &quot;No tool converts existing JavaScript source into a program&quot; - <a href="https:&#x2F;&#x2F;github.com&#x2F;chenglou&#x2F;handwired&#x2F;tree&#x2F;main&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chenglou&#x2F;handwired&#x2F;tree&#x2F;main&#x2F;docs</a><p>happy to be proven wrong, to have misunderstood this, etc.
  • auraham23 minutes ago
    It seems interesting but I am confused. What is the purpose of that landing page? It is not clear since it showcases several (not related) ideas:<p>- turning js code into something else, arguably high-level code for training neural networks<p>- a mini OS inside the browser<p>- a gallery<p>- document search
    • echoangle17 minutes ago
      I think this is basically a compiler that turns arbitrary JS code into weights of a neural net that then behaves exactly like the JS program. And the stuff at the bottom are demo projects that are now running as a neural net.
    • freecodeio16 minutes ago
      the &quot;DEMOS&quot; label is rather small, I understand the confusion
  • dvrp1 day ago
    I think for everyone interested in this project checking your OG twitter thread is also somewhat mandatory:<p><a href="https:&#x2F;&#x2F;x.com&#x2F;_chenglou&#x2F;status&#x2F;2110557373651931267" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;_chenglou&#x2F;status&#x2F;2110557373651931267</a><p>It took me a bit to wrap my head around what you did.
  • seamossfet33 minutes ago
    Clever, I wonder what would happen if you did this in reverse? Like, if we froze the weights then added some layers trained on a bunch of weird edge cases then tried to convert those weights back into branches.<p>QA through entropy lol