Questions tagged [compiled]
163 questions
1295
votes
12 answers
If Python is interpreted, what are .pyc files?
Python is an interpreted language. But why does my source directory contain .pyc files, which are identified by Windows as "Compiled Python Files"?

froadie
- 79,995
- 75
- 166
- 235
243
votes
9 answers
Is it possible to decompile a compiled .pyc file into a .py file?
Is it possible to get some information out of the .pyc file that is generated from a .py file?

Howard
- 2,431
- 2
- 15
- 3
184
votes
2 answers
Is Javascript compiled or an interpreted language?
Can Javascript be called a pure interpreted language? Or does it also have some compiled flavor to it? Could someone guide at the reasons behind both the things whichever being true.

netemp
- 4,115
- 12
- 43
- 63
90
votes
15 answers
Is C# partially interpreted or really compiled?
There is a lot of contradicting information about this. While some say C# is compiled (as it is compiled into IL and then to native code when run), others say it's interpreted as it needs .NET. EN Wiki says:
Many interpreted languages are first…

John V
- 4,855
- 15
- 39
- 63
33
votes
10 answers
Way to have compiled python files in a separate folder?
Is it possible to have Python save the .pyc files to a separate folder location that is in sys.path?
/code
foo.py
foo.pyc
bar.py
bar.pyc
To:
/code
foo.py
bar.py
/code_compiled
foo.pyc
bar.pyc
I would like this because I…

Evan Fosmark
- 98,895
- 36
- 105
- 117
24
votes
6 answers
Is it possible to import a compiled python file?
I can't seem to figure out how to import a compiled .pyc module into my code so I can use it within my main script. Is this even possible?

Jonno
- 767
- 2
- 7
- 13
22
votes
4 answers
How can I use C++ code to interact with PHP?
I was reading somewhere that sometimes PHP is simply not fast enough and that compiled code has to sometimes "do the heavy lifting"
What is the api in C++ to do this?

qodeninja
- 10,946
- 30
- 98
- 152
19
votes
1 answer
SQL server - Difference between Natively Compiled Stored Procedure and ordinary stored procedure
As always I used to create ordinary stored procedures regarding the second option for creating stored procedure called "Natively Compiled Stored Procedure" I wanna know if there is any performance benefit to using compiled one?
Is there anyone can…

msd
- 591
- 7
- 23
19
votes
2 answers
why do people say python is slow because it is interpreted? It has .pyc files
Why don't people just use the compiled python file whenever they need optimization? Then the code won't have to be interpereted then compiled.
Is there something I am missing? It seems to me like a simple problem.

user3571278
- 721
- 5
- 15
13
votes
5 answers
Interpreted vs. Compiled vs. Late-Binding
Python is compiled into an intermediate bytecode(pyc) and then executed. So, there is a compilation followed by interpretation. However, long-time Python users say that Python is a "late-binding" language and that it should`nt be referred to as an…
user277465
11
votes
2 answers
Is there a way to open/read .PRI files? (package resource index - used in Windows Store apps)
I need to take some resources from SOURCE.PRI file, modify certain values, then create TARGET.PRI file, which has the exact same content as SOURCE.PRI, except the modified values mentioned above.
There are a couple of PRI file extensions, I am…

Bobby5193
- 1,585
- 1
- 13
- 23
9
votes
2 answers
Getting distutils to install prebuilt compiled libraries?
I manage an open source project (Remix, the source is available there) written in python. We ask users to run python setup.py install to install the software. Recently we added a compiled C++ package (a port of SoundTouch -- go to trunk/externals in…

bwhitman
- 103
- 4
8
votes
2 answers
Prolog: a compiled or interpreted language or both?
There are compilers for prolog but other websites say that the language itself is an interpreted language. I'm confused if prolog is really an interpreted language. Can someone please clarify if what the language really is? Compiled language or…

Charles.Aposaga
- 91
- 1
- 7
8
votes
3 answers
GitHub: can I offer access to compiled files without versioning them?
I maintain a documentation with git and GitHub. The source files are TEX files for Pdflatex an a few other files (like figures) that are used for the compilation. These files are versioned. After compilation, they produce a PDF file (that explains…

Olivier
- 393
- 3
- 11
7
votes
7 answers
Compiled dynamic language
I search for a programming language for which a compiler exists and that supports self modifying code. I’ve heared that Lisp supports these features, but I was wondering if there is a more C/C++/D-Like language with these features.
To clarify what I…

Marenz
- 2,722
- 3
- 20
- 19