Hacker News new | past | comments | ask | show | jobs | submit login

It's a good point but I'm a perfectionist and can't abide without a web version.

though, now that I write that...

Native: FFI.

Web: Dart calling simple JS function, and the JS handles WASM.

...is an excellent sweet spot. Matches exactly what I do with FONNX. The trouble with WASM is Dart-bounded.

(n.b. re: local cloning for anyone this deep, this would allow local inference of the existing voices in the Raspberry Pi x ONNX voicer project above. It won't _necessarily_ help with doing voice cloning locally, you'll need to prove out that you can get a voice cloning model in ONNX to confirm.)

(n.b. re: translating to Dart, I think the only advantage of a pure Dart port would be memory safety stuff but I also don't think a pure Dart port is feasible without O(months) of time. The C is...very very very 2000s C. globals in one file representing current state that 3 other files need to access. array of structs formed by just reading bytes from a file at runtime that matches the struct layout)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: