python-goto
observable
python-goto | observable | |
---|---|---|
8 | 9 | |
1,240 | 516 | |
- | 1.7% | |
0.0 | 8.2 | |
about 3 years ago | 2 days ago | |
Python | Bikeshed | |
The Unlicense | GNU General Public License v3.0 or later |
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.
python-goto
-
You Don't Need to “Learn” Svelte: Embracing the Simplicity of JavaScript
Goto is control flow. You can’t do control flow with function calls in the sorts of languages we’re talking about, so goto has to be built into the language, typically as a statement.
(In some of these languages you can do awful hacks like using hooks intended for debuggers <https://entrian.com/goto/> or rewriting bytecode <https://github.com/snoack/python-goto>, and frankly what Svelte does is quite similar, just implemented as a compilation step rather than at runtime.)
- after a launch on Reddit, the project only got 2 stars on GitHub. How is that even possible? The answer is the README isn’t flashy enough.
- So what should I use then?
-
Hacker News top posts: Sep 21, 2021
A function decorator that rewrites the bytecode to enable goto in Python\ (70 comments)
- A function decorator that rewrites the bytecode to enable goto in Python
- A function decorator that rewrites the bytecode to enable goto
observable
- Proposal: Signals as a Built-In Primitive of JavaScript
-
What We Need Instead of "Web Components"
> especially since Observables have been widely available and actively worked on for a long time, without seeing wide adoption
Take a look at "Userland libraries" section [0] of the proposal (almost certainly written by Ben). He argues that observables get reinvented in the userland in various libraries over and over again. It is a primitive, like a Promise, only better.
[0] - https://github.com/WICG/observable?tab=readme-ov-file#userla...
- Observable API Proposal
- Observable API proposal
-
You Don't Need to “Learn” Svelte: Embracing the Simplicity of JavaScript
Perhaps this falls into the repetitive boilerplate category you referred to, but if you want framework-agnostic domain objects that still work well with Svelte, create your own using the observer pattern.
Create an object with a subscribe method and whatever other methods make sense for updating its state. Svelte will treat it like one of its stores, and it will work with the $ syntax. It can be used with React via its `useSyncExternalStore` hook. It can be used with SolidJS via its `from` utility.
If you don't want to handle the set-up boilerplate, you could use another library like Effector or RxJS, but of course, that means another dependency. There is a gradual move to make something like this a part of the platform[1], but who knows when or if it will land.
[1] https://github.com/domfarolino/observable
What are some alternatives?
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
starfx - A modern approach to side-effect and state management for web apps.
pex - A tool for generating .pex (Python EXecutable) files, lock files and venvs.
proposal-async-iterator-helpers - Methods for working with async iterators in ECMAScript
theatre - Motion design editor for the web
proposal-observable - Observables for ECMAScript
ruby-packer - Packing your Ruby application into a single executable.
BrightFutures - Write great asynchronous code in Swift using futures and promises
plusplus - Enables increment operators in Python using a bytecode hack
Reactor - Powering your RAC architecture
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
bruh - The thinnest possible layer between development and production for the modern web.