Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Konstantin 馃敪
@konstantin@hachyderm.io  路  activity timestamp 3 weeks ago

qml before breakfast and other kinks

TIL: You can Ctrl+click into Kirigami definitions in Kate when the QML language server is running, look around and see how system-defined behaviours and layouts are working 馃槏

#KDE #Kirigami #Qt #IndieDev

screenshot from a code snippet showing the QML definition of a Kirigami component in the Kate editor
screenshot from a code snippet showing the QML definition of a Kirigami component in the Kate editor
screenshot from a code snippet showing the QML definition of a Kirigami component in the Kate editor
  • Copy link
  • Flag this post
  • Block
Tim De Jong
@tjadejong@mastodon.social replied  路  activity timestamp 3 weeks ago

@konstantin what are you building?

  • Copy link
  • Flag this comment
  • Block
Konstantin 馃敪
@konstantin@hachyderm.io replied  路  activity timestamp 3 weeks ago

@tjadejong For the moment, it's just exploration. I want to get a feel for the ecosystem (I'm using Rust + Qt/QML)

  • Copy link
  • Flag this comment
  • Block
Tim De Jong
@tjadejong@mastodon.social replied  路  activity timestamp 3 weeks ago

@konstantin how do you like rust? Heard the learning curve is quite steep. What stops me from learning it is the lack of classes, inheritance etc. I like Swift better in that aspect. Any reason why you鈥檇 prefer rust over swift in this case?

  • Copy link
  • Flag this comment
  • Block
Konstantin 馃敪
@konstantin@hachyderm.io replied  路  activity timestamp 3 weeks ago

@tjadejong
I love it :), Rust has been in my toolbox for quite some time.

Personally, I think since Swift 6 the scales have shifted and Rust is the easier language in terms of mental load. e.g. One year later, even Claude still can't write proper concurrent swift (even though it has the benefit of having ingested all the specs, all the evolutions, all the examples and all the blog posts) etc.

Swift is also an Apple product - ok choice if you're applying it to other Apple products, but not ok choice for independent work if you feel you may want to go in directions not currently blessed by Apple (and I've tried ;-) https://github.com/kkostov/QwiftUI)

I'm very "full stack, all the stacks" kind of person - switching languages is actually a lot of fun and I've learned it's ok to pick the "happy path" in every ecosystem. e.g. I wouldn't try to squeeze a full Rust app on iOS but I also wouldn't suffer through Swift on the server or some other platform where it feels somewhat alien... but that's of course a personal view, your mileage may vary ;-)

  • Copy link
  • Flag this comment
  • Block
Tim De Jong
@tjadejong@mastodon.social replied  路  activity timestamp 2 weeks ago

@konstantin I really love Swift, have seen quite a lot of other languages but I think Swift strikes a nice balance between complexity and performance. I do agree that it鈥檚 an Apple first language but have the feeling the situation is getting better on Linux. Also with some browser projects adopting it. I have been moving more and more to Linux and want to apply swift there. Haven鈥檛 done any serious projects there. Do I understand correctly you had some issues with QwiftUI?

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login