assembly VS starfx

Compare assembly vs starfx and see what are their differences.

starfx

A modern approach to side-effect and state management for web apps. (by neurosnap)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
assembly starfx
4 6
15 76
- -
9.5 9.2
22 days ago 20 days ago
C TypeScript
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

assembly

Posts with mentions or reviews of assembly. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.
  • Should you add screenshots to documentation?
    8 projects | news.ycombinator.com | 14 Dec 2023
    When you're learning something for the first time, it can be hard to know what mental model you need to have to be effective with the tool.

    Some documentation is reference material. With reference material you might navigate the reference material in a particular traversal to get what you need to do what you want.

    But at the beginning of your journey, you need to be taught a "flow" an expected pattern of operation to build up the right mental model of how an average session with the tool works. For programming this might be the edit file, compile, run, debug loop, or TDD or IntelliJ's build and deploy. Or a CI system commit, push, deploy, promote cycle. Or kubernetes kubectl edit, apply.

    I opened the "dining philosophers TLA+" example and ran it - this seemed to be an affordance of the TLA+ Toolbox GUI which was straightforward to understand.

    But then I tried to use the tool with my own. I interpreted the existing code of the dining philosophers and tried to make my own ringbuffer model.

    It took me a while that I needed to update this screen to put in the following details that I have filled in on the screenshot:

    https://github.com/samsquire/assembly/blob/main/screenshots/...

    You have to put your entrypoint in the "temporal formula" and then put your model arguments on the right hand side.

    I was able to piece together the operation of this tool by piecing together various reference details together, it wasn't until I saw that screenshot I referenced in my OP that I realised I needed to do that step to get the PlusCal code to update the TLC code that follows it. I was wondering why it didn't work until I saw that screenshot.

  • Fiber in C++: Understanding the Basics
    8 projects | news.ycombinator.com | 24 Sep 2023
    Thank you for this in-depth article.

    I am a less than a C++ beginner but I asked Stack Overflow how to run C++ coroutines in a thread pool. It seems coroutines in C++20 are unfinalised but don't quote me on that but I did get some sourcecode for older versions of the C++20 standard.

    I used Marce's Col's excellent blog post about how to create coroutines in assembly by adjusting the RSP pointer.

    https://blog.dziban.net/posts/coroutines/

    I extended Marce's code to run the coroutines in kernel threads:

    https://github.com/samsquire/assembly (see threadedcoroutines.S)

    I have been thinking of coroutines in terms of query compilation for database engines and the volcano query model and this article:

    https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html

    Tying together two pieces of code that call eachother in push or pull driven style is really powerful. Or if you're running multiple independent tasks that need their own state. This as I understand it is the original intent of object orientation that Alan Kay wanted and is represented by Erlang and partly Go.

    Specifically, I am thinking of compiler created coroutines where code can be interleaved at compile time rather than at runtime.

  • Philosophy of Coroutines
    7 projects | news.ycombinator.com | 1 Sep 2023
    Thank you for your ideas and thoughts.

    This might be relevant - I've been playing around with some assembly to unwind the stack, but it occurred to me I don't need to pop the stack to scan through it. So like C++ exception handling (I learned about it in the Itanium C++ ABI) or algebraic effects, you can scan memory if you have access to the stack start in memory (I do that by storing the rsp somewhere in .global main) in theory it's just data.

    I need to generate sections of lookup data for range information for associating .text code section addresses with function names.

    In theory this would also be useful for coroutines since a coroutine position/state is just a program counter position of code that you can JMP to in your yield function (that isn't a call but an offset)

    To move a coroutine from one thread to another or another machine over the network or persist to disk, let me think. We could do what C++ coroutines does and have a promise struct object that is presumably on the stack when a coroutine resumes by jumping to that coroutines location.

    I think the hard part is being stackless and persisting the current coroutine state. You could mov $COMPILER_DETERMINED_OFFSET into -10(%rbp) that promise object and then when the coroutine resumes it does a JMP -10(%rbp) in a label before the coroutine body.

    I am a beginner to assembly programming but here is my program: https://github.com/samsquire/assembly/blob/main/stackunwind....

  • Let's write a setjmp
    4 projects | news.ycombinator.com | 12 Feb 2023
    https://github.com/samsquire/assembly/blob/main/coroutines.S

    This might be useful to someone who wants to port this to C. This uses the stack switching idea. So they are stackful coroutines.

    There's also Tina a header only coroutine library

starfx

Posts with mentions or reviews of starfx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • FastUI: Build Better UIs Faster
    12 projects | news.ycombinator.com | 1 Mar 2024
    Ah! A real criticism of FE development, I agree with your problem statement.

    When you jump into the world of single-page applications, things get complex pretty quickly, because the use case for needing an SPA pushes the web app into a full desktop application.

    Ultimately, for a highly interactive and dynamic "desktop-class" user experience, there is added complexity. I think that's why so much movement within the FE world has moved away from "SPA for everything" and into these mixed dynamic apps. Islands, React Server Components, NextJS, they all help create a middleground between a document-based website with no dynamic elements with a full blown desktop app experience. They all have real tradeoffs, in particular adding an entirely new backend service to serve the front end.

    For many projects, react + react-query is probably enough.

    Having said that, my argument from https://bower.sh/dogma-of-restful-api still stands: when you build an API that is RESTful (1:1 mapping between endpoint and entity) you are unknowingly pushing the complexity of data synchronization to the FE, which requires a well thought out ETL pipeline.

    This probably doesn't help my case but I've been building a simplified middle-layer for react to bridge the gap between react-query and full blown SPA: https://starfx.bower.sh

  • Show HN: Starfx – A modern approach to side-effect and state management in UI
    3 projects | news.ycombinator.com | 1 Mar 2024
  • Effection 3.0 – Structured Concurrency and Effects for JavaScript
    3 projects | news.ycombinator.com | 18 Dec 2023
    `redux-saga` maintainer here.

    I've been using `effection` to build a replacement for `redux-saga` over at https://github.com/neurosnap/starfx

    Effection has demonstrated to me how truly powerful delimited continuations are and why structured concurrency is an incredible asset for anything that requires async flow control -- basically everything in TS/JS.

    I know sometimes it's hard to imagine why someone would need structured concurrency or care about delimited continuations for a front-end application, but this is a game changer in terms of expressing async flow control.

    Some things to note about Effection:

    - API surface area is small https://github.com/thefrontside/effection/issues/851

    - It tries to stay as close to JS constructs as possible so it will feel very familiar

    - Resource cleanup is automatic (when a function passes out of scope all descendent tasks are shut down automatically)

    - End-user doesn't need to think about delimited continuations

    The only leap users need to "deal with" coming from async/await is the syntax.

        import { main, call } from "effection";
  • Internals of Async / Await in JavaScript
    5 projects | news.ycombinator.com | 1 Sep 2023
    - https://github.com/thefrontside/continuation

    - https://github.com/thefrontside/effection/tree/v3

    - https://github.com/neurosnap/starfx

    The last one intends to replace redux-saga using DCs.

    Here’s a presentation I gave recently talking about DCs in typescript: https://youtu.be/uRbqLGj_6mI?si=XI0JNMKMoO2VHMvM

  • Philosophy of Coroutines
    7 projects | news.ycombinator.com | 1 Sep 2023
    A couple of us have been experimenting with deliminited continuations and I think it’s gonna take off soon:

    https://youtu.be/uRbqLGj_6mI?si=kgKKjpCnehJ9bpIG

    https://github.com/neurosnap/starfx

  • Observable API Proposal
    6 projects | news.ycombinator.com | 28 Jul 2023
    I feel the same way which is why I decided to help maintain the project. Async flow control is very tricky even in js–land. Having watchers live inside of a while-loop is a powerful construct that lends itself to interest flow control patterns.

    I'm also in the process of rebuilding redux-saga but without the redux part: https://github.com/neurosnap/starfx

    It's still in alpha stage, but it is very reminiscent of redux-saga.

What are some alternatives?

When comparing assembly and starfx you can also consider the following projects:

continuation - Delimited Continuations for JavasScript

effection - Structured concurrency and effects for JavaScript

context

proposal-async-iterator-helpers - Methods for working with async iterators in ECMAScript

libcommon - Library of reusable C++ code

stack-switching - A repository for the stack switching proposal.

kal - A powerful, easy-to-use, and easy-to-read programming language for the future.

cgreenlet - Coroutines for C/C++

pyapp - Runtime installer for Python applications

observable - Observable API proposal