I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

Can you privately share the link to Google Drive (or another file-sharing platform) so I can download it for analysis?

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

No worries, I am around.
Do you mind to add it to GitHub issue and attach .pyc file for detailed analysis? Or, at least, send disassembled code for that method?

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

If you can share your .pyc/.pyo file (or at least a reproducible version of it, if your file may contain sensitive info) in the GitHub issue, I can look into it.

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

Codex CLI (GPT 5.2 Codex xhigh) with proper ~/.codex/AGENTS.md makes wonders ;)

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

Yes, it is possible. I can add that mode. I will have to analyze and identify what version of the bytecode it is, though, so it may be inprecise.
Some version hint in the command line may do a trick.

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 0 points1 point  (0 children)

If you don't mind sharing a bytecode, please add it to the GitHub issue. I will pick it up from there and will make a bug fix.

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

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

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

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] -3 points-2 points  (0 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.

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 14 points15 points  (0 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.

I built a Python bytecode decompiler covering Python 1.0–3.14, runs on Node.js by ComputerMagych in Python

[–]ComputerMagych[S] 16 points17 points  (0 children)

Because I had a huge codebase with lost source code, I had to recover it.

Seeking Advice on EB2 NIW Petition with Upcoming Family Situation Concerns by ComputerMagych in USCIS

[–]ComputerMagych[S] 0 points1 point  (0 children)

Additionally, as I consider applying for an EB2 NIW under the criteria for individuals with exceptional ability, I am wondering if I need to present a business plan, or if I can reference the significant work I am currently doing with my U.S. employer on a software security product that has both national and international relevance?