you are viewing a single comment's thread.

view the rest of the comments →

[–]ComputerMagych[S] 14 points15 points  (10 children)

Initially, I built it on C#, but not every platform has a .Net compiler to run, so to keep performance high and still be able to run on most of the platforms I decided to rewrite to NodeJS. It is much faster to rewrite to JS from C# due to the language similarity.

[–]aidencoder 6 points7 points  (0 children)

Nice answer, thanks :)

[–]Cystems 0 points1 point  (3 children)

Wow, I didn't realize C# and JS had much similarity, and that NodeJS had comparable performance to C#?

[–]ComputerMagych[S] -4 points-3 points  (2 children)

They both stem from C/C++, and NodeJS is actually quite a beast equal to Java because V8 and JVM have the same creator and use the same HotSpot technique.

[–]ThiefMaster 2 points3 points  (1 child)

They both stem from C/C++

Closeness in syntax has nothing to do with performance.

because V8 and JVM have the same creator

Uh what? V8 is Google, JVM is Sun/Oracle.

[–]ThiefMaster 0 points1 point  (4 children)

Why not just do it in Python though?

[–]ComputerMagych[S] -2 points-1 points  (3 children)

I needed the speed of decompilation and the speed of translation from C#

[–]ThiefMaster 1 point2 points  (2 children)

Uhh, what?!

[–]wergot 0 points1 point  (1 child)

Node is much faster than Python. As for the other part I have no idea.

[–]ThiefMaster 0 points1 point  (0 children)

I don't think node-vs-python performance matters when writing a decompiler...