RSS
 

Code from Hell #3

29 Jul

Thanks to a friend on IRC, we’ve got a new code from hell! He showed me a piece of code he stumbled upon. That’s one of the most brutal, brain-wrecked search methods one heck of an idiot could ever think of:
Read the rest of this entry »

Popularity: 27% [?]

 
 

Code from Hell #2

14 Jul

Ok, this is one of the rare diamonds I’ve found while browsing the code. The method binär (binary) is supposed to convert the given integer k into a boolean array of length Länge that represents the integer’s bit representation. Comments are filled in by me and I’ve left variable names untouched. A glossary can be found at the end of the post.
Read the rest of this entry »

Popularity: 39% [?]

 

Code from Hell #1

14 Jul

Ok, after browsing a shitload full of ugly code due to my bachelor thesis, I have to create some kind of vent for my frustration. The idea is simple: I’ll share my pain with all of you! No long talk, here is #1 (relevanteSubspaces is a BitSet):

1
2
3
4
5
6
for (int i = 0; i < relevanteSubspaces.length(); i++) {
	if (i < relevanteSubspaces.length()) {
		subspaces2[i] = relevanteSubspaces.get(i);
	} else
		subspaces2[i] = false;
}

Popularity: 40% [?]

 

Progress on Static Single Assignment Form

07 Jun

After some weeks of no progress at all, there’s finally some free time and progress again. I’m still reading some papers and making notes, but a fast and simple static single assignment form transformation is nearly ready!

Popularity: 42% [?]

 
1 Comment

Posted in C#, Compiler, MOSA

 

Multilingual

06 Jun

As you may have noticed, there’s been a minor change to the website. It’s now multilingual. From now on, I’ll try my best to keep this website multilingual (english, german, japanese). My japanese still may be a bit sloppy, but please forgive me for that. I’m still learning and progressing. You can now choose the language to read the blog in on the right side. Have fun!

Popularity: 29% [?]

 
No Comments

Posted in Personal

 

Project Cigarette

06 Jun

As of now, I’m going to try to quit smoking. It’s expensive, bad for your health, and I really don’t wanna do it anymore. While writing this, I’m already 48 hours without a cigarette! I’ll keep you updated on the success of this plan!

Popularity: 19% [?]

 
No Comments

Posted in Personal

 

Reaching the horizon of strings

18 May

Finally our Kernel Code looks much better, as thanks to grover (again), we can now use strings instead of char-by-char printing to the screen. Code now looks like this:


Popularity: 40% [?]

 

I can see strings at the horizon!

17 May

Our compiler is getting more and more string support gradually thanks to grover.
As of now we’re able to use constant strings (used by CIL opcode ldstr) in our AOT Kernel.
Feel free to take a look at his commit!

As soon as we’ll have complete string class support, we’ll be able to clean up the kernel code and remove all these silly hacks using char-by-char printing.


Popularity: 35% [?]

 

Java sucks!

14 May

Period!

Popularity: 33% [?]

 
 

Great Japanese App for iPod/iPhone

05 Apr

Yesterday I stumbled across a really great app for iPod/iPhone: Japanese Sensei.
It’s a tool for learning vocabulary, but not based on that damned SRS system that never really worked for me, but instead it is based on a slightly different system. The main part consists of lessons with 10 new vocabs in each lesson, accompanied by example sentences and audio! Read the rest of this entry »

Popularity: 33% [?]

 
No Comments

Posted in Japanese

 
 
Get Adobe Flash playerPlugin by wpburn.com wordpress themes