RustTokioBenchmark VS glicol

Compare RustTokioBenchmark vs glicol and see what are their differences.

RustTokioBenchmark

Simple benchmark comparing tokio mpsc with standard rust one (by eras)
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
RustTokioBenchmark glicol
1 134
0 2,047
- -
2.7 7.9
about 2 months ago 2 days ago
Rust Rust
MIT License 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.

RustTokioBenchmark

Posts with mentions or reviews of RustTokioBenchmark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • 3 years of fulltime Rust game development, and why we're leaving Rust behind
    21 projects | news.ycombinator.com | 26 Apr 2024
    > If you ever pull up a debugger and step through an async Rust/tokio codebase, you'll get a good sense for what the overhead here we're talking about is.

    So I didn't quite do that, but the overhead was interesting to me anyway, and as I was unable to find existing benchmarks (surely they exist?), I instructed computer to create one for me: https://github.com/eras/RustTokioBenchmark

    On this wee laptop the numbers are 532 vs 6381 cpu cycles when sending a message (one way) from one async thread to another (tokio) or one kernel thread to another (std::mpsc), when limited to one CPU. (It's limited to one CPU as rdtscp numbers are not comparable between different CPUs; I suppose pinning both threads to their own CPUs and actually measuring end-to-end delay would solve that, but this is what I have now.)

    So this was eye-opening to me, as I expected tokio to be even faster! But still, it's 10x as fast as the thread-based method.. Straight up callback would still be a lot faster, of course, but it will affect the way you structure your code.

    Improvements to methodology accepted via pull requests :).

glicol

Posts with mentions or reviews of glicol. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-02.
  • Minimalistic Beat Maker
    1 project | news.ycombinator.com | 5 Jun 2024
    Nice to see new art work in browsers!

    Some comments pointed out that there are latency issues, which are mainly caused by tonejs. I used tonejs a few years ago for my first live coding project: https://quaverseries.web.app/

    Interestingly, I also used the same interactive rhythm prompts as op in the page title, but the timing was not accurate at all.

    Later, in order to refine my idea, I used rust and made https://glicol.org/.

    It basically solved the audio latency problem, and I also made js bindings: https://glicol.js.org/

    If you want to try it, you can give me feedback.

  • Python Notebooks for Fundamentals of Music Processing
    5 projects | news.ycombinator.com | 2 Jun 2024
    My most recommended method for beginners has always been PD (https://puredata.info/) combined with The Theory and Technique of Electronic Music: (https://msp.ucsd.edu/techniques/latest/book.pdf) and this book (https://mitpress.mit.edu/9780262014410/designing-sound/).

    Eli's tutorials on SuperCollider are also very helpful: https://www.youtube.com/@elifieldsteel

    Of course, my project Glicol can also be helpful for people to get some intuition on live coding in browsers immediately: https://glicol.org/

  • 3 years of fulltime Rust game development, and why we're leaving Rust behind
    21 projects | news.ycombinator.com | 26 Apr 2024
    I've worked on Ambient Engine and now on the Bevy engine. I totally agree with these points, very valuable. I only make some comments from my professional (audio) perspective:

    We need the highlight author's affirmation of cli. Rust's tui (ratatui) is great. I used it to make Glicol-cli [1]. If you are a Linux user, you are welcome to test the music production of the code.

    Speaking of game audio, I actually think rust is perfect for audio. I have also continued to develop Glicol recently, and my recent goal (starting tomorrow) is the bevy_glicol plug-in. I want to solve bevy's audio problem on the browser.

    All in all, even though I've had my share of pain with ecs, I still think rust is very valuable for game and app development, maybe not multiplayer AAA, maybe practical apps.

    [1] https://github.com/glicol/glicol-cli

    [2] https://github.com/chaosprint/glicol

  • Show HN: Render audio to HTML canvas using WebGPU
    5 projects | news.ycombinator.com | 15 Apr 2024
    Nice! Great project website styling and demo.

    I had a WebGPU scope demo using vanila JS here, but it's not connected to AudioContext at all.

    https://stackblitz.com/edit/vitejs-vite-cuc9vs

    Still, I had to use the old WebGL solution for https://glicol.org since the WebGPU support seems to be pretty slow at the moment.

  • AI-generated sad girl with piano performs the text of the MIT License
    2 projects | news.ycombinator.com | 11 Apr 2024
    Suno is great and I already shared its potential back in v2. I have always believed that the essence of digital music is "organized numbers". I think what needs to be thought about is how to use AI in this process. If you look at the results (numbers) generated, then we are indeed very close. But there is another future I believe: I hope AI can compose music with me, like copilot. This is why I keep working on

    https://glicol.org/

    and the destination is:

    https://github.com/chaosprint/RaveForce

    Also want to hear your feedback.

  • Strudel: A live coding platform to write dynamic music pieces in the browser
    7 projects | news.ycombinator.com | 3 Apr 2024
  • Velato: A programming language where source code must be a valid MIDI music file
    3 projects | news.ycombinator.com | 4 Mar 2024
    Interesting!

    Similar note-based expression can be found on TidalCycles/Strudel. although it's not valid MIDI format anymore, you can use notation like c4, f3, and make them as "pattern". Samples are also supported in the same manner:

    https://strudel.cc/

    And in my project Glicol, I use only numbers in the seq node. So 60 means middle C. Underscore means rest.

    https://glicol.org/

  • We were not accepted into Google Summer of Code. So, we started our own
    2 projects | news.ycombinator.com | 24 Feb 2024
    I also applied with Glicol (https://glicol.org/) and got rejected, which is totally understandable. I am basically working this project on my own with almost zero extra funding.

    I am currently working on a new website. The old stack is Vite, Svelte and Windi CSS (discontinued unfortunately). So this time maybe Astro + Solid + Tailwind.

    And I am also trying to rewrite the whole Rust backend if possible, so there is quite some work to be done.

    Let me know on GH or Discord if you are interested.

    It's a good chance to try Rust, WASM, DSP, etc.

  • My Sixth Year as a Bootstrapped Founder
    5 projects | news.ycombinator.com | 16 Feb 2024
    This is a really informative and inspiring article.

    It hasn’t been 6 months (not 6 years) since I quit my full-time job as a Rust developer to start my own business.

    As time goes by, I can feel the pressure of mortgage and car loans, and I can also feel the care and pressure of my family.

    My original plan was to make an interface for Glicol (https://glicol.org), and to develop relevant hardware with firmware written in rust for school education.

    I sent some cold emails to VCs, but most of them got no reply.

    I also sent an email to the Norwegian Museum of Science and Technology, offering to perform for children for free, but they didn’t reply for two months. I shamelessly sent it again, and someone finally replied with a rejection.

    Only one VC talked to me and thought that I should convince and validate a partner first, and he suggested that I go to an incubator.

    Very good advice.

    Later I learned that even Norwegian education startups skipped Norway and focused directly on the US market.

    People from the incubator also told me that it is impossible for Norwegian schools to accept new things independently.

    This is very enlightening to me because most of Glicol's visitors are indeed from the US. And it took me so long to discover this fact.

    But if I don’t start, I’ll never get past those six months.

  • How Programming Languages Got Their Names
    1 project | news.ycombinator.com | 8 Feb 2024

What are some alternatives?

When comparing RustTokioBenchmark and glicol you can also consider the following projects:

Sonic Pi - Code. Music. Live.

supercollider - An audio server, programming language, and IDE for sound synthesis and algorithmic composition.

kaleidosync - A WebGL Spotify visualizer made with Vue, D3, and Three.js.

vst-rs - VST 2.4 API implementation in rust. Create plugins or hosts. Previously rust-vst on the RustDSP group.

soundboard - Simple soundboard app with MIDI control

typebeat - Keyboard-controlled music sequencer, sampler, and synth

green-metrics-tool - Measure energy and carbon consumption of software

sioyek - Sioyek is a PDF viewer with a focus on textbooks and research papers

faust - Functional programming language for signal processing and sound synthesis

Milvus - A cloud-native vector database, storage for next generation AI applications

vite - Next generation frontend tooling. It's fast!

overtone - Collaborative Programmable Music

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