-
公开(公告)号:US09753697B2
公开(公告)日:2017-09-05
申请号:US14202809
申请日:2014-03-10
Applicant: Facebook, Inc.
Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
CPC classification number: G06F8/31 , G06F8/51 , G06F17/2247
Abstract: Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
-
公开(公告)号:US11210452B2
公开(公告)日:2021-12-28
申请号:US15690199
申请日:2017-08-29
Applicant: Facebook, Inc.
Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
IPC: G06F40/143 , G06F8/51 , G06F8/30
Abstract: Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
-
公开(公告)号:US20180004489A1
公开(公告)日:2018-01-04
申请号:US15690199
申请日:2017-08-29
Applicant: Facebook, Inc.
Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
CPC classification number: G06F8/31 , G06F8/51 , G06F17/2247
Abstract: Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
-
公开(公告)号:US20140196005A1
公开(公告)日:2014-07-10
申请号:US14202809
申请日:2014-03-10
Applicant: Facebook, Inc.
Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
CPC classification number: G06F8/31 , G06F8/51 , G06F17/2247
Abstract: Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
Abstract translation: 包含使用PHP语法的服务器端脚本代码的标记语言文档可以有效地执行,以响应服务器接收到的请求。 标记语言文档的处理导致产生响应于该请求返回的变换的标记语言文档。 将服务器端脚本代码输入到生成C ++代码(或基于C语言的任何基于对象的语言中的代码)的编译器,以实现服务器端脚本代码的功能。 C ++代码被编译成生成的对象代码,它被执行以处理标记语言文档。 生成的C ++代码包括PHP语言支持的功能,包括重新声明函数,动态变量,全局变量等。 生成的C ++代码调用分配和释放通过实例化生成的C ++类获得的对象的内存分配代码。
-
-
-