Tuesday, November 27, 2007


Today Google annouced on press conference starting of iniciative called RE<C. RE in name is for energy from renewable sources [like solar energy, wind energy and geothermal energy], C is for energy from coal, symbole < is to show that goal of this initiative will be to provide cheaper energy from renewable sources then from coal.

It's amazing that Google starts this initiative, but it very optimistic :-) By last years Google make big progress in search, AI and other computer related technologies, for now they give a chance to increase results in field of renewable energy. I don't know why but I feel that it may be also source of some changes in physics ;-)

My comment to this initative - it's cool!!! :-)

Similar postsbeta
Sources of JPC - x86 emulator in Java
Why it isn't working???
Correlation between traffic and time spent at work ;-)
Recursion is evil ;-)
Which language is fastest? ;-)

Yeah... It's snowing... again....

Last night when I back to Cracow from my home (Wodzislaw) I was hope that I won't see any snow by next week or two.... I was wrong ;-)
This white ugly thing [I won't curse it because I cannot do it in English ;-)] is everywhere... again everywhere... thanks to this today after work I needed to clean my car from this.... blah...

Similar postsbeta
Really first snow ;-)
Blah... ugly API ;-)
Roomba friendly furniture...
OpenOffice.org2GoogleDocs 0.9.1
Buffy and Angel on DVD in Poland :-)

Sunday, November 25, 2007

My dream - to create JVM in Java :-)

I really like idea of mentioned in my previous post x86 emulator in Java - JPC.

This reminded me that I always wanted to create Java Virtual Machine in Java :-)

Using weekend I made first attempts and it isn't easy ;-)

I use Java Virtual Machine Specification and try to implement some piece of code for handling CLASS files, and for now I'm during tires of handle constant pool....
In theory I try to use TDD but without success ;-)

As I wrote it's not easy....

Similar postsbeta
Sources of JPC - x86 emulator in Java
Complains ;-)
How many i 1+1 in Java? ;-)
Programming languages uncanny valley ;-)
CallLoger ;-) Invigilate yourself ;-)

Sources of JPC - x86 emulator in Java

I wrote some time ago on my blog about JPC - PC emulator written in pure Java.
From this time creators of JPC make theirs product open source and published sources.

Analyze of sources is realy interesting :-) We may see how in high level language are described computer parts.
CPU in general is a big SWITCH with amazing number of CASEs, one for each of opcodes. CPU instructions are coded in 1-5 Java lines. This makes code reading realy easy, and gives oportunity to understand how works all opcodes [thanks to this for the first time I start to understand how LEA instruction works :-) when I wrote in assembler I never can get it :-)]

I think that those sources are worth to see :-)

Maybe thanks to this somebody will try to port JPC on some PDA ;-)

From similar projects I think worth to mention is IKVM - JVM written in C# for .NET :-) [but sources aren't so nice to read as for JPC ;-)]

Similar postsbeta
My dream - to create JVM in Java :-)
Which language is fastest? ;-)
Coding time means often waiting/reading time ;-)
4 steps of evolution of programmer ;-)

First and I'hope not last entry

On this blog I will try to put entries from my main blog written in polish.
For now I may suppose that this blog will contains only some of original entries, mainly from IT ans SCI.

Similar postsbeta
Blah... ugly API ;-)
Just testing my new Android app for blogging on Blogger :-)
OpenOffice.org2GoogleDocs 1.0.3
Sources of JPC - x86 emulator in Java
OpenOffice.org2GoogleDocs 1.3 beta 1 - update documents on Google Docs