RE: fagcommunity.rocks 11-30-2014, 07:05 PM
#61
(11-30-2014, 06:48 PM)dopamine Wrote: What you explained is .NET and Java. Please provide more proof. If this is the case then .NET and Java can also be counted as scripting languages but then this whole division of languages doesn't make any sense.
I have never been a .NET developer, and know nothing about how the language works. Java however... is both 'compiled' to a standalone binary compatible with its VM and 'interpreted' at run time. This is contrary to Python in that Python is still converted to bytecode which is run on a VM and interpreted by that VM, however there is no intermediary file or step between that process. If you say "put whatever", it will convert that python statement to bytecode that the VM understands, and then the VM will run it on the hardware by converting it to an opcode/opcodes.
So java will 'compile' it to byte code, where as python will convert it to byte code - but both languages are producing byte code that is then 'interpreted' by the VM which converts it to the machine language.
There is no perfect definition as they use hybrid technologies - but this is a far more accurate than stating "it's because they are interpreted" or 'must be translated to byte code'. Both of those languages are interpreted before being run on the machine however.
(11-30-2014, 06:48 PM)dopamine Wrote: What does Assembly have to do with knowing how every software works? I haven't looked at disassembly of php perl or python so I can't know how they work inside I just know that its a interpreter because that is the only way I know how to make such a thing like python or php.Knowledge of assembly requires knowledge of how the processor works. Knowledge of how the processor works should include knowledge of how compilation works. If you don't know how things are compiled i cant imaging you know how the processor works, and if you dont know how the processor works i cant imagine you understanding how to code in assembly or machine language.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)


lolol
haha cutest shit I have ever seen.