This dual-thread architecture is also reflected in the arrangement of src/
directory:
./src āāā onnx āāā ui āāā bridge.ts āāā main.ts
[!NOTE]
Work in progress- More models and features are on the way š«”
git clone https://github.com/rudrowo/neuromancer &&\
cd neuromancer &&\
npm install &&\
npm run dev
WebAssembly is awesome: Modern web browsers pretty much stand in par with lightweight virtual machines. Many intensive computations that once needed a dedicated server can now be done via WebAssembly on a client's machine. This includes everything from running AutoCAD to neural networks.
Concurrency is awesome when done right: I learned about co-ordinating between webworkers to offload expensive neural net computations and deliver a responsive user interface. Still nowhere near as good as Go's concurrency though š„±.
Power of declarative code:
Vite deepdive: Vite is a super awesome bundler that comes with a ton of quality of life features for great DX. I learned about things such as:
3D raycasting for interactivity: Did you know 3d graphics emulate mouse interaction by casting a ray and calculating whether it intersects with objects? Well now you do.
Svelte 5 is awesome- chef's kiss:
useFootgun()
hooks to ruin my day āļøš.Icons attribution: SVGRepo, Wikimedia Commons