Hacker News new | ask | show | jobs
by diggan 356 days ago
> Why do you need a separate back-end in Rust?

Such a generic question, with probably hundreds of possible answers, it really depends on the context. From the top of my mind, whatever library/program you wanna use only being available in $Language comes to mind as something you encounter at least once in your career as a programmer.

1 comments

> From the top of my mind, whatever library/program you wanna use only being available in $Language comes to mind as something you encounter at least once in your career as a programmer.

That wouldn't be a reason to also write your CRUD backend in that language. You would just make it a separate service written in that language.

I rather include a WASM Component that uses $library and pass data within the program, than setting up an entire service doing the same thing, but now with web transport complexity.