Re: [PHP-DEV] self-hosting (compiling context) PHP

2023-04-17 Thread Thomas Krüger
I guess Robert's idea is more like the "pypy" project for Python, which is a fast Python interpreter written in Python. So, there are examples of PHP interpreter/VMs written in PHP: https://github.com/ircmaxell/PHPPHP Best regards, Thomas Am 17.04.2023 20:21 schrieb Thomas Hruska: On 4/17/202

Re: [PHP-DEV] Official Preprocessor

2023-02-03 Thread Thomas Krüger
Hi, why not using the existing Typescript programming language and transpile it to PHP? :) There are community examples for doing that: "ts2php" https://www.npmjs.com/package/ts2php Maybe creating an own PHP transpiler for Typescript written in pure PHP (community friendly) would be an alter

Re: [PHP-DEV] LTO support

2022-03-12 Thread Thomas Krüger
In fact, it does not seem to work very well. Hi Go Kudo, I read about the LTO feature from GCC in the past, and in my opinion, LTO works have many years of improvement in the GCC, it works pretty good nowadays. But programmers of Open Source projects were really clever the last twenty years

[PHP-DEV] Question: What are requirements for having (new/old) functions within PHP core? :)

2022-03-07 Thread Thomas Krüger
Dear internal developers of PHP, I got a question after viewing the PHP sources for the core functions (ext folder) about the internal PHP functions written in C. On the one hand I have these core functions like soundex() or levenshtein() which seems to be part of PHP core and on the other ha