dinsdag 7 juni 2011

@DeduXion is almost founded!

Hey everyone

I'm happy to announce that our start-up firm "DeduXion" is almost founded.
DeduXion will be a company that will make software for small and medium-sized construction companies to support their paperwork and inventory systems. We already created some modules in Java for our internship at a construction company, but realized that there could be a bright future in front of us if we actually sold the products.

We just have to fill in some papers and contracts and we're good to go. I'll be keeping you posted on projects and findings. We're going to use some agile developing techniques that seem to be quite effective for smaller IT-companies.

Hope to see you soon!

woensdag 13 april 2011

[Java] Start Amount of Threads depending on Available Cores

Parallel threading depending on Amount of Cores

Here's a small snippet to keep in mind when you're programming and you've got to do some parallel computing.


static void test() {
int n = Runtime.getRuntime().availableProcessors();
System.out.println(n);
for (int i=0; i<n; i++) {
Thread(new Runner()).start();
}
}

It's not recommended to start your threads like this (I'd suggest an ExecutorService for it), but it's something to remember ;)

Qkyrie