[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1764366311214695.png (850 KB, 3840x2160)
850 KB
850 KB PNG
is it compiled or interpreted
>>
>>108444930
Compiled into bytecode, then compiled into machine code at execution time in JIT fashion
>>
>>108444930
Depends on the toolchain. C interpreters exist, and so do Lisp compilers.
>>
If you think about it, a CPU is just a machine code interpreter.
>>
>>108444930
it gets compiled at runtime.
>>
>>108445132
Is there a python compiler?
>>
>>108444930
yes
>>
>>108444930
Java run virtual machine for compiled code
>>
>>108445055
>JIT
>JEET
what did they mean by this?
>>
>>108444930
both, in general. though GraalVM can compile ahead of time these days, and it works even for pretty complex projects without too much effort
>>
>>108445280
Yes, though only a JIT I believe
>>
>>108445280
Search for Codon project, it is a very useful compiler for Python, with a great compatibility to almost all the standard library.
>>
>>108445280
No you imbecile it is an interpretive language
>>
>>108444930
The most basic variant is that your .java files get compiled into . class files, these contain instructions for the methods and a bunch of metadata about the classes that the jvm can run. The jvm is stack based with a bunch of extra instructions for allocation, method calling, property access and shit like exception handling. To answer your question it's both but there's also fancy shit to speed that stuff up like JIT compiling the bytcode to actual native code and AOT compilation with graal. Also if you're interested there are a bunch of toy jvm implantations you can find online and see how they implement stuff
>>
it's compiling long stacktraces for you to interpret
>>
File: 1736284826866291.jpg (11 KB, 264x282)
11 KB
11 KB JPG
unusable
>>
>>108444930
no
>>
it's interpiled
>>
67657
>>
>>108447337
retard
>>
>>108444930
trick question: it is jewish tech anyway
>>
>>108447289
>>108447337
Tnx bros
>>
>>108444930
Is running Linux in a VM compiled or interpreter? Same shit.
>>
>>108445280
nuitka
>>
File: thumbs-up-computer.gif (225 KB, 220x165)
225 KB
225 KB GIF
>>108447782
The thumbs up of existential pain
>>
>>108445280
>>108447289
Cython. Not JIT, allows optional optimizations and C integration if desired.
Common enough in python libraries, it can be a huge speed boost if you use it right.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.