revery
proposal-slice-notation | revery | |
---|---|---|
2 | 15 | |
518 | 8,065 | |
0.4% | 0.0% | |
0.0 | 0.0 | |
5 months ago | about 2 years ago | |
HTML | Reason | |
MIT License | 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.
proposal-slice-notation
-
HypeScript: Simplified TypeScript's type system in TypeScript's own type system
> Switch statements
JS has had switch statements for a long time. Do you mean switch "expressions" that can be used inline? It's not pretty but JS has long supported that too using either eval() "hacks" or IIFEs: https://stackoverflow.com/questions/32451049/is-eval-the-onl...
Do you mean pattern matching? There are two Stage 1 TC39 proposals with different approaches to it:
More hands-on/direct: https://github.com/tc39/proposal-pattern-matching
More indirect: https://github.com/tc39/proposal-do-expressions
> list comprehensions
There are several libraries with strong Iterator support today that while not syntactically gorgeous do great jobs at allowing you to write simple list operations. Off the top of my head are IxJS and iter-tools, but also classic mainstays like up to date versions of lodash and Ramda.
There's a Stage 2 proposal to bring more of them into "the standard library": https://github.com/tc39/proposal-iterator-helpers
There's also a Stage 2 proposal for an operator to make the syntax generally nicer no matter the library: https://github.com/tc39/proposal-pipeline-operator
> array slicing
Array.prototype.slice() was added back in ES2015: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Array.prototype.at() was "just added" in ES2022 for unary "slice" (ability to use negative indexes): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
If you prefer syntax to function calls, there's a Stage 1 proposal still live for that: https://github.com/tc39/proposal-slice-notation
> better equality operators
That ship has probably sailed. Most projects at this point just have linter rules to standardize everything to the more reliable "triple equals" (===, and !==).
There are proposals for more structural equality functions in the standard library, though, for instance: https://github.com/tc39/proposal-array-equality
-
JavaScript Is Weird
Both are stage 1 proposals that I hope get in there some day.
https://github.com/tc39/proposal-slice-notation
https://github.com/tc39/proposal-pattern-matching
revery
-
Can't decide on a programming language for multiple reasons
OCaml has actually put some decent effort into good GUI libraries, such as https://github.com/revery-ui/revery.
- Revery – Native, high-performance, cross-platform desktop apps built with Reason
-
HypeScript: Simplified TypeScript's type system in TypeScript's own type system
I never tried CoffeeScript since nobody pays me for it, though I am curious about ReasonML as an alternative, there's a Neovim front-end[0] coded in Reason that compiles natively[1], and supports existing VS Code plugins from the VSCodium plugin repository[2] which I still have yet to look at how the heck they pulled that bit off, but it is pretty interesting.
[0]: https://github.com/onivim/oni2#introduction
[1]: https://github.com/revery-ui/revery
[2]: https://open-vsx.org/
- Is it just me who thinks cross platform dev is broken?
- Iced – A cross-platform GUI library for Rust, inspired by Elm
-
TfT Performance: Logseq
Maybe a technology like https://www.outrunlabs.com/revery/ would provide a better experience though it would require rebuilding the frontend, I presume.
-
Are you still looking forward to Onivim2?
It uses Revery which is still just javascript
- Clog – The Common Lisp Omnificent GUI
-
[Weekly] Many Musings Mondays
No, I can’t say I’m familiar with a mature, cross-platform GUI framework which exists today that is any good. I’m keeping an eye on Revery, though.
- Revery, An Electron.js alternative built on ReasonML
What are some alternatives?
Super-Template-Tetris - Tetris as a C++ Template Metaprogram
sciter-js-sdk - Sciter.JS - Sciter but with QuickJS on board instead of my TIScript
V7 - Embedded JavaScript engine for C/C++
wry - Cross-platform WebView library in Rust for Tauri.
proposal-array-equality - Determining Array Equality
react-native-macos - A framework for building native macOS apps with React.
coffeescript - Unfancy JavaScript
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
devtools-detect - Detect if DevTools is open and its orientation
Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
proposal-pattern-matching - Pattern matching syntax for ECMAScript
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine