Sobre macaca, macaca-de-auditório, macacal, macacão, macacar, macacarecuia, macacaria, macaco, macacoa*, macaco-adufeiro, macaco-aranha, macaco-barrigudo, macaco-cabeludo, macaco-da-meia-noite, macaco-da-noite macaco-de-bando, macaco-de-cheiro, macaco-inglês, macaco-japonês, macaco-narigudo, macaco-patrona, macaco-prego, macaco-prego-do-peito-amarelo e TI.

segunda-feira, abril 27, 2009

Google Summer of Code 2009

I had a project accepted for Google Summer of Code 2009. I will work with Mozilla TraceMonkey trying to improve its register allocator.

“ TraceMonkey adds native‐code compilation to Mozilla’s JavaScript engine (known as “SpiderMonkey”). It is based on a technique developed at UC Irvine called “trace trees”, and building on code and ideas shared with the Tamarin Tracing project. The net result is a massive speed increase both in the browser chrome and Web‐page content. ”

This project has two mains challenges: To increase execution speed of compiled JavaScript by avoiding spilling and to produce better native code. Click here to view the project proposal.

As Google Summer of Code requirements, everyone has to use a blog to communicate with his or her mentor and other people involved. Instead of creating other blog I opted for using this old plain space. Speaking about mentors, Dave Mandelin will be my mentor (check out his blog to know more about TraceMonkey)

Fernando Pereira is another important piece of this project. Besides being my co-adviser here at LLP, he developed the Register Allocation by Puzzle Solving technique that I will code in TraceMonkey.

So, Join me this winter for coding!

Marcadores:

quinta-feira, abril 16, 2009

Besteirinha I

Como trocar o conteúdo de duas variáveis sem usar um temporário?

Assim:

a = a + b
b = a - b
a = a - b

Ou Assim:

a = a xor b
b = a xor b
a = a xor b

Apesar de divertido, usar uma variável temporária é bem mais barato.