LogFAQs > #922489468

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, Database 5 ( 01.01.2019-12.31.2019 ), DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicFavorite programming language?
DevsBro
05/28/19 6:35:51 PM
#75:


mtkennerly posted...
@DevsBro posted...
You don't use PHP to write a program. You use it to define the implementation of a program (the server). That is to say, the server is its own program that consults your PHP code at a step in its own algorithms.


By that logic, couldn't you also say that C++ code defines the implementation of a program that will be created by the compiler? The compiler is a program in its own right that takes your code as input and creates an executable as its output. The only difference is whether a program reads your code in advance (compiled) or on use (interpreted). Not to mention that some languages support both - Python is interpreted in the CPython implementation, but there are alternative Python implementations like PyPy that use compilation, even though the Python code itself being compiled is the same as if you ran it with an interpreter.

I don't see how that's even a little similar. The server is its own program, which in addition to the logic defined by your PHP code, performs a variety of functions relevant to the use case of the end user, including loading files and scripts, handling messages passed over socket and parsing and forming HTTP messages.
---
53 LIII 0b110101
p16 0x35
... Copied to Clipboard!
Topic List
Page List: 1