Let's say you are developing on a Symbian phone. You are creating something more complex than a "Hello World" app so you need threads.
You create a RThread, and inside that thread you append things to a RArray (dynamic array) and then from the main thread you want to retrieve them.
NO! You can't! Accessing elements of a RArray from two different RThreads is not allow and it'll crash on you.
Ok you think, they just ported STL to Symbian, let's use a std::list, and NO! It'll crash even earlier.
So you are about to throw the phone across the window, but then you think, wait the also ported some POSIX things to Symbian, and try pthread and it suddenly works and you realize how simple things can be a nightmare when using weird tools/SDK, that's why Qt rocks it gives you almost all you want in a practical API, and when something is missing KDE adds the missing bit.
A blog about random things and sometimes about my work translating and developing KDE and anything
Thursday, December 18, 2008
Symbian C++ sucks
Publicat per Albert Astals Cid a 8:46 PM 11 comments:
Sunday, December 14, 2008
Akademy-es 2008 videos
Akademy-es 2008 videos are starting to appear under the Akademy-es 2008 schedule page. GPUL people recorded all talks so with some time all the talks should have the video available.
Publicat per Albert Astals Cid a 10:45 PM No comments:
Etiquetes de comentaris: akademy-es, video
Friday, December 12, 2008
Talks at Termens
This sunday Aleix and me are doing a talk about KDE in general and another about KDE-EDU at Termens. The talks start 11 and will be held at the Termens Lan Party, i'm not sure if people not registered at the party can listen to the talks, but if you want to come don't hesitate to contact the organizers and tell them you want to drop by and i don't think there will be any problem.
Publicat per Albert Astals Cid a 12:44 PM No comments:
Subscribe to: Posts (Atom)