quickjspp
proposal-logical-assignment
quickjspp | proposal-logical-assignment | |
---|---|---|
6 | 11 | |
269 | 260 | |
- | - | |
0.0 | 4.7 | |
about 2 years ago | almost 4 years ago | |
C | HTML | |
GNU General Public License v3.0 or later | MIT License |
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.
quickjspp
-
Alternatives for realtime offline-first JavaScript applications
I think that my Storage implementation that is built-in into JavaScript in QuickJS and Sciter is still unbeatable as an integrated JS Storage solution:
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
"custom version of React he publishes..."
It is not a a custom version of React but rather extension of DOM model by just these:
1. Native JSX support. In Sciter QuickJS was extended to support JSX literals out of the box: https://github.com/c-smile/quickjspp/blob/master/quickjs-jsx...
2. Native methods:
- Element.patch(...JSX expression...) - native VDOM reconciliation implementation.
-
Txiki.js: Tiny JavaScript runtime built with QuickJS and libuv
In fact 1.8 Mb is quite a lot for QuickJS.
Whole Sciter engine that includes as QuickJS as HTML/CSS engines is about 6 Mb.
My port of QuickJS [1] that also includes persistent storage (think of MongoDB built into JS) is 736 Kb on Windows.
[1] https://github.com/c-smile/quickjspp
-
Mongita is to MongoDB as SQLite is to SQL
I've added built-in persistence to QuickJS: https://github.com/c-smile/quickjspp/blob/master/storage/doc/introduction.md
-
Show HN: Svelte NodeGUI, a lightweight Electron alternative with native UI
I might go a little offtopic here. Any plans to integrate https://github.com/c-smile/quickjspp. That way you can target mobile platforms too. QT supports mobiles well
As for desktop only this is great. Great work. Many people are commenting on NodeGUI only. They have forgotten to mention how Svelte also contribytes to saving memory footprint and cpu cycles over other frameworks with a much easier way to write apps. Add a small learning curve to that.
-
What's new in ECMAScript 2021
I've added JSX to JS used in Sciter that allowed to have JSX available for Mithril and PReact
proposal-logical-assignment
-
Why doesn't JavaScript have a nullish-coalescing-assignment (??=) operator?
Part of ES2021: https://github.com/tc39/proposal-logical-assignment
-
A pipe operator for JavaScript: introduction and use cases
- &&=
And don't forget the strife around the Python "walrus operator" := [2]
[0] https://node.green/
[1] https://github.com/tc39/proposal-logical-assignment/
[2] https://realpython.com/python-walrus-operator/
- New features in ES2021
-
ES2021 Features! π₯
Logical Assignment Operators
-
New ES2021 JavaScript features (now available)
π Proposal
-
ES2021 Features
If you click thru to the linked TC39 proposal [1], you will find that the site author is also one of its "Champion"s - so you know makes sense they would be stoked about it.
Also, personally I find MDN content somehow unnecessarily dense, especially for beginners, and actually appreciate this kind of content. YMMV.
[1] https://github.com/tc39/proposal-logical-assignment
-
ES 12/2021 introduces new logical assignment operators
This this comment/discussion for more reasoning why deviating from this was deemed advantageous.
-
Upcoming JavaScript Features in 2021
Logical assignment (&&=, ||=, ??=)
-
What's new in ECMAScript 2021
Am I the only one who finds the comment confusing? According to the proposal, I think the better explanation would be: "assign b to a only when a is nullish" (considering that the value of b is assigned to a) .
-
ES 2021 Features
Yeah, that's it. You can check out more details in the (proposal document)[https://github.com/tc39/proposal-logical-assignment/].
What are some alternatives?
hermes - A JavaScript engine optimized for running React Native.
proposal-promise-any - ECMAScript proposal: Promise.any
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
proposal-numeric-separator - A proposal to add numeric literal separators in JavaScript.
svelte-nodegui - Build performant, native and cross-platform desktop applications with native Svelte + powerful CSS-like styling.π
v8-jsi - React Native V8 JSI adapter
just - the only javascript runtime to hit no.1 on techempower :fire:
sciter-js-sdk - Sciter.JS - Sciter but with QuickJS on board instead of my TIScript
mongita - "Mongita is to MongoDB as SQLite is to SQL"
pngsource - Embed Embed source code in png files
xgo - Go CGO cross compiler
daisyui - πΌ πΌ πΌ πΌ πΌ βThe most popular, free and open-source Tailwind CSS component library