NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Nectar, a Rust-like React that compiles to WebAssembly (buildnectar.com)
debdattabasu 6 days ago [-]
This is genuinely very useful. In rust all you have is egui which is amazing but no proper ergonomic setup. Floem is a serious contender here but you went with a different approach. Watching this closely because I have some requirement where I need same codebase to work in desktop without electron and on wasm single binary single canvas.

How is your system different from floem? Are you doing pure immediate mode or retained mode partially? What are you using for 2d? Is this portable between webgl and webgpu? Do you need help? I am happy to drive this along if this is useful.

Tistron 4 minutes ago [-]
Demo does not work in Fx on android
cyberclimb 5 days ago [-]
Nice! Heads up that unfortunately the demos don't appear to scroll on mobile
barefootford 12 minutes ago [-]
Demos dead on iOS on iPhone 16 pro.
LoganDark 4 minutes ago [-]
Safari on my Mac can't run it either, but Chrome can.

In Safari, the page seems to render once, and if I resize the window, it just stretches the canvas? The thing seems to die after rendering one frame.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:59:20 GMT+0000 (Coordinated Universal Time) with Vercel.