Javascript relation to another lang

Can coding languages understand they each other? Is it possible to work on a project with JavaScript and then use another language in different area of that project, like extract data collected by the first language or any thing else?
If this question is too big to answer or early to ask i should know.
Thank you.

Yup, totally doable. This is known as a Foreign Function Interface (FFI). How easy it is depends upon the project and the languages.

1 Like

Yeah, it’s totally possible, in fact, a lot of websites have done them. They would use the regular JS for the frontend and for the backend they’d use Python or even Rust. That’s what APIs essentially are.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.