More languages in the Qt Project: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:


==Session Summary==
==Session Summary==
Follow up session from QtWS23 talk: https://qtinfo.dev/qtws23


The Role of language bindings in the future of Qt Ecosystem:
The Role of language bindings in the future of Qt Ecosystem:


- Current bindings - Python, Rust (KDAB), Java/Kotlin (QtJambi), Zig (QML) etc.
* Current bindings - Python, Rust (KDAB), Java/Kotlin (QtJambi), Zig (QML) etc.
 
* CXX-Qt
- CXX-Qt
** idea is to offload tasks to Rust rather than completely use Rust and QML. ie. only expose a subset
 
* Packaging
    - idea is to offload tasks to Rust rather than completely use Rust and QML.
** Maybe use QtCreator templates to create a tool like Cargo for Qt projects
 
** Update: From the vcpkg initiative by the build team, it can be combined.
      ie. only expose a subset
* ZIG
 
** has templates for new projects
Packaging
** can easily use C functions without FFI bindings
 
** fully supports cross compilation
- Use QtCreator templates to create Cargo crates in rust?
* CARBON
 
**time to look into other langauges to get into community
ZIG
 
- has templates for new projects
 
- can easily use C functions without FFI bindings
 
- fully supports cross compilation
 
CARBON
 
- time to look into other langauges to get into community


Having QML as a connector with many languages to Quick applications would be great, so we don't need to have full-blown bindings for languages, but just a middle layer. This needs the help of the QML team :D


==Session Owners==
==Session Owners==

Latest revision as of 14:44, 1 December 2023


Session Summary

Follow up session from QtWS23 talk: https://qtinfo.dev/qtws23

The Role of language bindings in the future of Qt Ecosystem:

  • Current bindings - Python, Rust (KDAB), Java/Kotlin (QtJambi), Zig (QML) etc.
  • CXX-Qt
    • idea is to offload tasks to Rust rather than completely use Rust and QML. ie. only expose a subset
  • Packaging
    • Maybe use QtCreator templates to create a tool like Cargo for Qt projects
    • Update: From the vcpkg initiative by the build team, it can be combined.
  • ZIG
    • has templates for new projects
    • can easily use C functions without FFI bindings
    • fully supports cross compilation
  • CARBON
    • time to look into other langauges to get into community

Having QML as a connector with many languages to Quick applications would be great, so we don't need to have full-blown bindings for languages, but just a middle layer. This needs the help of the QML team :D

Session Owners

Notes