Sabe aquele projeto de final de semana que você sempre quis fazer e nunca deu tempo ou prioridade? Nessa palestra, será mostrado como um projeto de final de semana chamou a atenção da comunidade no Github, como ele ajudou a compreender melhor o funcionamento interno do PHP e as melhorias de código que podem ser feitas para performance. E tudo isso jogando Game Boy em um emulador feito em PHP.
17. Java - 1991
James Gosling
Sun Microsystems
Originally designed
for interactive
television, but it
was too advanced for
the digital cable
television industry
at the time.
18. ECMAscript - 1995
Brendan Eich
Netscape
Standardized
specification of a
scripting language
for browsers.
57. OTIMIZANDO AO EXTREMO
Use o que o PHP te permite
fazer!
Opcode::run($this, 0x76);
…
$function = 'opcode'.$address;
return Opcode:$function($core);
…
Opcode::{‘opcode'.$op}($this);
58. PARA VER OS OPCODES
DE FORMA PRÁTICA
https://3v4l.org
70. This is important
because the install
command checks if a
lock file is present,
and if it is, it
downloads the versions
specified there
(regardless of what
composer.json says).
93. "when you create a lot
of objects that should
stay in memory. So GC
can't clean them up
and just wasting CPU
time."
O Composer já teve
problemas com isso.