3 ms·
I have not done anything even remotely significant in Julia, but the little I played with didn't seem to indicate to me that it would be bad for trivial stuff..
by tombert 3y ago
I have not done anything even remotely significant in Julia, but the little I played with didn't seem to indicate to me that it would be bad for trivial stuff...what trivial stuff is hard in Julia but easy in Python?
- deleted 3y ago[deleted]
- Nanana909 3y agoI responded in detail him about, but honestly I can't think of many that answer your qiestion. It's amost always the opposite. A I like to present this as stereotypical example of the types of differences you find the two, IMO. Generating a 3x3 matrix of random booleans. >Julia A = rand(Bool,3,3) Python: No standard support for Matrices. I could really do it a disservsice and comapre the "core language", but that''s obivously stupid so we'll bring in some external libraries to make it easier. Of many ways to skin the cat here's one.. >Python import numpy.numpy as np gen = np.random.default.default_rng() B = gen.choice([True,False],(3,3)) I find myself just taking `rand(["Msg1",.....,"MsnN"])` to get a random string often. And small things like this are why you see people Julia is so nice to write and become so defendant of it.
- sundarurfriend 3y agoI think they just mean that with trivial projects, it's not worth trying them in a new language since the performance benefits are probably going to be minimal, and wouldn't really show off Julia's strengths.
- tombert 3y agoThat's fair; I have done my fair share of scripting in Node.js just because I'm familiar with it and it's fast enough to do most anything.