[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


like python but
>actually fast and not 'fast after you rewrite it in C'
>no GIL
>built-in package manager that just works with easily reproducible environments instead of pip/conda... shitfuckery
>first class Unicode variable names
>you can inspect and generate code without a PhD in ast
>zero-cost abstractions

Why does noone uses this outside universities
>>
>>109221059
looks gay
>>
>>109221059
>Unicode variable names
why the fuck would anyone want that
>>
>>109221059
i banged a girl named julia
>>
>>109221160
So you can write functions that represent equations in a readable and textbook like manner
>>
>>109221162
gb2r
>>
>>109221059
index starts at 1
>>
>>109221059
>Julia
>like Python
So now R is also like Python?
>>
>>109221314
And that's a good thing
>>
>>109221314
Same as Matlab, Fortran, and, you know, math.
>>
>>109221059
Uses exceptions, which are also slow as fuck.
>>
>>109221160
now I don't want to startle you, but JavaScript allows those too
>>
File: 1761640619947209.jpg (11 KB, 650x279)
11 KB JPG
>>109221556
had no idea
either way i wouldnt use it or list it as a plus. i thought python had it but apparently not
>>
>>109221059
Because it's trapped in the LLVM ecosystem.
Meanwhile GNU R remains fully free (as in freedom).
>>109221469
The exceptions and shitty LLVM JIT are not actually a problem for the workflow.
The workflow basically just means science nocoder skiddies get Cython by default.
The problem is just that you are locked into LLVM.
>>
>>109222088
whats wrong with LLVM apart from
>>
>>109221188
you havent learned from the last several decadeas that operator overloading was a mistake?
>>
>>109221160
I'm pretty sure like every Lisp supports that, too. Hell, Racket uses the character λ everywhere.
>>
>>109221325
Read this and become less retarded.

www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html
>>
>>109221059
I want to like Julia, I want a good Matlab alternative, I want Pythonistas to eat shit and die, I want to just get shit done. Julia is promising and it's way better today than it was 8 years ago or whenever I first tried it. I'm a little concerned the owners have bad taste, but that's not a death knell.
>>
>>109224410
Dijkstra was just pretending to be retarded when he wrote this.
>>
>>109224410
Didn't read it and have to say, 1-indexing is pretty based
>>
>>109221059
The fact thet you're trying to shill some dead language that literally nobody uses or has heard of and has probably only like 6 libraries in its ecosystem as a replacement for python clearly shows you have never coded anything in your life.
>>
>>109224442
>I want Pythonistas to eat shit and die, I want to just get shit done.

That's why I switched to Go.
>>
>>109221059
julia gulia
>>
>>109224482
>language that literally nobody uses
https://juliahub.com/case-studies
>>
>>109221059
Impressive, now let's see the startup time and RAM usage of a hello world script
>>
>>109224464
That's... Normal indexing. There was no indexing in C, this [] is just syntax sugar for pointers.
Also makes little sense to not use digit 0 when you have crazy limitations, like 8 or 16 bits all over the place. Everything counts, so to make it unsigned, to count from 0 etc was important.
Everyone else just cargo culted it from C or some other old times lang.
>>
>>109221350
The magic Math World is not inherently 1-indexed, you know? It's just a convention like any other.
>>
>>109222150
it's for math symbols, greek letters, etc., not function overloading
>>
>>109221059
I want to start using it but my company has already got everything running in python so it is a huge uphill battle.
Anything I code on my own for fun I use other languages like lisps or apl
>>
>>109221059
it would be a good alternative for python, but python has already captured the market.
people won't just move their whole ecosystem to another language without tremendous necessity.
>>
>>109221160
Emojis retard
>>
>>109226923
>using emojis
negmi
>>
>>109224410
>Adhering to convention a) yields, when starting with subscript 1, the subscript range 1 ≤ i < N+1; starting with 0, however, gives the nicer range 0 ≤ i < N. So let us let our ordinals start at zero: an element's ordinal (subscript) equals the number of elements preceding it in the sequence.
So the argument is that it's "nicer"? OK:
>>
>>109227539
By "nicer" he meant less retarded.
>>
>>109221059
https://discourse.julialang.org/t/announcing-julia-gender-inclusive/63702
>>
>>109227539
It's nicer because there's no need for an extra constant. It's the most elegant.
Dijkstra had no idea of the subhuman trash would be trying to write software in 2026 and so didn't feel the need to explain the obvious.

There are arguments for 1-based indexing but none of them refute the Computer Science argument for 0-based indexing.
>>
>>109226707
I find zero-based far more convenient for slicing large arrays with variables (eg [offset to offset+numbytes] in a binary file, or [origin to origin+length] for a vector).
I find zero-based mildly inconvenient for manually referencing specific fields/columns in a row. (eg the output of 'ps -ef' or a spreadsheet).
>>
>>109228576
>3% of survey respondents identified as male
>20% of visitors to JuliaLang.org are presumed to be women by Google Analytics
kek
>>
I like it but just do hobby things with it because interpreted
I had sorta under-utilized it because there was so much more python stuff sitting around ready to use or if I needed to look somthing up, but now that LLMs >> stackechange I'm thinking I should just write stuff in Julia again
>>
>>109226859
calling things sigma in code is fucking retarded
>>
>like python but without all the libraries
Hm...
>>
>>109231467
No it isn't. It's often the best and clearest way of coding up a formula that contains σ.
>>
Only thing I hate so far is not being able to clear/redefine variables. Once x exists you can't later make it x::Int32 .
>>
>>109231626
i accept your concession.
>>
File: 1775219926172470.png (45 KB, 1010x877)
45 KB PNG
>>109231653
Ah, the ultimate cope-out. I wasn't expecting such butthurt.
>>
>>109226643
> My job consists in writing hello worlds every day
No wonder LLMs will take your place
>>
Gonna start replacing Matlab with Julia today. Will check in regularly.
>>
>>109221059
>Now there are 8,364 competing programming languages.
>>
>>109221059
I won't use your tranny language with a female name simple as

t. C for embedded C++ for speed and memory Python for everything else, like G-d intended
>>
>>109226859
>>109231467
greek letters just map to american letters retards

sigma = s
eta = n
zeta = z
epislon = e
tau = t
theta = t
etc
>>
>>109234685
>jew
>not worshiping women
hand over your torah and your other yamaka
>>
>>109234685
>python
you're a nigger. you have no place badmouthing anyone.
>>
>>109221059
>I other people write python in C for me. Not my problem.
>gil isn't a thing anymore. Wake up you stinky millennial
>ever heard of uv or venv? only total nocoders use conda
>congrats?
>again, congrats lil bro
>Amazing. I do not care. It doesn't pay me 90k per year.

>>109226573
>his language needs to show people how it's relevant with case studies
>>
>>109234870
>racist in 2026
>>
>>109221059
nim is nicer and doesn't try the hybrid type system meme
>>
>>109234978
I like being ahead of the curve
>>
>>109234994
racist isn't coming back

also, saying something witty won't make me think you're cool now

I got overy racism by waking up to how horrible many whites are, and watching this interview
https://www.youtube.com/watch?v=nmvGdzMSEtU
>>
>>109235056
this is /g/, not /pol/. try to stay on topic, nigger.
>>
>>109235056
Racist or not you seem like a gigantic loser.
>>
>>109234701
> american letters
>>
>>109234870
python hating is the surest mark of midwitry there is. you don't understand how to use time and computers.
>>
>>109235056
>Uhm Fellow Wyte goy- i mean people, we need to wake up and realize how terrible we are!
>>
>>109235120
>being rude in 2026
yikes
>>
>>109235786
based wholesomeness awareness speader
>>
>>109234701
Greek letters are dumb anyway, just give it a name.
> but the letter IS the name!
I've never met a programmer afraid of coming up with a dumb name for something.
>>
>>109236408
>give it a name.
sigma is the name that's what everyone calls it ain't nobody gonna call it standard_deviation or internal_stress_tensor or whatever the fuck you know what I mean
>>
>>109236619
Start calling it whatever the fuck or shorthand `wtf` and you'll realize it is much nicer than `σ` or `sigma`. `std` `ist` `stress`. I know people like the fantasy of writing code like the equation, but math notation is too ambiguous for anything but the simplest equations. It's almost always more clear to break it apart, using better names goes alongside that.
>>
>>109235209
nta but i write python for a living and i work with others who write python for a living every single day. i can confidently say that the only people who don't hate python are those who haven't used it enough, or have only ever used it for inconsequential hobby projects or one-off scripts. it's a joke of a language please don't kid yourself.
>>
>>109238514
>who haven't used it enough, or have only ever used it for inconsequential hobby projects or one-off scripts
do you know where you are?
>>
oh wtf, I am gonna learn Julia right fucking now
>>
>>109239604
How did it go?
It's been pretty smooth for me, though I keep forgetting to do
`max.([1 2 3])` instead of
`max([1 2 3])`
Why can't the std just work instead having separate array functions?
>>
>>109239757
I was being facetious, sorry. I ain't learning Julia
>>
>>109236619
>internal stress tensor
as opposed to external stress tensor, you retard?
>stress is sigma
no, it isnt. aeros use pi. when you get to big boy mechanics you will see P, S, tau, and sigma. some people use T for what you are callinf sigma because of a foolish consistency to notation



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.