vt-clj
asciinema
vt-clj | asciinema | |
---|---|---|
2 | 104 | |
35 | 13,330 | |
- | 2.0% | |
10.0 | 9.6 | |
about 5 years ago | 3 days ago | |
Clojure | Rust | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
vt-clj
-
4x Smaller, 50x Faster
Perhaps, you should ask a question, why didn't the author reverse the question? Something like "How on earth was my implementation in a JITed language 50x slower on a warmed-up benchmark?" Where is the output of the profiler showing the exact bottlenecks? Of course, you can look at the repo and deduce some stuff, but it is a good habit to mention some key points about the environment such as compiler/ language/ browser versions, compiler settings, the hardware used etc.
Could he use more appropriate data structures? Could he avoid all the schema stuff that doesn't really improve the readability? Could he use better data structures later avoiding slow functions like update-in and migrating the bottlenecks to transducers and transients perhaps?
The author just did a rewrite and that is totally ok. He is trying things out and that is also quite alright. He provided some rather high-level benchmarks that would be really time consuming the reproduce and explain in more detail.
We have looked at the cljs code (e.g. https://github.com/asciinema/vt-clj/blob/master/src/asciinem...) with my colleague and it definitely isn't the best possible Clojure(Script) code around from a readability nor it seems performance standpoint.
To summarize, good that @sickill got a discussion going but it is best to step back and think about it in more depth. We all should apply more of this "extraordinary claims require extraordinary evidence" https://en.wikipedia.org/wiki/Sagan_standard
-
Asciinema rewrite from clojurescript to js&rust
This appear to be the source for the ClojureScript: https://github.com/asciinema/vt-clj
asciinema
-
How do people create those sleek looking demos for startups?
https://asciinema.org/
We use this for really nice terminal only demos. Highly recommend even though there are some minor rendering issues if you are using special fonts.
-
Asciinema 3.0 will be rewritten in Rust
Incorrect link. Just goes to the list of open requests.
Here is a ticket which mentor the rust rewrite, perhaps this was what was intended: https://github.com/asciinema/asciinema/pull/579
-
Ask HN: Who wants to be hired? (February 2024)
Location: Europe
Remote: Yes
Willing to relocate: No
Technologies: Rust, Elixir, Nix(OS), WASM, AWS
Résumé/CV: Available upon request
Github: https://github.com/ku1ik
Open-source: creator of https://asciinema.org, contributor and maintainer of many other projects (see Github profile)
Email: hnhire /at/ defn /dot/ 33mail /dot/ com
20 years of professional experience. I enjoy anything backend related, e.g APIs, profiling and solving performance problems, building high performance, low-latency network solutions, among many other things.
-
[2023 Day 8 (Part 2)] The slot machine way!
This might be a good usecase for https://asciinema.org/
- Asciinema: Record and share your terminal sessions, the simple way
-
Show HN: Hackreels – Animate your code in HD
I do quite a lot of this kind of stuff for my job. Some context that may be useful.
Often the full IDE is needed. I record a lot of gifs of VSCode, where part of the gif is typing code, part is interacting with the rest of the IDE / terminal - perhaps to run the code and view the output.
For me the killer app would be one which could pre-record keystrokes (and maybe mouse actions) so that I could do them error free. I often attempt a gif 10 times before I'm happy with the outcome.
I don't personally love the transition animation. I would want the option for something that seems like it's being typed.
The closest tools I've found are:
Typewriter VSCode extesion: Allows you to copy text and then "types" it out for you. https://marketplace.visualstudio.com/items?itemName=dansilve...
Ascii Cinema: https://asciinema.org/
- Short form video