Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ogoffart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
ogoffart
3y ago
Slint developer here. Slint is under multiple licenses. The GPLv3 and also the Slint Royalty-free license. For desktop applications, The Royalty free license is actually less restrictive than the LGPL since you can do static linking and don
92.
▲
by
ogoffart
3y ago
With Slint ( https://slint.dev ) we're trying to make a lightweight toolkit that doesn't use HTML/CSS. And that you can program either from low level languages such as C++ or Rust. As well as with higher level langu
93.
▲
by
ogoffart
3y ago
Trying to do that with Slint: https://slint.dev No need to use compiled language like C++, still possible to use a language like JavaScript/TypeScript, just no need to bring a browser.
94.
▲
by
ogoffart
3y ago
Are you sure it was not a hedgehog?
95.
▲
by
ogoffart
3y ago
I'd like to take the opportunity to mention Slint: a new toolkit in the scene, is inspired by the spirit of Qt while aiming to address its shortcomings https://slint.dev
96.
▲
by
ogoffart
3y ago
That license explicitly allow mobile apps: > mobile phones are not considered to be Embedded Systems.
97.
▲
by
ogoffart
3y ago
You can do that with Slint ( https://slint.dev ) and its linuxkms backend. No need for a xorg server or wayland compositor, just run the application made with Slint from the init script.
98.
▲
by
ogoffart
3y ago
I agree that language usually associated to "native" apps are actually not so good to write desktop app business logic. Computer have become fast enough that higher level programming language (JavaScript, TypeScript, Python, ...)
99.
▲
by
ogoffart
3y ago
> they have a no-automation policy What's that? I have scripts that automate publishing of new release of my crates. And I think many projects have.
100.
▲
by
ogoffart
3y ago
The only reason I have my projects on Github and not on our self-hosted server, is because of the network effect of users having accounts that makes it easier for them to report bugs and contribute.
101.
▲
by
ogoffart
3y ago
This basically parse (at compile time) the __PRETTY_FUNCTION__ or equivalent in a function like template <typename Enum, Enum V> constexpr constexpr_string enum_name() {...} For all possible value of V from 0 to 256. This is
102.
▲
by
ogoffart
3y ago
I've been using the equivalent function in Rust for some time with great success. I think it's a good addition to C++ as well, and I'm looking forward being able to use C++23 for that kind of things.
103.
▲
by
ogoffart
3y ago
The challenge with toolkits confined to <canvas> rendering is their inability to effectively utilize the browser's integration with the OS. Key components like font rendering, input methods (including standard key shortcuts and b
104.
▲
by
ogoffart
3y ago
No. The native VSCode uses Electron/Chrome, but the web version of VSCode is (almost) the same frontend (HTML/JS) rendered with your browser instead of Electron/Chrome
105.
▲
by
ogoffart
3y ago
That's not as trivial because extension that uses node also use the fact that this is the same node instance that runs vscode itself and use vscode API to do "things". Other things it does is accessing the file system or netw
106.
▲
by
ogoffart
3y ago
I'm the author of rust binding for QML (the qmetaobject crate). The idea is that this is "safe" because your Rust code is safe, and QML is also supposedly safe. The implementation of QtCore/QtQuick is not your code to ma
107.
▲
by
ogoffart
3y ago
It has been over a year since we renamed the project. We previously had a note on every page with the former name. But the new website design no longer includes this note.
108.
▲
by
ogoffart
3y ago
Currently the default is just whatever empty value for that type (so 0 or "") But since this is something that was asked before, I created an issue: https://github.com/slint-ui/slint/issues/2936
109.
▲
by
ogoffart
3y ago
DSLs are not inherently more difficult to learn than API and conventions of a complex GUI library. DSL offer benefits in terms of expressiveness and conciseness. The focus in UI programming is on rapid iteration and immediate results, which
110.
▲
by
ogoffart
3y ago
You don't need c++ or rust if you want to work with JS. (although right now you will need a rust compiler to compile the binary, but we want to ship binaries in the future) We are considering a C interface, but given we already have a
111.
▲
by
ogoffart
3y ago
Correct text handling is indeed a challenging task, especially to get all keyboard shortcut to edit and input methods. While we strive to improve our text handling capabilities, we are not perfect yet. Slint does handle multi-line text and
112.
▲
by
ogoffart
3y ago
This was our aim with Slint
113.
▲
by
ogoffart
3y ago
A comprehensive toolkit like Slint is an enormous and ambitious task. We prioritize feature implementation based on user demand and needs. As of now, we haven't received any specific requests from users for the menu bar feature, but we
114.
▲
by
ogoffart
3y ago
Forks of your project do not require open-sourcing their code if they adhere to the terms of the royalty-free license, which include attributions and excluding usage on embedded devices. (Alternatively, they can get a paid license) > why
115.
▲
by
ogoffart
3y ago
We are not a charity and aim to operate on a sustainable development model. While we offer paid and GPL licensing options, we also provide a free-of-charge license that only requires attribution. If you are unwilling to provide even attribu
116.
▲
by
ogoffart
3y ago
Slint is already a viable alternative to Qt, as evidenced by users actively choosing us over Qt. While Qt is more mature in many areas with its two decades of development and large team, Slint is already good enough for some use cases. And
117.
▲
by
ogoffart
3y ago
We do have one line animations [1], we do have starter templates[2]. But not sure what you call "gorgeous". I 100% agree with the need of good designers. [1] https://slint.dev/docs/slint/src/referenc
118.
▲
by
ogoffart
3y ago
Thank you for your comment and feedback! I'm glad to hear that you have chosen Slint for your embedded UI framework and have been impressed with its design and ease of use. Feel free to post on Github for issues or discussions. I assum
119.
▲
by
ogoffart
3y ago
Just to clarify: are you talking about the image next to Desktop in https://slint.dev/use-cases#desktop-applications ? Indeed, we'll improve on that. Thanks for your feedback! For the story, we initially had screenshot
120.
▲
by
ogoffart
3y ago
Thank you for your comment! I acknowledge that the comparisons on our webpage footer is primarily for marketing and SEO purposes. This is inspired by the equivalent content on websites like figma.com. The intention is to highlight Slint
More ›