Show HN: Turn regular JavaScript into a neural net
Top Comments
the source code for the OS demo is not "regular" code, it's full of `emiRelu`... https://github.com/chenglou/handwired/blob/main/src/handwire...
The main site & readme seem to overclaim, while the docs say things like "With Handwired you write a numeric program" and "No tool converts existing JavaScript source into a program" - https://github.com/chenglou/handwired/tree/main/docs
happy to be proven wrong, to have misunderstood this, etc.
https://x.com/_chenglou/status/2110557373651931267
It took me a bit to wrap my head around what you did.
You point a model to an API and get a fully working UI right away. I don’t mean an agent CODED the UI - I mean the model inferred it from its training data and renders it to you “live”
Or the other way around? You serve it a UI- and it acts as the backend etc? State and persistence becomes an issue, but the model could freeze things into deterministic structures (specific parts become -just in time-frozen, for example when data needs to be saved)
Maybe this is old news already- but the consequences are kind of mind blowing
- turning js code into something else, arguably high-level code for training neural networks
- a mini OS inside the browser
- a gallery
- document search
QA through entropy lol