3 ms·
Without articulating what particular tradeoffs the author is balancing and sounding like they only recently realized/discovered the parallelism advantage possib
by andsoitis 4y ago
Without articulating what particular tradeoffs the author is balancing and sounding like they only recently realized/discovered the parallelism advantage possible to functional programming languages and paradigms, it is hard to know for sure, but I might venture a guess that Julia will be superior to what they are building: https://julialang.org https://julialang.org
- bslatkin 4y agoThe conversation happened in ~2008. Julia has a lot of great ideas in it for sure. Why hasn't it gotten more popular?
- lenkite 4y agoWhen it gets out of its data-science pedigree and can be used for standard apps. When it gets good tooling. When its stack-traces stop being arcane gobbledygook. When it can be compiled to a single binary at the command line without going through arcane hoops. When it gets interfaces/protocols/traits. At the moment, Julia is a nice language at v1alpha1 for scripts and data exploration.
- dermesser 4y agoI agree it lacks all of these things, but in scientific computing - at the current state - it is already ahead of fortran, python, and C++ in terms of convenience. Precompilation doesn't matter as much here, and the packaging and JIT compilation as well as relatively simple FFI are making one's life a lot easier. And NB, python also doesn't offer many of these features, such as dependency management and simple single-binary builds. Yet it's popular.
- lenkite 4y ago"And NB, python also doesn't offer many of these features, such as dependency management and simple single-binary builds" Python has tools for both of these - including virtualenv in standard Python. Nuitka if you want native compilation to a single binary. Julia has none.
- ChrisRackauckas 4y ago> Julia has none. Weird, since we ship natively compiled single binaries with Julia to customers all of the time using the standard open source tooling...
- lenkite 4y agoI did mention simple single-binary builds using the CLI. (ie - it just works with one command). Not fiddling around for hours with PackageCompiler.jl. Fiddling around with snoopfiles, then forced to ask questions on the forums to do what other languages do out of the box is not the way to go for developer ergonomics.
- ChrisRackauckas 4y agoUhh, you don't have to do anything with snoop files, and it's just a one line CLI call. julia -e 'using PackageCompiler; create_sysimage(["MyPackage"], sysimage_path="MyPackage.so"; precompile_execution_file = "MyScriptOfWhatToCompile.jl")' and now you have a binary. How are people "forced to ask questions on the fourms" if the only thing to do is to change file location names? Are you talking about PackageCompiler from 2019 or PackageCompiler from 2023?
- mrkeen 4y agoParallelism is concurrency (+maybe a little SIMD) done for speed's sake. Haskell is by far the best programming experience I've ever had (all aspects included), and it's damn fast. It's just not C/C++/Rust fast in nearly all cases. Having said that, going functional for 'parallelism advantage' (speed) is a fool's errand (for now). The same thing is said about how incredibly fast JIT has become. (But AOT is faster!) Want speed? C/C++/Rust.