News for hackers. Stuff that matters.
Re:How to Build a Semantic Search Engine in Rust by wafngar on Wednesday November 09, 2022 @10:43AM (#33533213)
But isn’t that PyTorch with a few extra steps?
Re:How to Build a Semantic Search Engine in Rust by sachaarbonel on Wednesday November 09, 2022 @12:22PM (#33534803)
well technically yes, but since it's in Rust once you have your embeddings, with some tweakings you could just store them and query them offline via ffi or wasm in an app for example. Also I am not a huge fan of maintaining python projects they often don't run after a while if I didn't properly maintain a virtual env etc never had this issue with Rust projects.
Re:How to Build a Semantic Search Engine in Rust by jstx1 on Wednesday November 09, 2022 @01:50PM (#33536148)
Yes, it's a well solved problem and much easier to do in Python. The author just wanted to do it in Rust, that's all.
Re:How to Build a Semantic Search Engine in Rust by wafngar on Wednesday November 09, 2022 @03:10PM (#33537161)
sure, my point was more that it uses pytorch -> also lots of c++ :-)