4 ms·
First of all, I wrote a block editor in QML[1] (the model in C++) that far outperform QTextEdit (part of Qt Widgets) at loading, scrolling and word-wrap resizin
by rubymamis 2y ago
First of all, I wrote a block editor in QML[1] (the model in C++) that far outperform QTextEdit (part of Qt Widgets) at loading, scrolling and word-wrap resizing of very large documents (think, War and Peace) *with* the additional cost of being a block editor that can include a Kanban board, images, etc. So saying QML isn't performant is incorrect.
Secondly, my knowledge about the internal build tools such as qmltc, qmlcachegen, and qmlsc is quite limited, but isn't qmlcachegen also compiles QML documents[2]? And don't forget that the built-in Qt Quick components are either compiled to C++ or written natively in C++.
[1] https://get-notes.com/ https://get-notes.com/
[2] https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#summary https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#summ...
- mappu 2y agoYour app looks really nice, I like the smooth animations in the web demo. A benefit of QML is that more of the rendering is done on the GPU, so the performance may differ depending on hardware. qmlcachegen produces only bytecode, not compiled code.
- rubymamis 2y agoThanks! > qmlcachegen produces only bytecode, not compiled code. Ho gotta. But I still wonder what's the additional performance boost qmlsc will give. I should test this some day. Btw, are you on some social site? X? Discord? Would love to say in touch.
- bmitc 2y agoDo you mind me asking if you work full-time on your app, or is it passive income? The drag and drop looks really nice! Do you have some hints as to how you accomplished that with QML?
- rubymamis 2y agoI used to earn passive income from its previous version, which is open source and is now a different project[1] by having ads on the website. It wasn't much but around $2000 a month semi-consistently across 5 years (sometimes more, sometimes less). A lot of traffic is coming from Google searches 20k-60k monthly (it varies). With Daino Notes I was hoping to focus on subscription more but since paid subscription isn't quite growing as much as I anticipated (although usage is quite high), I reenabled ads again. It doesn't quite cover the bills these days so I'm thinking about getting a job (if you know someone, HMU). > Do you have some hints as to how you accomplished that with QML? I'll publish a detailed blog post about the entire development journey very soon. You can hit me up on X (@mamistvalove) or Discord (@rubymamis) and I can send you a draft, if you like. [1] https://www.notes-foss.com/ https://www.notes-foss.com/