Tokamak
js-framework-benchmark
Our great sponsors
Tokamak | js-framework-benchmark | |
---|---|---|
22 | 64 | |
2,412 | 6,417 | |
1.4% | - | |
0.0 | 9.8 | |
5 days ago | 2 days ago | |
Swift | JavaScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tokamak
-
Writing Gnome Apps with Swift
https://github.com/TokamakUI/Tokamak
I’m also working (slowly) on native Flutter channels:
https://github.com/PADL/FlutterSwift
But this is really targeted at embedded use cases.
- Show HN: Tokamak – A Dependency Injection-Centric Server-Side Framework for Zig
- Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
- Swift Achieved Dynamic Linking Where Rust Couldn't
-
Apple overtakes Android to pass 50% share of smartphones used in US; dominates global premium sales
You can even make web apps by creating web components in swift with Tokamak.
-
JavaScriptKit help
I am playing around with Tokamak just for a bit of fun and learning, and it's been pretty solid so far! Though I want to branch out and play with some dynamic data from a random API, instead of just using mocked/pre-populated data.
-
Can you create applications for Ubuntu using Swift?
Yep, for imperative UI programming, there’s SwiftGTK which supports GTK 3 & 4 through gobject introspection, and for a more declarative paradigm, Tokamak has a GTK renderer, though it’s not as fully featured as SwiftGTK yet.
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
-
Is "import Foundation" always required in Swift code?
FWIW, there are people working on SwiftUI ports to other platforms, including on Linux backed by GTK
-
LibreOffice running natively in a browser via WebAssembly
I’ve been seriously impressed with Tokamak for Swift. Is this what you mean for browser native GUI?
js-framework-benchmark
-
Popularity is not Efficiency: Solid.js vs React.js
JavaScript benchmarks are instruments for measuring the speed and effectiveness with which a JavaScript engine—such as the ones found in web browsers—can complete particular tasks. Benchmarks are used by developers and browser vendors to evaluate various engines, find places in the code where improvements are needed, and make sure JavaScript standards are being followed.
-
Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
Strange then that frameworks advertise how fast they are at rendering, mutating, and creating objects in the DOM, and one of the main JS benchmarks everyone likes to measure their performance by is literally a benchmark about DOM manipulation: https://github.com/krausest/js-framework-benchmark
Oh wait. It's not strange. Because state manipulation is a largely solved problem, and even the least performant state manipulation is blazingly fast. However, presenting components in the browser's DOM is tens of magnitudes of orders less performant than anything you can throw at state manipulation.
And every single framework is busy solving one single problem: how do we touch the DOM as little as possible?
- Rust é uma linguagem que embora tenha uma curva de conhecimento considerável, entrega vários benefícios como segurança e produtividade, reduzindo consideravelmente a verbosidade
-
Imperative - 1.5kb React alternative using Generators
The standard benchmark for js frameworks would be best: https://github.com/krausest/js-framework-benchmark
- VanJS 0.11.10 Released: the world's smallest reactive UI framework just got 14 bytes smaller
-
Is this benchmark on Blazor correct?
I ran it locally and measured 70MB. I filed a bug for clarification: https://github.com/krausest/js-framework-benchmark/issues/1231
-
How does Blazor work in WebAssembly with respect to the GC/Runtime?
As far as performance between interpreted and AOT, Krausest’s JS benchmark project installs the wasm-tools workload for both, which will do runtime relinking whenever the project is compiled with the Release configuration. From what it looks like on the network traffic side of it, the IIS config they’ve got does not seem to include rewrite rules to serve the Brotli or gzip files and is pulling the uncompressed files at startup instead. I rarely use IIS and instead use Kestrel (Usually in a container that gets proxied from a nginx server) or nginx, so I could be wrong about that.
-
How to explain that vue.js isn't bloated?
Anyway you can counter with: https://krausest.github.io/js-framework-benchmark/ Vue is way ahead angular here.
What are some alternatives?
mikado - Mikado is the webs fastest template library for building user interfaces.
sycamore - A library for creating reactive web apps in Rust and WebAssembly
SwiftWebUI - SwiftUI with support for WebAssembly
yew - Rust / Wasm framework for creating reliable and efficient web applications
imba - 🐤 The friendly full-stack language
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
Svelte - Cybernetically enhanced web apps
solid-heroicons
Vapor - 💧 A server-side Swift HTTP web framework.
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
solid-router - A universal router for Solid inspired by Ember and React Router