Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-smile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
361.
▲
by
c-smile
6y ago
In what sense it is an alternative to ElectronJS? If size than not that much as Tauri is based on Node.JS that is 56 Mb executable by itself. Yet Node.JS is pure C/C++ code. It is not clear what does "written in Rust" mean at
362.
▲
by
c-smile
6y ago
That's Tesla as it was originally drawn by Mr. Musk. You know, tough childhood, all that.
363.
▲
by
c-smile
6y ago
1. Create minimal JVM and runtime with GUI primitives and compile it into .EXE 2. Create packager that concats class files (in JAR) of your application with that EXE. 3. Sign the exe. That's your monolithic application without external
364.
▲
by
c-smile
6y ago
TL;DR: there is no one silver bullet for the UI in general. As a rule practical and manageable UIs use all these approaches at the same time. Components, class based and/or functional (fe: UserSection, InventoryTable ), are in principl
365.
▲
by
c-smile
6y ago
For the note, Sciter ( https://sciter.com ) and Sciter.JS support inline vector images in its CSS. Instead of SVG and things like FontAwesome in 99% UI cases we use just these button { background-image: url(path:M 10 1
366.
▲
by
c-smile
6y ago
> A good idea would be to develop a simple vector graphics exchange format that is desigend to be easily processed by machines. As minimal in features as possible. Maybe JSON-based, definitely not XML-based. Just for the note, there is s
367.
▲
by
c-smile
6y ago
> Applications, especially desktop applications, are nothing like that. Seperations of concerns gains you very little there. I think you are making critical mistake here. IAccessible & Co. ( https://docs.microsoft.com/
368.
▲
by
c-smile
6y ago
Svelte compilations work in Sciter.JS ( https://github.com/c-smile/sciter-js-sdk ) as they are. And Sciter.JS is an embeddable UI engine for native applications so you probably don't need dedicated svelte-native
369.
▲
by
c-smile
6y ago
> classical RAD from the late 90s early 00s. RAD, a.k.a. UI-nailed-down-to-pixel-grid approach, has died immediately after we've switched from 640x480 pixel screens to variety of display and devices. If in doubts think about Adaptiv
370.
▲
by
c-smile
6y ago
Just in case: Sciter ( https://sciter.com ) and Sciter.JS ( https://github.com/c-smile/sciter-js-sdk ) allow to build native UI applications with HTML/CSS extended by native languages (C, C++, Rust, Go,
371.
▲
by
c-smile
6y ago
> HTML/CSS is an inevitable part of the ecosystem because the web is an important target. You did confuse cause with effect. In the first place Web accepted HTML/CSS/JS for the good reason - as a classic implementation of
372.
▲
by
c-smile
6y ago
Flexbox shall not exist. At least in the way it is defined. 1. It breaks CSS box model that postulates that "width" defines element width. With flexbox that is not so as width can be overridden by flexbox in non-trivial manner. 2.
373.
▲
by
c-smile
6y ago
Just in case someone interested. Mithril works as it is in Sciter.JS Yet this: JSX = m; // let's use Mithril as a driver of JSX expressions enables built-in and native Sciter's JSX extension to work with Mith
374.
▲
by
c-smile
6y ago
Let me try too :) Reactor - exactly 0kb (zero) ReactJS alternative built-in into Sciter.JS :) This https://github.com/c-smile/sciter-js-sdk/blob/main/samples.s... works in Sciter.JS as it is - without an
375.
▲
by
c-smile
6y ago
> but I wonder why there’s no library that uses both Sciter ( https://sciter.com ) uses both, as internally as on user's level. For example you may want to define this: var bodyElement = document.body; bodyElement
376.
▲
by
c-smile
6y ago
Record in resume: experienced kamikaze.
377.
▲
by
c-smile
6y ago
Sciter does not use WebKit - it is HTML/CSS/script engine by its own - implements essential parts of HTML5 and CSS needed to run desktop applications and popular web components and frameworks.
378.
▲
by
c-smile
6y ago
> Does that repo include all that's needed? Depends on what you really needed. The SDK includes everything that is needed to use Sciter in your apps. If you need its sources for whatever reason then you can request access to its sou
379.
▲
by
c-smile
6y ago
Yes. Check SQLite wrapper, used either statically linked library or a DLL. You can use C++ classes as they are, just need advertisement, SOM_PASSPORT_BEGIN/END : https://github.com/c-smile/sciter-js-sdk/blob&#
380.
▲
by
c-smile
6y ago
> Because compiling Qt (and QtWebEngine) is a very heavy operation, we would need to pre-compile and distribute Qt so that the Dockerfile could simply download and include it in the build process (rather than compiling as part of the ins
381.
▲
by
c-smile
6y ago
If your "tl;dr" would be true then there will be no difference between day and night ... 3600 times faster than that ...
382.
▲
by
c-smile
6y ago
> Sciter could be considered a competitor to Qt Quick Yes and no. Yes, it allows to create declarative UI. And no, not just declarative UI. It supports immediate mode graphics for example and use of native UI components including existin
383.
▲
by
c-smile
6y ago
Just in case, here is the same Sciter that happily runs on Windows 10 but on Windows 2000 in new application: https://sciter.com/necromancing-sciter-on-windows-2000/
384.
▲
by
c-smile
6y ago
Sciter ( https://sciter.com ) and Sciter.JS ( https://github.com/c-smile/sciter-js-sdk ) can be considered as alternative I think. Sciter supports same platforms as Qt and uses H/W acceleration (DirectX,
385.
▲
LinkedIn: “I'd like to join your LinkedIn network” but what for?
3 points
by
c-smile
6y ago
|
2 comments
386.
▲
by
c-smile
6y ago
Well, we have plenty of images already: <img>, <picture>, <figure>, <object>, <iframe> can be used for that purposes too. It is just unclear how <icon> is different from <img>. As of <include>
387.
▲
by
c-smile
6y ago
Very cool! Especially for the Sciter (and now Sciter.JS [1]) where we can use SVG paths directly in CSS as vector images: input.radio { background-image: url(path: M 4 8 L 10 1 L 13 0); background-size: 1em; stroke:
388.
▲
by
c-smile
6y ago
Well, HTML/CSS/JS apps can fit into 5mb size even they contain HTML/CSS/JS engine linked in. I've started publishing Sciter.JS builds to prove that: https://github.com/c-smile/sciter-js-sdk Tho
389.
▲
by
c-smile
6y ago
If Canvas means pixmap/bitmap (2D array of pixels) then unfortunately that's not enough in modern world. On high-dpi monitors you must use GPU to offload rasterization of drawing primitives from CPU to GPU. Otherwise the only job
390.
▲
by
c-smile
6y ago
> Does that mean open-sourcing Sciter is off the table for now Let's put it this way: I am still looking for options.
More ›