Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ipsum2
46 days ago
|
parent
|
context
|
favorite
| on:
Deep Learning in JavaScript
Performance is a lot worse on NodeJS with a WebAssembly/WebGL backend versus Flask with a PyTorch/CUDA backend.
throwaway4aday
46 days ago
[–]
If you're using Node you can write whatever you want in C++ and then add a binding to call it from within your Node app. Don't need WebGL.
goatlover
46 days ago
|
parent
|
next
[–]
But you're having to write whatever in C++ versus just using Flask/Pytorch.
throwaway4aday
46 days ago
|
root
|
parent
|
next
[–]
A lot of what you need is already written, you just need to find the right libraries and write the bindings. From my encounters with Python ML it seems like "just use Pytorch" is a bit like "simply walk into Mordor".
ipsum2
46 days ago
|
parent
|
prev
[–]
Yeah, but why...?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: