News for hackers. Stuff that matters.
Re:Julia: Faster than Fortran, cleaner than Numpy by eirki on Sunday June 20, 2021 @02:35PM (#27572714)
Genuine question: Is Julia used for anything other than mathematics yet? Is there any sign of the Julia community expanding beyond science, maths, machine learning etc?
Re:Julia: Faster than Fortran, cleaner than Numpy by eigenspace on Sunday June 20, 2021 @02:51PM (#27572861)
Yes, people are using it for databases, web servers, video games, and a bunch of other things. These domains are less mature than julia's traditional wheelhouse of numerical / technical computing, but I think eventually it can be very competent at almost anything people put the time into building.

Julia is an incredibly flexible language that's all about enabling powerful code transformations, so it can be adapted to very different niches.

Re:Julia: Faster than Fortran, cleaner than Numpy by systems on Sunday June 20, 2021 @11:07PM (#27575897)
which library do you use for databases? when i checked a while ago, the situation was not very good and the best option was the JDBC interface

is this still the case

Re:Julia: Faster than Fortran, cleaner than Numpy by oscardssmith on Monday June 21, 2021 @10:31AM (#27579559)
If you are interested in datasets that fit in memory, Dataframes.jl is really good now. For interfacing with SQL, there still isn't anything much better than jdbc.
Re:Julia: Faster than Fortran, cleaner than Numpy by nerdponx on Sunday June 20, 2021 @02:40PM (#27572761)
Does the Julia runtime have good properties for something like a Web server?

Slow startup makes it questionable for CLI tools, although that is supposedly improving a lot.

But what about high-concurrency "server-like" workloads? The language itself I think would be great for such an application, but I have no idea if the runtime itself would be good.

Re:Julia: Faster than Fortran, cleaner than Numpy by oscardssmith on Monday June 21, 2021 @10:29AM (#27579531)
Currently Julia will probably lose to C++ here due to some GC quirks and less well optimized strings. That said, both of these issues are being worked on, and I would expect fairly major progress by 1.8. (some of this work is already done. Specifically, as of 2 days ago memory alignment of strings has changed to save 8 bytes for most strings). Future improvements will likely include some form of small string optimization to prevent them from being heap allocated, and making julia's GC more efficient for highly threaded code.
Re:Julia: Faster than Fortran, cleaner than Numpy by adgjlsfhk1 on Sunday June 20, 2021 @02:49PM (#27572846)
Yes, but a lot of it isn't as highly optimized as some of the more mathy stuff. Julia has a ton of really good readers of various file formats (CSV, JSON, Arrow, etc). Many of these are as fast as anything out there, but some of them have some performance issues still. https://www.genieframework.com/ is a web framework entirely in Julia, (but probably not the fastest).

If you have specific things you are interested in, feel free to follow up.

Re:Julia: Faster than Fortran, cleaner than Numpy by m_mueller on Sunday June 20, 2021 @02:42PM (#27572777)
Does it have to? IMO it's good to have a language focused on that domain as the tradeoffs tend to be different there, hence why Fortran is still actively used.
Re:Julia: Faster than Fortran, cleaner than Numpy by clarkevans on Sunday June 20, 2021 @03:50PM (#27573308)
I use it for general application development. Some of the libraries still need quite a bit of work, but it's getting there. For practical web-service development, you need to hook in Revise.jl to get updates to your request handler without having to restart the server.
Re:Julia: Faster than Fortran, cleaner than Numpy by oivey on Sunday June 20, 2021 @02:43PM (#27572792)
There’s a handful of things in a bunch of different domains, although mathy things are the most well developed. The language is definitely general purpose and suitable in a ton of different domains. It’s just going to take time for the ecosystem to build up.
Re:Julia: Faster than Fortran, cleaner than Numpy by jason0597 on Sunday June 20, 2021 @02:39PM (#27572750)
I have to ask to ask the obvious question: why?

What problems would they be trying to solve?

Re:Julia: Faster than Fortran, cleaner than Numpy by nerdponx on Sunday June 20, 2021 @02:42PM (#27572769)
Gradually-typed, syntactic macros, tidy syntax, good Unicode support in the standard library. All positive traits for app and/or server development in my opinion.