5 ms·
I believe the essence of what you are saying is that Julia is great for explorative programming, while Python et al are better suited for slightly more structur
by kccqzy 6y ago
I believe the essence of what you are saying is that Julia is great for explorative programming, while Python et al are better suited for slightly more structured, more productionized programming.
I personally use Mathematica for this purpose and find it indispensable. I wonder if the PL designers should focus more on this class of languages, instead of features for production languages (like fancy type systems).
- dodobirdlord 6y agoJulia, by virtue of being compiled, is also probably better for production. But it’s much less well known and has less library support, which is a significant barrier to use.
- mattkrause 6y agoPycall and RCall really help with this. Dragging something in from scikit-learn was literally like...two lines of code. It's not the same...investment as most FFI systems.
- orthoxerox 6y ago> Julia is great for explorative programming, while Python et al are better suited for slightly more structured, more productionized programming In Julia, explorative programming is productionized programming, you don't have to switch to a different or restricted set of tools to make your program fast, it's the same code that you can profile on the fly. With types, you can patch your hotspots by adding a specific method to the generic function, and it will get invoked automatically instead of the more general case algorithm.
- fluffy87 6y agoHow fast is Julia wrt to CUDA C++, or C++/Rust? In those languages, I can actually take the theoretical practical hardware limits (memory BW, throughput, latency), and relatively easily achieve 99% of their utilization. When people say “very fast” and “my cores are at 100%” they often mean “my program achieves 1% of the perf the hardware can deliver”.
- KenoFischer 6y agoJulia is in that class of languages. We regularly look at roofline plots when performance tuning.
- drewm1980 6y agoIs Julia JIT deterministic / reproducible? It doesn't matter if you are writing the code to run yourself on your own machine, which is usually the case in research. But would you recommend Julia for a project has soft realtime requirements on the order of 10 ms and has to run in hundreds of machines scattered across the world, and you have to support personally?
- KenoFischer 6y agoProbably not in default configuration, but we have some people interested in this kind of thing. The compiler candy definitely be configured to make that work, but so far interest hadn't been sufficient to implement that. If you have a particular use case in mind, do let us know to see if we can help you out.
- socialdemocrat 6y agoNo, that is what people cannot wrap their head around. They always think there is a catch or a downside with Julia. But Julia is really to have a cake and it too.... ok you got to accept your first plot is slow ;-)
- drewm1980 6y agoYou have to accept that compilation is on the fly, so you cannot test the actually binary code your customers will run. There is an attempt at AOT in a library but it did not look stable last I checked (when Julia went 1.0).
- coldtea 6y ago>You have to accept that compilation is on the fly, so you cannot test the actually binary code your customers will run So? That's the case for every JIT or interpreted language...
- labawi 6y agoIf comment was made WRT alleged fit for demanding performance - JIT-ted languages usually can't compete and unpredictable performance could mean unpredictable failures.
- smabie 6y agoNo Julia is just better than Python in every possible way