Possible is yes, all programming languages can do anything. The issue is the work that gives, is usually so much, the risk is so great, that rewriting will be bad, writing the same thing from scratch is much more interesting.
If the code is in C# it is unlikely to use any pointer. It is very rare to see the use of pointer in C#, and now almost all situations no longer need, and where it needs is in something that makes no sense to port to Node. C depends on a lot of things, but it doesn’t make much sense to do this kind of conversion.
Furthermore, if you have good code running in C or C++ or C# I don’t understand why you want to convert it to Javascript mainly to run on Node. O . NET has the same capacity and is absurdly faster than Node/Deno. If you have the code that solves your problem, use it directly. Why exchange for a language less robust?
If you think you’re going to take a language and turn the instruction-by-instruction code into another language, don’t start, because it’s not just that it doesn’t happen, it means you have an ingenuity that will surely result in the bad ending. There’s no magic, there’s no free lunch. Whatever you’re trying to do, there’s no guy that’s gonna work. An experienced person knows that even it would not have good result and probably would not do it. She would understand the problem and write code even better. Or she would use the right tool. If you want to do this you must master (really) all these languages, it is the only chance to work, and then it starts to make less sense to convert, so no one does it.
All objects in JS are types by reference. The pointer is what causes something to be accessed as a reference, so anything that encapsulates into an object is using a pointer. The fact that you don’t know this, and no problem people don’t know because you don’t need to use something like this, shows you’re not ready to do the conversion, this is the easy part, you’ll find a lot of difficulty in the way you won’t know how to handle, so it’s a doomed project. I’m sorry, but that’s not the answer.
@Lucas Duete, I believe the question is pertinent, but I’m sorry anyway. I’m editing the question to see if it improves and becomes more objective. Anyway, thank you very much.
– Adrian Matheus Fernandez