Re: [PHP-DEV] Idea for PHP v7.x: Shared Opcode Cache

2016-05-02 Thread Mikael Lyngvig
Ok, thanks for the clarification :-) I guess an opcode cache server of some sort would be the only way to do this, listening either on a Unix socket og a TCP/IP socket. Probably not worth it anyway. I'm going to leave the list again as I just wanted to share my "brilliant" idea with you guys :-)

Re: [PHP-DEV] Idea for PHP v7.x: Shared Opcode Cache

2016-05-02 Thread Joe Watkins
Morning Mikeal, The memory that opcache uses is anonymously mapped shared memory, this cannot be shared across distinct processes, it is not backed by any file. Even if you were to back the memory with a file, the most efficient synchronization primitives that exists cannot be shared across

[PHP-DEV] Idea for PHP v7.x: Shared Opcode Cache

2016-05-01 Thread Mikael Lyngvig
Hi guys, I am working on and off on my own programming language, but knowing myself well, I know that this is just a hobby project that will never be finished. I have an idea for PHP7 that may or may not be relevant to you guys. I do code in C but I don't have the time to get deeply involved in