Microbenchmarks

Microbenchmarks comparing the Julia Programming language with other languages (by JuliaLang)

Microbenchmarks Alternatives

Similar projects and alternatives to Microbenchmarks based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Microbenchmarks alternative or higher similarity.

Microbenchmarks reviews and mentions

Posts with mentions or reviews of Microbenchmarks. We have used some of these posts to build our list of alternatives and similar projects.
  • Romeo and Julia, Where Romeo Is Basic Statistics
    1 project | news.ycombinator.com | 15 Mar 2024
    > Every language I've ever seen with garbage collection has gone through decades of "now the garbage collection is better" or "just wait until the next version, garbage collection will be better".

    Ok but the Go example I linked is already in production, right now, you can use it. This isn't a "it will get better in two releases" situation, Go's GC as of today has pause times that are sub-millisecond. The Java Shenandoah example I linked is still mostly in beta, but it's also something you can use right now, though admittedly it'll probably be awhile before it's in a mainline release.

    > This is besides the point of performance and no longer talking about reality, it's just FUD from a "what if" future.

    It's not "just FUD", there are dozens of reported security issues that have happened because of bad manual memory management problems. Off the top of my head, Heartbleed was a famous case.

    This isn't me badmouthing anyone; manual memory management is hard to get right, even for very smart people.

    > Right, but you get it by avoiding allocation and avoiding the garbage collector the same way avoiding allocation in C++ is important, but in julia it won't be woven in to the performance, it will cause big pauses.

    Fair enough, I did look at the code for the official benchmarks (https://github.com/JuliaLang/Microbenchmarks/blob/master/per...) and outside of the integer parsing code it does indeed seem to avoid dynamic allocations so I will concede that the benchmarks might be a bit more skewed compared to real-world code.

    I still get a hunch that if you compared it allocation-heavy Julia to malloc+free-heavy C++ the differences wouldn't really be that far off, but that's just a hunch and I don't have data to back that up; might be a fun test to write though, so maybe I'll try that this weekend.

    -----

    Sort of tangential, but I also do think that there's value in having decent concurrency constructs built into the language. With C++, if you stick to built-ins you are basically stuck with mutexes and despite what people like to pretend, getting correct code with mutexes is really really hard to get right, and very easy to screw up in a non-obvious way. If you allow yourself to use libraries, then you have stuff like ZeroMQ and OpenMP and stuff, so it's really not that dire realistically. However, I think there's value in having nice, easy to use concurrency constructs in the language other than mutexes, and I do wonder if as a result of that it encourages people to utilize multiple threads more frequently, because they don't have to worry about weird deadlock situations as much.

    Again, I believe Rust actually does address this because of the single-owner-enforced-at-compile-time stuff, but I haven't used it enough to really draw a conclusion on it.

Stats

Basic Microbenchmarks repo stats
1
84
2.3
3 months ago

JuliaLang/Microbenchmarks is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of Microbenchmarks is Jupyter Notebook.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com