Top all-time · #1984
Woboq
Company blog · woboq.com/blog · on HN as guruzprogramming
Woboq is the company blog at woboq.com, writing about programming. Since 2011, 37 different Hacker News readers have linked it 80 times, most often “Verdigris: Qt Without Moc”. No feed was found, so read it on the site itself.
Woboq: C/C++ software development and consulting services. With or without Qt. Check out our Code Browser.
Most-linked posts?
- Verdigris: Qt Without Moc9 people · 9 mentions · first linked 2016-05-25
- Moc myths debunked5 people · 7 mentions · first linked 2016-02-26
- Integrating QML and Rust: creating a QMetaObject at compile time3 people · 4 mentions · first linked 2018-06-07
- Can Qt's moc be replaced by C++ reflection?3 people · 4 mentions · first linked 2014-03-11
- Woboq Source Code Browser Based on LLVM3 people · 3 mentions · first linked 2016-01-06
- Can Qt's moc be replaced by C++ reflection?3 people · 3 mentions · first linked 2016-01-13
- /blog/utf-8-processing-using-simd.html2 people · 2 mentions · first linked 2017-10-08
- How Qt Signals and Slots Work – Part 2 – Qt5 New Syntax (2012)2 people · 2 mentions · first linked 2017-01-26
- C++11 in Qt 52 people · 2 mentions · first linked 2012-06-11
- How Qt Signals and Slots Work2 people · 2 mentions · first linked 2022-03-20
What Hacker News says?
There was some effort to make it possible to use Qt without moc [0] and instead rely on some more modern C++ features. No clue where the effort is these days 0: https://woboq.com/blog/verdigris-qt-without-moc.html
Comment linking /blog/verdigris-qt-without-moc.html
on “Qt 6.0”Submitted Browsing C++ Source Code on the Web as a story · 95 points
HN discussionHm does anyone know of a web-based tool like this that uses Clang as a back end? I want to put open source code like the bash and Python interpreters in it and be able to navigate symbolically. And I want nice permalinks. EDIT: It looks like https://woboq.com/codebrowser.html is what I want. The code available but not under and open source license. https://github.com/woboq/woboq_codebrowser/ I will probably try this…
Comment linking /codebrowser.html
on “Show HN: Sourcetrail – Get productive on unfamiliar source code”Submitted Verdigris: Qt Without Moc as a story · 92 points
HN discussionAs of two years ago, there's a working solution, but so far the API is only covered partially. https://github.com/woboq/qmetaobject-rs https://archive.fosdem.org/2019/schedule/event/rust_cpp/ https://woboq.com/~olivier/fosdem2019_rustcpp/
Comment linking /~olivier/fosdem2019_rustcpp/
on “Rust 1.47”Submitted Verdigris: Qt without moc as a story · 80 points
HN discussionSimilarily, I made a couple of year ago a UTF8 decoder using SIMD. It is almost branchless. (The branches are there only to detect errors) https://woboq.com/blog/utf-8-processing-using-simd.html
Comment linking /blog/utf-8-processing-using-simd.html
on “A Branchless UTF-8 Decoder”Submitted Moc myths debunked as a story · 73 points
HN discussionThere is a possibility, but at the cost of uglier macros (since no reflection): https://woboq.com/blog/verdigris-qt-without-moc.html
Comment linking /blog/verdigris-qt-without-moc.html
on “Qt 5.10 released”Submitted Can Qt's moc be replaced by C++ reflection? as a story · 69 points
HN discussion> With Qt you get a lot of conveniences and built-in magic, but I'd say at that point it's not really regular C++. This is a common misconception of beginner Qt users or people who just looked at Qt superficially and decided not to use it, because it's not "regular C++". You use Qt with 100% pure C++. Qt itself is written in 100% pure C++. The part that confuses people is the metaobject compiler (or MOC). This is a…
Comment linking /blog/moc-myths.html
on “Qt for WebAssembly”Submitted C++14 for Qt programmers as a story · 60 points
HN discussionThere are many applications that still need the general purpose of CPUs while being vectorized See libjpeg-turbo, ffmpeg, crypto, hashing in general, ripgrep, simdjson, ... https://woboq.com/blog/utf-8-processing-using-simd.html See also: https://www.reddit.com/r/compsci/comments/4cq0ls/when_is_sim... If simd was obsoleted by GPUs intel & amd wouldn't keep introducing wider simd extensions
Comment linking /blog/utf-8-processing-using-simd.html
on “ARM MacBook vs. Intel MacBook: A SIMD Benchmark”Submitted Data initialization in C++ as a story · 58 points
HN discussionEspecially when used in the core/client split version, which allows you to use the webclient https://github.com/magne4000/quassel-webserver/ , the irssi-client https://github.com/phhusson/quassel-irssi , the iOS client https://woboq.com/iquassel.html , the Android client https://play.google.com/store/apps/details?id=com.iskrembile... or https://f-droid.org/packages/com.iskrembilen.quasseldroid/ , the new alpha of th…
Comment linking /iquassel.html
on “How to write an IRC bot”Submitted C++11 in Qt 5 as a story · 56 points
HN discussionThis might be interesting to you: https://woboq.com/blog/reflection-in-cpp-and-qt-moc.html
Comment linking /blog/reflection-in-cpp-and-qt-moc.html
on “Qt Licensing Changes”Submitted QWaitCondition: Solving the Unavoidable Race (2014) as a story · 38 points
HN discussionThe new syntax would not as type safety is being enforced at compile time. However the old syntax using strings is also available so if it is, then yes used the same preprocessor macro step will apply. Was reading to find answers to some of my own questions and found this link helpful regarding use of c++11 in Qt5 [0]. Use of c++11 features seems limited in the first release which makes sense. [0]: http://woboq.com/…
Comment linking /blog/cpp11-in-qt5.html
on “QT 5 launched by new owner, Digia”Submitted GPU drawing using shader effects in Qt Quick as a story · 23 points
HN discussionmoc can be replaced without reflection: https://woboq.com/blog/verdigris-qt-without-moc.html
Comment linking /blog/verdigris-qt-without-moc.html
on “Reflection for C++26”Submitted QStringLiteral Explained as a story · 17 points
HN discussionLambdas can be used e.g. with the new signal-slot syntax [1]. And yes, Qt uses the meta compiler, and it's hopefully going to stay that way as moc has a clear positive impact both on features and speed [2]. [1] https://wiki.qt.io/New_Signal_Slot_Syntax [2] https://woboq.com/blog/moc-myths.html
Comment linking /blog/moc-myths.html
on “Qt 5.6.0 released”Submitted New in Qt 5.5: Q_ENUM and the C++ tricks behind it as a story · 11 points
HN discussionSeems like it's matching Visual Studio :) - https://woboq.com/blog/qdockwidget-changes-in-56.html Awesome job Qt folks!
Comment linking /blog/qdockwidget-changes-in-56.html
on “Qt 5.6.0 released”Submitted Qt MOC myths debunked as a story · 10 points
HN discussionWith Qt you don't really have to deal with unexpected messages. A signal is triggered by an event, like a button click or a slider value changing, a checkbox being toggled, this kind of thing. A slot is just a place to receive it, it's a regular function or method with a compatible signature for the kind of event it's meant to process. There are no unexpected calls because you have to explicitly connect a signal to…
Comment linking /blog/how-qt-signals-slots-work.html
on “Ask HN: I'd like to practice coding GUI from scratch. Any recommendations?”Submitted Can Qt's moc be replaced by C++ reflection? as a story · 9 points
HN discussionRust Qt Binding Generator is for projects that contain Rust and QML or Rust and Qt widgets. The GUI code will be in the native language for Qt: C++ or QML. The data model underneath and any non-UI parts can be written in Rust. This approach was chosen because it's hard to wrap Qt Widgets (let alone QML) safely in a Rust API. Generating binding code is a very pragmatic approach that works now. You do not need externa…
Comment linking /blog/qmetaobject-from-rust.html
on “Todo example in Rust”Submitted Moc myths debunked as a story · 9 points
HN discussion