News for hackers. Stuff that matters.
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.