C program that utilizes a ton of data structures to do various tasks. The program has to be in C, and it doesn't have to have any GUI at all, but I want to make one because why not.

The program and the nodejs web server (if it was running one) would both be on the same, local machine. They'd be ran together by default and only by me. So my question is, is it realistic to try to develop a GUI in a language like Node.js, and make continuous calls to a C program? How efficient or inefficient will it be? What are the drawbacks?

Like I said, I have to do the program in C. It's for a homework assignment, but I don't really want to try to program any UI in C. Any other methods would be fine as well. I can write in Python and Node.js and my OOP in C++ is good enough to have made a couple 2D programs in Direct2D.

EDIT 2: The program (whether it be the C program or the GUI) will eventually have to utilize a database in some way. So that can go into any possible answers rationale, if it means anything.

EDIT 3: What I am looking for in an answer: Yes/no it's possible, what language to use and why, and hopefully some library for the task.

Inefficiency: Given a "standard" machine (let's say an i5-337U @ 1.7 GHz, 6 GB DDR3 RAM), the interaction with the GUI (which would involve clicking, and the input would be sent to the C program as an argument, which would then do calculations on said input, all of which is simple math and there would be no more than 10 simple (add, mult, dvd, all <4 digit numbers) calculations for each input) should be complete, as in calculations complete and GUI updated with results of calculations, within a second or two.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence