asciinema2gif
vt-clj
asciinema2gif | vt-clj | |
---|---|---|
1 | 2 | |
6 | 35 | |
- | - | |
10.0 | 10.0 | |
over 4 years ago | about 5 years ago | |
Go | Clojure | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
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.
asciinema2gif
-
4x Smaller, 50x Faster
Is there some tool like this that you could recommend? I tried searching for one at one time for my project, assuming someone must have written something like that for the script command, but didn't seem to be able to find a reasonable one (or any? I don't recall). I ended up writing an ad hoc single use tool for gif-izing an asciinema transcript... (https://github.com/akavel/asciinema2gif)
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
What are some alternatives?
asciinema-player - Web player for terminal session recordings
mobx-jsx - Raw MobX performance without being restrained by a Virtual DOM
asciinema - Terminal session recorder 📹
shadow-cljs - ClojureScript compilation made easy
git-branchless - High-velocity, monorepo-scale workflow for Git
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
Immer - Create the next immutable state by mutating the current one