General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
IgorTheLight
Computerphile
comments
Comments by "IgorTheLight" (@igorthelight) on "Just In Time (JIT) Compilers - Computerphile" video.
"and there wasn't any way of emulating the PS3, or Xbox360 yet" - so what about RPCS3 and Xenia?
3
@pierrefley5000 Fair point!
3
Java is compiled to bytecode than JIT'ed. JavaScript is interpreted and then JIT'ed Python is just interpreted. It can be JIT'ed using PyPy.
2
It does!
2
"A JIT executable is not machine code, and it’s not the original script. But it’s been converted to a more optimized code that can be interpreted much faster then traditional" - That's .NET ;-) C# compiles to IL (optimized or not - how you want). Then IL would be JIT'ed at runtime and be optimized even more!
1
True. But the process of JIT'ing takes a lot of resources. So JIT is more useful on older CPUs but also "warm up" time is longer.
1
Maybe in Ruby JIT compiler is just bad? So that's not the problem with language itself (most likely).
1
Thanks!
1
Not JIT, but some runtime optimizations, as far as I know. PyPy is still WAY faster ;-)
1
If your program just do one thing and terminates - static compiler ALWAYS would be faster. But if your program is more like a microservice or a game - JIT may make it pretty fast and even faster than static (but NOT faster than static compilation with PGO).
1
Random information: C# is not dynamically types by default but you could use type "dynamic" and write something like this: dynamic a = 5; a = "five";
1
Well... Today prices are bigger. But there are pretty well paid jobs too ;-)
1
@StephenGillie Is it well paid? If no - learn something new and try another job ;-) Life is a constant improving, constant moving forward! (actually, I have to remember that too xD)
1
He mean that any language could be interpreted, compiled or JIT'ed. To make Python compiled instead of interpreted, you should compile it to binary. You couldn't just keep using *.py source files anymore ;-) To do that use Cython to generate a C source file and then compile it using any C compiler. The easiest way to do that is using Nuitka
1
@sainansama In source code or as user input? I thing - second. So, basically, make a program which could do things like: eval(2 + 2) // that's easy! or eval(new String("I like number 2")) // That's harder but C# could generate code in runtime so I think it's not that impossible But your program would be like an interpreter itself ;-)
1
@sainansama Fair point!
1
And Julia ;-)
1
Maybe task is not intensive enough?
1
@hoagy_ytfc Agree! Maybe drivers are still bad for little/big cores.
1
@vishesh0512 True but as a developer you know what is expected to be there ;-) Name would be a string and age would be an integer. If it's not - there is a problem already, no matter is your types dynamic or not. In most cases xD
1
But how much time those small team needed to create their first working version? ;-)
1