Re:The Qt Company Introduces a Unified Website
by jo_ on Tuesday September 16, 2014 @11:51AM
(#8325089)
Does Qt still do that thing where they reimplement a lot of the C++ standard components like Vector? I remember years ago having problems with their reimplementation and wonder how much that's changed.
[ Parent
| on HN ]
Re:The Qt Company Introduces a Unified Website
by eduardordm on Tuesday September 16, 2014 @12:03PM
(#8325168)
Yes, keep in mind that some platforms where QT runs do not have the library implemented, have suboptimal performance or is missing functionality. Also, binary compatibility is a big plus on QT.
A nice read about it: http://blog.codeimproved.net/posts/qtl-stl.html
Re:The Qt Company Introduces a Unified Website
by FigBug on Tuesday September 16, 2014 @11:58AM
(#8325140)
Yup, QList, QVector, QString. There are a lot of reimplementations. I tend to find them a lot easier to use than the C++ counterparts. What type of problems were you having?
Re:The Qt Company Introduces a Unified Website
by heeen on Tuesday September 16, 2014 @12:16PM
(#8325254)
QString is a proper unicode-aware string with conversions to many character codecs. It doesn't really compare to std::string.
Re:The Qt Company Introduces a Unified Website
by shmerl on Tuesday September 16, 2014 @05:10PM
(#8327138)
C++11 has better Unicode support than previous versions.
Re:The Qt Company Introduces a Unified Website
by heeen on Wednesday September 17, 2014 @10:27AM
(#8330103)
people don't seem too impressed with it though http://stackoverflow.com/questions/17103925/how-well-is-unic...
Re:The Qt Company Introduces a Unified Website
by jo_ on Wednesday September 17, 2014 @10:53AM
(#8330271)
Nothing impossible -- just integration with the standard library algorithms and some older source code I don't want to modify. It's less difficulty and more a matter of laziness.
Re:The Qt Company Introduces a Unified Website
by joshvm on Tuesday September 16, 2014 @04:21PM
(#8326864)
I agree. QList is great, it's got very straightforward methods and it's more than fast enough.
Re:The Qt Company Introduces a Unified Website
by skrebbel on Tuesday September 16, 2014 @02:51PM
(#8326278)
Yeps. It sucks when integrating libraries that use the STL, but otherwise they're actually much nicer in many ways. Simpler to use, at the cost of one extra pointer dereference - worth the reduced complexity and error-prone-ness, in many cases.
Re:The Qt Company Introduces a Unified Website
by superfunc on Tuesday September 16, 2014 @01:04PM
(#8325512)
Yeah. iirc, most of their data structures are COW which can be nice, depending on what your looking for. And, as others have mentioned, they often have a simpler, if less generic, API to them.