Julia 1.4.0 is now available. Julia is a high performance dynamic high-level programming languages. It has a rich library, provides digital accuracy, fine amplifier distributed and parallel operation mode. Kernel Library written by Julia like most libraries, but also to deal with linear algebra mature C and FORTRAN library, random number generation and string processing problems.
Updates are as follows:
The new language features
- Now, the structure having associated storage and isbitsunion isbits all fields in the array ( # 32448 ).
import
Now allows quoted symbol, for exampleimport Base.:+
( # 33158 ).a[begin]
It can now be used to address the first element of a set of integer indexa
. Indexed by thefirstindex(a)
calculated ( # 33946 ).
Language change
- Deprecated syntax
(;)
resolves to an empty block expression. In the future it will indicate an empty named tuple
Multithreading change
- $ Can now be inserted into the inner @async and @spawn value, this value will be copied directly to the base closure configuration ( # 33119 )
The establishment of system changes
- Windows Setup has switched to build Inno Setup. Setup command-line parameters have been changed. For example, to unpack the installer to a specific directory, a command line parameter is now / DIR = x: \ dirname. Use julia-installer.exe /? Lists all the new command line parameter.
The new library features
- The new
only(x)
function returns a collectionx
element, and if x contains zero or more elements throwsArgumentError
( # 33129 ). takewhile
Anddropwhile
have been added to Iterators sub-modules ( # 33437 ).accumulate
Iterators have been added to the sub-modules ( # 34033 ).- There is now a
evalpoly
function intended to serve as@evalpoly
the role of the macro. The macro function as efficient, while providing greater flexibility, and therefore should be given priority@evalpoly
( # 32753 ). pkgdir(ModuleName)
Than is now provided a normally useddirname(dirname(pathof(ModuleName)))
a simpler method to return the module (or submodule) package root directory. ( # 33128 )
The remaining large number of updates, see Update Description: https://github.com/JuliaLang/julia/blob/v1.4.0/NEWS.md