tag:blogger.com,1999:blog-7523589.post1118814820851724701..comments2024-02-20T19:17:55.835+01:00Comments on TSDgeos' blog: Symbian C++ sucksAlbert Astals Cidhttp://www.blogger.com/profile/12001470108926138921noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-7523589.post-34469427665171325182008-12-27T15:19:00.000+01:002008-12-27T15:19:00.000+01:00You say "RThreads/RArray" doesn't work :-(You say ...You say "RThreads/RArray" doesn't work :-(<BR/>You say "RThreads/std::list" doesn't work :-(<BR/>You say "pthreads/std::list" works!<BR/>But what about "pthreads/RArray"? or "pthreads/RConnection" as in my case? It doesn't work again! and here the RThread tip isn't useful :-(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-77299179821707608522008-12-21T21:04:00.000+01:002008-12-21T21:04:00.000+01:00Some answers: * No, i'm not porting kdelibs to S60...Some answers:<BR/><BR/> * No, i'm not porting kdelibs to S60, not enough time for that<BR/><BR/> * Thanks for the RThread sharing the heap tip, i wonder what's the usefulness of not sharing the heap by default<BR/><BR/> * No, C++ rocks if you use the correct tools (Qt/KDE for example)<BR/><BR/> * And yes, not something more complex than a Hello World, needs threads, but if you want to do asynchronous I/O it's almost a must.Albert Astals Cidhttps://www.blogger.com/profile/12001470108926138921noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-20775303562900041932008-12-21T20:40:00.000+01:002008-12-21T20:40:00.000+01:00I know nothing about Symbian, and little about C++...I know nothing about Symbian, and little about C++, but I disagree with your assertion that anything that is more complex than a Hello World requires threads. Threads are useful tools, but not something you need for every application on earth.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-45228618500165019092008-12-20T01:23:00.000+01:002008-12-20T01:23:00.000+01:00First word of title is superfluous...C++ sucks in ...First word of title is superfluous...<BR/><BR/>C++ sucks in most incarnations. Keeping to a sane subset of the jungle of possible suicide traps is a maniacs dance on the razors edge, only to be done by proper psychophats not considering the love of the future of humanity.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-52181902589342591032008-12-19T10:11:00.000+01:002008-12-19T10:11:00.000+01:00Probably too late now, but each created Symbian RT...Probably too late now, but each created Symbian RThread, by default, uses it's own heap, so you will run into problems with accessing objects from one thread that were created in another. The solution is to make all new threads share the same heap - consult the API docs for details :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-81317167311591557082008-12-19T05:23:00.000+01:002008-12-19T05:23:00.000+01:00I think that Nokia knows the solution: http://pepp...I think that Nokia knows the solution: http://pepper.troll.no/s60prereleases/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-14817832449244133282008-12-19T01:35:00.000+01:002008-12-19T01:35:00.000+01:00So you are porting kdelibs to Qt for S60 now? ;-)So you are porting kdelibs to Qt for S60 now? ;-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-68525306823183867942008-12-18T23:54:00.000+01:002008-12-18T23:54:00.000+01:00This comment has been removed by the author.Blackpawhttps://www.blogger.com/profile/04864473960328613683noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-20581111553424527422008-12-18T23:53:00.000+01:002008-12-18T23:53:00.000+01:00Yes it is that ba d- I feel your pain.A serious al...Yes it is that ba d- I feel your pain.<BR/><BR/>A serious alternative is Python, its been ported to symbian and is actively maintained by symbian themselves. There's good access to the symbian api and you avoid all the horribleness of symbian C++Blackpawhttps://www.blogger.com/profile/04864473960328613683noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-65511584033622766162008-12-18T23:05:00.000+01:002008-12-18T23:05:00.000+01:00Yeah i use a mutex i'm not THAT dumb :DNo idea how...Yeah i use a mutex i'm not THAT dumb :D<BR/><BR/>No idea how they did that but it's specified on their docs.Albert Astals Cidhttps://www.blogger.com/profile/12001470108926138921noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-86904883647953501162008-12-18T22:56:00.000+01:002008-12-18T22:56:00.000+01:00You mean, it crashes even if you synchronize acces...You mean, it crashes even if you synchronize access to the array ?<BR/>How did they implement this feature ?<BR/><BR/>AlexAnonymousnoreply@blogger.com