JRuby
matplotlib
| JRuby | matplotlib | |
|---|---|---|
| 27 | 39 | |
| 3,857 | 22,140 | |
| 0.2% | 1.1% | |
| 9.9 | 9.9 | |
| 5 days ago | 4 days ago | |
| Ruby | Python | |
| GNU General Public License v3.0 or later | Python 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.
JRuby
- Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic
Are you aware of jruby?
https://www.jruby.org/
It is ruby running on a Java Virtual Machine. Imposes all downsides of the JVM (try to allocate more that 4GByte per object!) and provides JVMs concurrency model. Currently supports Ruby 3.1 (it claims to support 3.4, read the fine print if your specific feature is supported!)
- Java at 30: The Genius Behind the Code That Changed Tech
Another way to look at it based on coming across it in enterprise:
How did he build something adopted by so many enterprises?
It does some things at scale very well and has been afforded the performance improvements of very smart people for 30y.
It’s not to say the language isn’t verbose, one of my favourite features was the ability to write code in other languages right inside the a Java app pretty well in-line by using the JVM, thanks to JSR-223.
It was possible to write Ruby or Python code via Jruby or Jython and run it in the JVM.
https://www.jython.org/
https://www.jruby.org/
https://docs.oracle.com/javase/8/docs/technotes/guides/scrip...
- Calling Java from JRuby
- Shoes makes building little graphical programs for Mac, Windows, Linux simple
As someone who has looked at Shoes several times but never dove in, it's confusing how Shoes 4 has been the "preview version" of Shoes for, like, a decade or more. It made me actively avoid getting invested in Shoes 3 (the release promoted on the linked website) because Shoes 4 requires JRuby and I am happy with CRuby (the Ruby interpreter most people think of when they hear "Ruby").
https://github.com/shoes/shoes4/
http://www.rubydoc.info/github/shoes/shoes4
No disrespect to the developers but to me it feels like taking over a GUI toolkit created "to teach programming to everyone" (to quote the Shoes 4 readme) and making it depend upon a super-complicated enterprise-focused Ruby was sort of Missing The Point™ in a huge way.
Heck I couldn't even switch to JRuby if I wanted to because I <3 Ractors and JRuby still lacks CRuby 3.0 feature parity: https://github.com/jruby/jruby/issues/7459
- JRuby 9.4.2.0 released with many fixes and improvements
__callee__ now properly returns the name under which a method was called, which will be the new name in the case of aliased methods. #2305, #7702
- JRuby 9.4.0.0 Released, now supporting Ruby 3.1 and Rails 7
Issue tracker: https://github.com/jruby/jruby/issues
- JRuby 9.3.9.0 Released with stdlib CVE fixes
rdoc has been updated to 6.3.3 to fix all known CVEs. (#7396, #7404)
- JRuby 9.3.8.0 Released - with support for lightweight fibers!
Altering the visibility of an included module method no longer changes what super method gets called. (#7240, #7343, #7344, #7356)
- Golang in the JVM
It looks like the readme is copy pasta from jruby: https://github.com/jruby/jruby
- JRuby 9.3.4.0 released
Homepage: https://www.jruby.org/
matplotlib
- How to Get Started with Scikit-Learn: A Beginner-Friendly Guide to Machine Learning in Python
As is the case with most Python libraries, it is open-source and free-to-use, making it easily accessible by anyone willing to learn machine learning, and it is built upon other open-source libraries within Python, like SciPy for advanced scientific operations, NumPy for efficient numerical computations, Matplotlib for data visualization, and Cython for increased efficiency and speed, similar to that of C/C++.
- BUILDING DATA VISUALIZATION WITH PYTHON: A BEGINNER'S GUIDE TECHNIQUES
The source code for Matplotlib is located at this github repository https://github.com/matplotlib/matplotlib
- Using Rust to corrode insane Python run-times
Difficult to draw conclusions with no code here.
An interesting thing they didn't mention is that Matplotlib's point-in-path code is actually already in C. So this isn't really a case of Rust being X times faster than Python, it's X times faster than some other C algorithm. That's probably why X is only ~4 (they don't actually give a single-thread comparison), instead of ~50.
https://github.com/matplotlib/matplotlib/blob/cb487f3c077c93...
I expect the Rust code is faster because that code is waaaaay more complicated than what they probably need (https://stackoverflow.com/q/11716268/265521) - e.g. it handles stroke widths.
IMO this result is not very interesting.
- How and where is matplotlib package making use of PySide?
- Top 10 growing data visualization libraries in Python in 2023
Github: https://github.com/matplotlib/matplotlib
- Tkinter, PyGame windows too large on Mac
as suggested here.
- [OC] Attempted & Completed Suicide Rate in Canada, 1998/99
Tool: Matplotlib Pyplot
- Help unpickling an old dataset
The issue was described here: https://github.com/matplotlib/matplotlib/issues/8409, but the "solution" was just "this is fixed" which was not helpful to me.
- The Python Packages That Gave Me Nightmares: A Guide to Overcoming Common Challenges
Matplotlib: Matplotlib is a 2D plotting library that allows you to create visualizations of your data. It's a powerful tool for data analysis, but the syntax can be complex and the customization options can be overwhelming. GitHub - https://github.com/matplotlib/matplotlib
- pcolormesh very slow when using "log" axes
What are some alternatives?
Rubinius - The Rubinius Language Platform
PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications
Opal - Ruby ♥︎ JavaScript
plotly - The interactive graphing library for Python :sparkles:
MRuby - Lightweight Ruby
bokeh - Interactive Data Visualization in the browser, from Python