News for hackers. Stuff that matters.
Re:Julia Computing raises $24M Series A by lycopodiopsida on Monday July 19, 2021 @12:42PM (#27884647)
“Only” to write a very high amount of high-quality statistical and plot packages…
Re:Julia Computing raises $24M Series A by mr_overalls on Monday July 19, 2021 @12:49PM (#27884726)
Right. R's killer feature is its ecosystem.

I'm wondering if most statisticians or researchers deal with data big enough that massively better performance would be enough motivation to switch.

Re:Julia Computing raises $24M Series A by tylermw on Monday July 19, 2021 @01:14PM (#27884996)
"Massively better performance" is a bit misleading: Julia is only massively better at certain workflows. The fastest data.frame library in ALL interpreted languages is consistently data.table, which is R. For in-memory data analysis, Julia will have to offer more than performance to win over statisticians/researchers.

Benchmarks: https://www.ritchievink.com/blog/2021/02/28/i-wrote-one-of-t...

Re:Julia Computing raises $24M Series A by snicker7 on Monday July 19, 2021 @02:02PM (#27885510)
As another commenter pointed out, DataFrames.jl is already faster than data.table in some benchmarks.

And that's the killer feature of Julia. It is easier to micro-optimize Julia code than any other language, static or dynamic. Meaning if Julia is not best-in-class in a certain algorithm, it will soon.

Re:Julia Computing raises $24M Series A by amkkma on Monday July 19, 2021 @01:27PM (#27885133)
In addition to the comment about df.jl catching up, they aren't comparable at all.

Julia's DF library is generic and allows user defined ops and types. You can put in GPU vectors, distributed vectors, custom number types etc. Julia optimizes all this stuff.

data.frame is just a giant chunk of c (c++) code that one must interact with in very specific ways

Re:Julia Computing raises $24M Series A by tylermw on Monday July 19, 2021 @01:45PM (#27885312)
> Julia's DF library is generic and allows user defined ops and types. You can put in GPU vectors, distributed vectors, custom number types etc. Julia optimizes all this stuff.

These features aren't of interest to practicing statisticians, which the parent comment was talking about.

> data.frame is just a giant chunk of c (c++) code that one must interact with in very specific ways

I don't understand this criticism: yes, data.table has an API.

Re:Julia Computing raises $24M Series A by amkkma on Monday July 19, 2021 @02:04PM (#27885533)
>These features aren't of interest to practicing statisticians, which the parent comment was talking about.

It's pretty convenient for things like uncertainty propagation and data cleaning...all things statisticians should care about.

>I don't understand this criticism: yes, data.table has an API

A relatively limited API, walled off from the rest of the language.

Re:Julia Computing raises $24M Series A by StefanKarpinski on Monday July 19, 2021 @03:57PM (#27886654)
Many practicing statisticians do actually care about easily using GPUs and doing distributed computations on distributed data sets with the same code they use for a local data set, which is what those Julia capabilities give you.
Re:Julia Computing raises $24M Series A by mbauman on Monday July 19, 2021 @01:21PM (#27885066)
> The fastest data.frame library in ALL interpreted languages is consistently data.table, which is R.

DataFrames.jl is very rapidly catching up and starting to surpass it. After hitting a stable v1.0 they've begun focusing on performance and those benchmarks have changed significantly over the past three months. Here's the live view: https://h2oai.github.io/db-benchmark/

Re:Julia Computing raises $24M Series A by nojito on Monday July 19, 2021 @01:59PM (#27885474)
40% slower in groupbys and 4x slower in joins isn’t convincing.
Re:Julia Computing raises $24M Series A by mbauman on Monday July 19, 2021 @02:17PM (#27885664)
Oh I agree. What's convincing to me is the momentum. The DataFrames.jl team only started focusing on performance three months ago after hitting v1.0[1] and were able to rapidly become competitive with groupbys; the performance of join is next[2]. Compare the live view with the state when grandparent's blog post was written/updated (March of this year).

I expect it to continue to improve; note that it's starting to be the fastest implementation on some of the groupby benchmarks.

1. https://discourse.julialang.org/t/release-announcements-for-...

2. https://discourse.julialang.org/t/the-state-of-dataframes-jl...

Re:Julia Computing raises $24M Series A by freemint on Monday July 19, 2021 @02:27PM (#27885779)
This seems quiet cherry picked as there are 3 different dataset sizes.

However yes, it does not beat all other packages tested in performance.

Re:Julia Computing raises $24M Series A by nojito on Monday July 19, 2021 @03:58PM (#27886666)
Not really cherry picked. Data.table is designed for large data sets with many groups + complex joins.
Re:Julia Computing raises $24M Series A by wdroz on Monday July 19, 2021 @04:17PM (#27886837)
I would like to see this benchmark with much more modern hardware, especially for GPU-related tools as the 1080 Ti they used is 4 years old.
Re:Julia Computing raises $24M Series A by f6v on Monday July 19, 2021 @01:39PM (#27885256)
Many do, a university cluster is usually full since it runs 3 day-long jobs from hundreds of people. But in order to switch I’d need to replace 100+ direct and indirect dependencies.
Re:Julia Computing raises $24M Series A by f6v on Monday July 19, 2021 @01:32PM (#27885187)
You can write fast software with R, you just need to know how. The same applies to Julia - not everyone knows how to develop high-performance code.
Re:Julia Computing raises $24M Series A by spywaregorilla on Monday July 19, 2021 @01:54PM (#27885415)
> You can write fast software with R, you just need to know how.

When the trick to writing fast R code is to rely on C as much as possible, that feels less compelling.

Re:Julia Computing raises $24M Series A by tylermw on Monday July 19, 2021 @02:04PM (#27885529)
While writing in C is one way to speed up R code, you can also get pretty close to compiled speed by writing fully vectorized R code and pre-allocating vectors. The R REPL is just a thin wrapper over a bunch of C functions, and a careful programmer can ensure that allocation and copy operations (the slow bits) are kept to a minimum.
Re:Julia Computing raises $24M Series A by freemint on Monday July 19, 2021 @02:33PM (#27885837)
This is good if your code can be expressed in vectorized operations and doesn't gain benefits from problem structure exploited by multiple dispatch. With R the best you can is the speed of someone else's (or your) C code while Julia can beat C.
Re:Julia Computing raises $24M Series A by f6v on Monday July 19, 2021 @05:32PM (#27887498)
You’d be surprised how many people don’t know that a for loop isn’t great compared to vectorizing. The same for Julia, few will know that types have an impact on speed. My point is that you won’t automatically write faster code.
Re:Julia Computing raises $24M Series A by systemvoltage on Monday July 19, 2021 @12:49PM (#27884727)
And clone/bribe Hadley Wickham :-) He is a tour de force of R.
Re:Julia Computing raises $24M Series A by amkkma on Monday July 19, 2021 @01:08PM (#27884947)
Re:Julia Computing raises $24M Series A by tfehring on Monday July 19, 2021 @01:23PM (#27885090)
Or more realistically, a caret/parsnip-like interface that lets you seamlessly use either R or Julia as a backend.