News for hackers. Stuff that matters.
Re:Giving up on Julia (2016) by amelius on Sunday August 18, 2019 @01:12PM (#20731449)
To be fair, the article says:

> If you ignore startup time, Julia might have good performance for simple array/matrix operations and loops, but we already know how to make them fast in Python and other languages.

> And it’s not just scripts, Julia’s REPL which should ideally be optimized for responsiveness takes long to start and has noticeable JIT (?) lags. What’s even more worrying is that there doesn’t seem to be much progress there. The REPL was a pain to use a year ago and it still is.

> In addition to that, Julia programs have excessive memory consumption. The above hello world example in Julia uses 18x more memory than Python and 92x more memory than the C version.

Re:Giving up on Julia (2016) by yvdriess on Sunday August 18, 2019 @04:45PM (#20732706)
> " Julia might have good performance for simple array/matrix operations and loops, but we already know how to make them fast in Python "

Yes, by not executing them in Python, the universal trick to make anything fast in Python.

Julia's whole shtick is avoiding having to drop down into C.

Re:Giving up on Julia (2016) by soup10 on Monday August 19, 2019 @02:26AM (#20735375)
C really is a great language, its kinda funny how all the attempts to improve on it end up causing just as many pain points as they solve.
Re:Giving up on Julia (2016) by yvdriess on Monday August 19, 2019 @10:26AM (#20738004)
C is chosen because how little language there is. Attempts to improve it end up adding to it, kind of defeating why it is useful in the first place.

I find D's better-C dialect to be a definite improvement across the board, but there is a lot of institutional inertia behind C.

Re:Giving up on Julia (2016) by ken on Sunday August 18, 2019 @02:53PM (#20732090)
> The above hello world example in Julia uses 18x more memory than Python and 92x more memory than the C version.

Again, I'm left wondering if this is proportional, or simply an X megabyte overhead of the runtime. Maybe it's even shared among all running programs, as some runtimes are. Or it looks like maybe stdio could be just particularly bad in Julia, and in practice I've never written a program for any environment where that was my performance bottleneck.

Performance is not easy to measure, and not easy to report. A single number makes a good headline but it's really not enough information.

Re:Giving up on Julia (2016) by StefanKarpinski on Sunday August 18, 2019 @04:44PM (#20732696)
It’s a fixed overhead like the JVM, CLR or any substantial runtime that includes a JIT.
Re:Giving up on Julia (2016) by cestith on Sunday August 18, 2019 @05:18PM (#20732946)
Which, by the way, only applies to Julia programs under JIT. The AoT compiler will handle nearly 100% of vast the JIT or REPL will and vice versa, with a goal of 100%.
Re:Giving up on Julia (2016) by igouy on Monday August 19, 2019 @04:56PM (#20741751)
> … wondering if this is proportional, or simply an X megabyte overhead of the runtime…

Which is why the benchmarks game measures at more than one workload —

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...