Jump to content

Julia (programming language): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎History: Removed advertisement
Tag: references removed
No edit summary
Line 25: Line 25:
| implementations =
| implementations =
| dialects =
| dialects =
| influenced by = {{startflatlist}}
| influenced by = {{Flatlist}}
* [[C (programming language)|C]]<ref name="announcement"/>
* [[C (programming language)|C]]<ref name="announcement"/>
* [[Lisp (programming language)|Lisp]]<ref name="announcement"/><!--only the parser implemented by femtolisp, a [[Scheme (programming language)|Scheme]]-like implementation (see: "unsupported" "julia --lisp" that invokes it, but its only influence on the language/syntax – Lisp-like macros? Maybe not even Lisp's CLOS "multimethods"? as Dylan with "multiple dispatch" was cut from the list-->
* [[Lisp (programming language)|Lisp]]<ref name="announcement"/><!--only the parser implemented by femtolisp, a [[Scheme (programming language)|Scheme]]-like implementation (see: "unsupported" "julia --lisp" that invokes it, but its only influence on the language/syntax – Lisp-like macros? Maybe not even Lisp's CLOS "multimethods"? as Dylan with "multiple dispatch" was cut from the list-->
Line 42: Line 42:
"These roughly follows the c11/c++11 memory model [..] The only exception is the GC safepoint and GC state transitions [..] We use the compiler intrinsics to implement a similar API to the c11/c++11" https://github.com/JuliaLang/julia/blob/44f3d7c921cbe50105a54258db2febb65a4b9d44/src/julia_threads.h
"These roughly follows the c11/c++11 memory model [..] The only exception is the GC safepoint and GC state transitions [..] We use the compiler intrinsics to implement a similar API to the c11/c++11" https://github.com/JuliaLang/julia/blob/44f3d7c921cbe50105a54258db2febb65a4b9d44/src/julia_threads.h
--> [[C++]], [[Scheme (programming language)|Scheme]], [[LLVM]]<ref name="JuliaHome">{{cite web |url=https://julialang.org/ |title=Julia |author=<!--Staff writer(s); no by-line.--> |date=<!--None listed.--> |website=Julia |publisher=[[NumFocus]] project |access-date=9 December 2016 |quote=Julia's Base library, largely written in Julia itself, also integrates mature, best-of-breed open source C and Fortran libraries for ...}}</ref>
--> [[C++]], [[Scheme (programming language)|Scheme]], [[LLVM]]<ref name="JuliaHome">{{cite web |url=https://julialang.org/ |title=Julia |author=<!--Staff writer(s); no by-line.--> |date=<!--None listed.--> |website=Julia |publisher=[[NumFocus]] project |access-date=9 December 2016 |quote=Julia's Base library, largely written in Julia itself, also integrates mature, best-of-breed open source C and Fortran libraries for ...}}</ref>
| platform = Tier&nbsp;1: [[x86-64]], [[IA-32]], [[CUDA]]<br> Tier&nbsp;2: [[ARM architecture|ARM]] (both 32- and 64-bit)<br> Tier&nbsp;3: [[PowerPC]]<br> Also has web browser support (for [[JavaScript]] and [[WebAssembly]])<ref name="WebAssembly"/> and works in [[Android (operating system)|Android]].
| platform = Tier&nbsp;1: [[x86-64]], [[IA-32]], [[CUDA]]<br />Tier&nbsp;2: [[ARM architecture|ARM]] (both 32- and 64-bit)<br /> Tier&nbsp;3: [[PowerPC]]<br />Also has web browser support (for [[JavaScript]] and [[WebAssembly]])<ref name="WebAssembly"/> and works in [[Android (operating system)|Android]].
| operating system = [[Linux]], [[macOS]], [[Microsoft Windows|Windows]] and <!-- no longer just community support for --> [[FreeBSD]]
| operating system = [[Linux]], [[macOS]], [[Microsoft Windows|Windows]] and <!-- no longer just community support for --> [[FreeBSD]]
| license = [[MIT License|MIT]] (core),<ref name="license"/><!--for core language while, by default, "the environment, which consists of the language, user interfaces, and libraries, is under the GPL"--> [[General Public Licence|GPL v2]];<ref name="JuliaHome" /><ref>{{cite newsgroup|url=https://groups.google.com/forum/#!topic/julia-users/v4OjEK7azBs |title=Non-GPL Julia? |website=Groups.google.com |date= |accessdate=2017-05-31}}</ref><!--as some few libraries used by the standard library (that can be excluded) are [[copyleft]]--> a [[makefile]] option omits GPL libraries<ref>{{cite web |url=https://github.com/JuliaLang/julia/pull/10870 |title=Introduce USE_GPL_LIBS Makefile flag to build Julia without GPL libraries |quote=Note that this commit does not remove GPL utilities such as git and busybox that are included in the Julia binary installers on Mac and Windows.<!--dropped as of 0.5 then only libgit2--> It allows building from source with no GPL library dependencies.}}</ref>
| license = [[MIT License|MIT]] (core),<ref name="license"/><!--for core language while, by default, "the environment, which consists of the language, user interfaces, and libraries, is under the GPL"--> [[General Public Licence|GPL v2]];<ref name="JuliaHome" /><ref>{{cite newsgroup|url=https://groups.google.com/forum/#!topic/julia-users/v4OjEK7azBs |title=Non-GPL Julia? |website=Groups.google.com |date= |accessdate=2017-05-31}}</ref><!--as some few libraries used by the standard library (that can be excluded) are [[copyleft]]--> a [[makefile]] option omits GPL libraries<ref>{{cite web |url=https://github.com/JuliaLang/julia/pull/10870 |title=Introduce USE_GPL_LIBS Makefile flag to build Julia without GPL libraries |quote=Note that this commit does not remove GPL utilities such as git and busybox that are included in the Julia binary installers on Mac and Windows.<!--dropped as of 0.5 then only libgit2--> It allows building from source with no GPL library dependencies.}}</ref>
Line 104: Line 104:


===Notable uses===
===Notable uses===
Julia has attracted some high-profile users, from investment manager [[BlackRock]], which uses it for [[time-series analytics]], to the British insurer [[Aviva]], which uses it for [[risk calculations]]. In 2015, the [[Federal Reserve Bank of New York]] used Julia to make models of the US economy, noting that the language made model estimation "about 10 times faster" than its previous [[MATLAB]] implementation. Julia's co-founders established Julia Computing in 2015 to provide paid support, training, and consulting services to clients, though Julia itself remains free to use. At the 2017 JuliaCon<ref>{{cite web|url=http://juliacon.org/2017/ |title=JuliaCon 2017 |website=juliacon.org |accessdate=2017-06-04}}</ref> conference, Jeffrey Regier, [[Keno Fischer]] and others announced<ref>{{cite web|last1=Fisher|first1=Keno|title=The Celeste Project|url=https://juliacon2017.sched.com/speaker/thecelesteproject|website=juliacon.org|accessdate=24 June 2017}}</ref> that the Celeste project<ref>{{cite arxiv|last1=Regier|first1=Jeffrey|last2=Pamnany|first2=Kiran|last3=Giordano|first3=Ryan|last4=Thomas|first4=Rollin|last5=Schlegel|first5=David|last6=McAulife|first6=Jon|last7=Prabat|title=Learning an Astronomical Catalog of the Visible Universe through Scalable Bayesian Inference|eprint=1611.03404|class=cs.DC|year=2016}}</ref> used Julia to achieve "peak performance of 1.54&nbsp;[[FLOPS|petaFLOPS]] using 1.3 million threads"<ref>{{cite press |url=https://juliacomputing.com/press/2017/09/12/julia-joins-petaflop-club.html |title=Julia Joins Petaflop Club |date=12 September 2017 | first=Andrew |last=Claster |work=Julia Computing |quote=Celeste is written entirely in Julia, and the Celeste team loaded an aggregate of 178 terabytes of image data to produce the most accurate catalog of 188 million [[astronomical object]]s in just 14.6 minutes [..] a performance improvement of 1,000x in single-threaded execution.}}</ref> on 9300 <!-- on 9,300 (vs. 8192 Xeon cores") possibly "optional nVidia" GPU cards of Cori are used (or not), unclear conflated with lower numbers? --> [[Knights Landing (microarchitecture)|Knights Landing]] (KNL) nodes of the [[Cray XC40#United States|Cori II (Cray XC40)]] supercomputer (then 6th fastest computer in the world).<ref>{{Cite web|url=https://twitter.com/Viral_B_Shah/status/930928375400751105|title=. @KenoFischer is speaking on Celeste in the @Intel theatre at @Supercomputing. 0.65M cores, 56 TB of data, Cori - world's 6th largest supecomputer.pic.twitter.com/21nLHo1qty|last=Shah|first=Viral B.|date=2017-11-15|website=@Viral_B_Shah|language=en|access-date=2019-09-15}}</ref> Julia thus joins C, C++, and Fortran as high-level languages in which petaFLOPS computations have been achieved.
Julia has attracted some high-profile users, from investment manager [[BlackRock]], which uses it for [[time-series analytics]], to the British insurer [[Aviva]], which uses it for [[risk calculations]]. In 2015, the [[Federal Reserve Bank of New York]] used Julia to make models of the United States economy, noting that the language made model estimation "about 10 times faster" than its previous [[MATLAB]] implementation. Julia's co-founders established Julia Computing in 2015 to provide paid support, training, and consulting services to clients, though Julia remains free to use. At the 2017 JuliaCon<ref>{{cite web|url=http://juliacon.org/2017/ |title=JuliaCon 2017 |website=juliacon.org |accessdate=2017-06-04}}</ref> conference, Jeffrey Regier, [[Keno Fischer]] and others announced<ref>{{cite web|last1=Fisher|first1=Keno|title=The Celeste Project|url=https://juliacon2017.sched.com/speaker/thecelesteproject|website=juliacon.org|accessdate=24 June 2017}}</ref> that the Celeste project<ref>{{Cite arXiv|last1=Regier|first1=Jeffrey|last2=Pamnany|first2=Kiran|last3=Giordano|first3=Ryan|last4=Thomas|first4=Rollin|last5=Schlegel|first5=David|last6=McAulife|first6=Jon|last7=Prabat|title=Learning an Astronomical Catalog of the Visible Universe through Scalable Bayesian Inference|eprint=1611.03404|class=cs.DC|year=2016}}</ref> used Julia to achieve "peak performance of 1.54&nbsp;[[FLOPS|petaFLOPS]] using 1.3 million threads"<ref>{{Cite press release|url=https://juliacomputing.com/press/2017/09/12/julia-joins-petaflop-club.html |title=Julia Joins Petaflop Club |date=12 September 2017 | first=Andrew |last=Claster |work=Julia Computing |quote=Celeste is written entirely in Julia, and the Celeste team loaded an aggregate of 178 terabytes of image data to produce the most accurate catalog of 188 million [[astronomical object]]s in just 14.6 minutes [..] a performance improvement of 1,000x in single-threaded execution.}}</ref> on 9300 <!-- on 9,300 (vs. 8192 Xeon cores") possibly "optional nVidia" GPU cards of Cori are used (or not), unclear conflated with lower numbers? --> [[Knights Landing (microarchitecture)|Knights Landing]] (KNL) nodes of the [[Cray XC40#United States|Cori II (Cray XC40)]] supercomputer (then 6th fastest computer in the world).<ref>{{Cite web|url=https://twitter.com/Viral_B_Shah/status/930928375400751105|title=. @KenoFischer is speaking on Celeste in the @Intel theatre at @Supercomputing. 0.65M cores, 56 TB of data, Cori - world's 6th largest supecomputer.pic.twitter.com/21nLHo1qty|last=Shah|first=Viral B.|date=2017-11-15|website=@Viral_B_Shah|language=en|access-date=2019-09-15}}</ref> Julia thus joins C, C++, and Fortran as high-level languages in which petaFLOPS computations have been achieved.


Three of the Julia co-creators are the recipients of the 2019 [[J. H. Wilkinson Prize for Numerical Software|James H. Wilkinson Prize for Numerical Software]] (awarded every four years) "for the creation of Julia, an innovative environment for the creation of high-performance tools that enable the analysis and solution of computational science problems."<ref>{{Cite web|url=https://news.mit.edu/2018/julia-language-co-creators-win-james-wilkinson-prize-numerical-software-1226|title=Julia language co-creators win James H. Wilkinson Prize for Numerical Software|website=MIT News|access-date=2019-01-22}}</ref> Also, Alan Edelman, professor of applied mathematics at MIT, has been selected to receive the 2019 IEEE Computer Society Sidney Fernbach Award "for outstanding breakthroughs in high-performance computing, linear algebra, and computational science and for contributions to the Julia programming language."<ref>{{Cite press|url=https://www.computer.org/press-room/2019-news/2019-ieee-fernbach-award-edelman|title=Alan Edelman of MIT Recognized with Prestigious 2019 IEEE Computer Society Sidney Fernbach Award {{!}} IEEE Computer Society|language=en-US|date=1 October 2019|access-date=2019-10-09}}</ref>
Three of the Julia co-creators are the recipients of the 2019 [[J. H. Wilkinson Prize for Numerical Software|James H. Wilkinson Prize for Numerical Software]] (awarded every four years) "for the creation of Julia, an innovative environment for the creation of high-performance tools that enable the analysis and solution of computational science problems."<ref>{{Cite web|url=https://news.mit.edu/2018/julia-language-co-creators-win-james-wilkinson-prize-numerical-software-1226|title=Julia language co-creators win James H. Wilkinson Prize for Numerical Software|website=MIT News|access-date=2019-01-22}}</ref> Also, Alan Edelman, professor of applied mathematics at MIT, has been selected to receive the 2019 IEEE Computer Society Sidney Fernbach Award "for outstanding breakthroughs in high-performance computing, linear algebra, and computational science and for contributions to the Julia programming language."<ref>{{Cite press release|url=https://www.computer.org/press-room/2019-news/2019-ieee-fernbach-award-edelman|title=Alan Edelman of MIT Recognized with Prestigious 2019 IEEE Computer Society Sidney Fernbach Award {{!}} IEEE Computer Society|language=en-US|date=1 October 2019|access-date=2019-10-09}}</ref>


Julia Computing and [[NVIDIA]] announce "the availability of the Julia programming language as a pre-packaged container on the NVIDIA GPU Cloud (NGC) container registry"<ref name="Julia_Nvidia">{{Cite web|url=https://juliacomputing.com/blog/2019/12/03/nvidia-ngc-arm.html|title=Julia Computing and NVIDIA Bring Julia GPU Computing to Arm|date=2019-12-03|website=juliacomputing.com|access-date=2019-12-03}}</ref> with NVIDIA stating "Easily Deploy Julia on x86 and Arm [..] Julia offers a package for a comprehensive HPC ecosystem covering machine learning, data science, various scientific domains and visualization."<ref>{{Cite web|url=https://blogs.nvidia.com/blog/2019/11/18/ngc-containers-arm/|title=NVIDIA Expands Support for Arm with HPC, AI, Visualization Containers on NGC {{!}} NVIDIA Blog|last=Patel|first=Chintan|date=2019-11-19|website=The Official NVIDIA Blog|language=en-US|access-date=2019-12-03}}</ref>
Julia Computing and [[NVIDIA]] announce "the availability of the Julia programming language as a pre-packaged container on the NVIDIA GPU Cloud (NGC) container registry"<ref name="Julia_Nvidia">{{Cite web|url=https://juliacomputing.com/blog/2019/12/03/nvidia-ngc-arm.html|title=Julia Computing and NVIDIA Bring Julia GPU Computing to Arm|date=2019-12-03|website=juliacomputing.com|access-date=2019-12-03}}</ref> with NVIDIA stating "Easily Deploy Julia on x86 and Arm [..] Julia offers a package for a comprehensive HPC ecosystem covering machine learning, data science, various scientific domains and visualization."<ref>{{Cite web|url=https://blogs.nvidia.com/blog/2019/11/18/ngc-containers-arm/|title=NVIDIA Expands Support for Arm with HPC, AI, Visualization Containers on NGC {{!}} NVIDIA Blog|last=Patel|first=Chintan|date=2019-11-19|website=The Official NVIDIA Blog|language=en-US|access-date=2019-12-03}}</ref>
Line 167: Line 167:
<!-- |source=JuliaLang.org}} Only part missing it the MIT part, that is better explained elsewhere.-->
<!-- |source=JuliaLang.org}} Only part missing it the MIT part, that is better explained elsewhere.-->


Multiple dispatch (also termed [[multimethod]]s in Lisp) is a [[generalization]] of [[single dispatch]]{{snd}} the [[Polymorphism (computer science)|polymorphic mechanism]] used in common [[object-oriented programming]] (OOP) languages{{snd}} that uses [[Inheritance (object-oriented programming)|inheritance]]. In Julia, all concrete types are [[subtyping|subtypes]] of abstract types, directly or indirectly subtypes of the ''Any'' type, which is the top of the type hierarchy. Concrete types can not themselves be subtyped the way they can in other languages; composition is used instead (see also [[Inheritance (object-oriented programming)#Inheritance vs subtyping|inheritance vs subtyping]]).
Multiple dispatch (also termed [[multimethod]]s in Lisp) is a [[generalization]] of [[single dispatch]]&nbsp;— the [[Polymorphism (computer science)|polymorphic mechanism]] used in common [[object-oriented programming]] (OOP) languages&nbsp;— that uses [[Inheritance (object-oriented programming)|inheritance]]. In Julia, all concrete types are [[subtyping|subtypes]] of abstract types, directly or indirectly subtypes of the ''Any'' type, which is the top of the type hierarchy. Concrete types can not themselves be subtyped the way they can in other languages; composition is used instead (see also [[Inheritance (object-oriented programming)#Inheritance vs subtyping|inheritance vs subtyping]]).


Julia draws significant inspiration from various dialects of Lisp<!-- Karpinski: "In short, I would describe it as a Lisp with Matlab-like syntax" https://www.reddit.com/r/programming/comments/pv3k9/why_we_created_julia_a_new_programming_language/ -->, including [[Scheme (programming language)|Scheme]] and [[Common Lisp]], and it shares many features with [[Dylan (programming language)|Dylan]], also a multiple-dispatch-oriented dynamic language (which features an [[ALGOL]]-like [[Free-form language|free-form]] [[Infix notation|infix]] syntax rather than a Lisp-like prefix syntax, while in Julia "everything"<ref name="Learn Julia in Y">{{cite web|url=https://learnxinyminutes.com/docs/julia/ |title=Learn Julia in Y Minutes |website=Learnxinyminutes.com |date= |accessdate=2017-05-31}}</ref> is an [[Expression (computer science)|expression]]), and with [[Fortress (programming language)|Fortress]], another numerical programming language (which features multiple dispatch and a sophisticated parametric type system). While [[Common Lisp Object System]] (CLOS) adds multiple dispatch to Common Lisp, not all functions are generic functions.
Julia draws significant inspiration from various dialects of Lisp<!-- Karpinski: "In short, I would describe it as a Lisp with Matlab-like syntax" https://www.reddit.com/r/programming/comments/pv3k9/why_we_created_julia_a_new_programming_language/ -->, including [[Scheme (programming language)|Scheme]] and [[Common Lisp]], and it shares many features with [[Dylan (programming language)|Dylan]], also a multiple-dispatch-oriented dynamic language (which features an [[ALGOL]]-like [[Free-form language|free-form]] [[Infix notation|infix]] syntax rather than a Lisp-like prefix syntax, while in Julia "everything"<ref name="Learn Julia in Y">{{cite web|url=https://learnxinyminutes.com/docs/julia/ |title=Learn Julia in Y Minutes |website=Learnxinyminutes.com |date= |accessdate=2017-05-31}}</ref> is an [[Expression (computer science)|expression]]), and with [[Fortress (programming language)|Fortress]], another numerical programming language (which features multiple dispatch and a sophisticated parametric type system). While [[Common Lisp Object System]] (CLOS) adds multiple dispatch to Common Lisp, not all functions are generic functions.
Line 219: Line 219:


==Implementation==
==Implementation==
Julia's core is implemented in Julia and [[C (programming language)|C]]<!--C99, except for 0.4 needing C11 because of static asserts-->, together with [[C++]] for the [[LLVM]] dependency. The parsing and code-lowering are implemented in FemtoLisp, a [[Scheme (programming language)|Scheme]] dialect.<ref name="JeffBezanson 2019">{{cite web | author=JeffBezanson | title=JeffBezanson/femtolisp | website=GitHub | date=June 6, 2019 | url=https://github.com/JeffBezanson/femtolisp | access-date=June 16, 2019}}</ref> The LLVM compiler infrastructure project is used as the [[Compiler#Back end|back end]] for generation of [[64-bit computing|64-bit]] or [[32-bit]] optimized [[machine code]] depending on the platform Julia runs on. With some exceptions (e.g., [[PCRE]]), the [[standard library]] is implemented in Julia itself. The most notable aspect of Julia's implementation is its speed, which is often within a factor of two relative to fully optimized C code (and thus often an order of magnitude faster than Python or [[R (programming language)|R]]).<ref name="Julia-TR">{{cite web
Julia's core is implemented in Julia and [[C (programming language)|C]]<!--C99, except for 0.4 needing C11 because of static asserts-->, together with [[C++]] for the [[LLVM]] dependency. The parsing and code-lowering are implemented in FemtoLisp, a [[Scheme (programming language)|Scheme]] dialect.<ref name="JeffBezanson 2019">{{cite web | author=JeffBezanson | title=JeffBezanson/femtolisp | website=GitHub | date=June 6, 2019 | url=https://github.com/JeffBezanson/femtolisp | access-date=June 16, 2019}}</ref> The LLVM compiler infrastructure project is used as the [[Compiler#Back end|back end]] for generation of [[64-bit computing|64-bit]] or [[32-bit]] optimized [[machine code]] depending on the platform Julia runs on. With some exceptions (e.g., [[PCRE]]), the [[standard library]] is implemented in Julia. The most notable aspect of Julia's implementation is its speed, which is often within a factor of two relative to fully optimized C code (and thus often an order of magnitude faster than Python or [[R (programming language)|R]]).<ref name="Julia-TR">{{cite web
| format = PDF
| format = PDF
| title = Julia: A Fast Dynamic Language for Technical Computing
| title = Julia: A Fast Dynamic Language for Technical Computing
Line 287: Line 287:


-->
-->
Julia is now supported in [[Raspbian]]<ref>{{cite web |url=https://julialang.org/blog/2017/05/raspberry-pi-julia |title=Julia available in Raspbian on the Raspberry Pi |quote=Julia works on all the Pi variants, we recommend using the Pi 3.}}</ref> while support is better for newer Pis, e.g. those with ARMv7 or newer; the Julia support is promoted by the [[Raspberry Pi Foundation]].<ref>{{cite web |url=https://www.raspberrypi.org/blog/julia-language-raspberry-pi/ |title=Julia language for Raspberry Pi |work=[[Raspberry Pi Foundation]]}}</ref> There's also support for web browsers/[[JavaScript]] through JSExpr.jl;<ref name="JSExpr">{{Cite web|title=Translate Julia to JavaScript |date=2019-07-07|url=https://github.com/JuliaGizmos/JSExpr.jl|publisher=JuliaGizmos|access-date=2019-07-25}}</ref> and the alternative language of web browsers, [[WebAssembly]], has support<ref name="WebAssembly">{{Cite web|last=Fischer|first=Keno|title=Running julia on wasm|date=2019-07-22|url=https://github.com/Keno/julia-wasm|access-date=2019-07-25}}</ref> through minimal support in Julia itself, that supports several upcoming external Julia projects.
Julia is now supported in [[Raspbian]]<ref>{{cite web |url=https://julialang.org/blog/2017/05/raspberry-pi-julia |title=Julia available in Raspbian on the Raspberry Pi |quote=Julia works on all the Pi variants, we recommend using the Pi 3.}}</ref> while support is better for newer Pis, e.g. those with ARMv7 or newer; the Julia support is promoted by the [[Raspberry Pi Foundation]].<ref>{{cite web |url=https://www.raspberrypi.org/blog/julia-language-raspberry-pi/ |title=Julia language for Raspberry Pi |work=[[Raspberry Pi Foundation]]}}</ref> There's also support for web browsers/[[JavaScript]] through JSExpr.jl;<ref name="JSExpr">{{Cite web|title=Translate Julia to JavaScript |date=2019-07-07|url=https://github.com/JuliaGizmos/JSExpr.jl|publisher=JuliaGizmos|access-date=2019-07-25}}</ref> and the alternative language of web browsers, [[WebAssembly]], has support<ref name="WebAssembly">{{Cite web|last=Fischer|first=Keno|title=Running julia on wasm|date=2019-07-22|url=https://github.com/Keno/julia-wasm|access-date=2019-07-25}}</ref> through minimal support in Julia, that supports several upcoming external Julia projects.
<!--
<!--
Julia supports [[64-bit computing|64-bit]] [[ARM architecture|ARM]] and [[PowerPC]] and "fully supports [[ARMv8]] ([[AArch64]]) processors, and supports ARMv7 and ARMv6 (AArch32) with some caveats"<ref>https://github.com/JuliaLang/julia/blob/master/README.arm.md</ref><ref>https://github.com/JuliaLang/julia/issues/10791#issuecomment-91735439</ref> and [[PowerPC]] being worked on, with almost no open specific issues,<ref>https://github.com/JuliaLang/julia/labels/Power</ref><ref>{{cite web |url=https://groups.google.com/forum/#!topic/julia-dev/BYVCyUlNR8c |title=Porting Julia to PowerPC |quote=Wow, the latest git allows me to build to completion. |accessdate=9 May 2015}}</ref> with [[Executable|binaries]] available for [[POWER7]] ("due to some small support from [[IBM]]") and [[POWER8]], that are expected to have official beta support as of 0.5 (at least for non-parallel support).<ref>{{cite web |url=https://groups.google.com/forum/#!topic/julia-users/xB0k7XMBNqM |title=IBM Power port |quote=I am hoping we can have beta support from the 0.5 release onwards for sequential julia. We were able to do this work due to some small support from IBM.}}</ref>
Julia supports [[64-bit computing|64-bit]] [[ARM architecture|ARM]] and [[PowerPC]] and "fully supports [[ARMv8]] ([[AArch64]]) processors, and supports ARMv7 and ARMv6 (AArch32) with some caveats"<ref>https://github.com/JuliaLang/julia/blob/master/README.arm.md</ref><ref>https://github.com/JuliaLang/julia/issues/10791#issuecomment-91735439</ref> and [[PowerPC]] being worked on, with almost no open specific issues,<ref>https://github.com/JuliaLang/julia/labels/Power</ref><ref>{{cite web |url=https://groups.google.com/forum/#!topic/julia-dev/BYVCyUlNR8c |title=Porting Julia to PowerPC |quote=Wow, the latest git allows me to build to completion. |accessdate=9 May 2015}}</ref> with [[Executable|binaries]] available for [[POWER7]] ("due to some small support from [[IBM]]") and [[POWER8]], that are expected to have official beta support as of 0.5 (at least for non-parallel support).<ref>{{cite web |url=https://groups.google.com/forum/#!topic/julia-users/xB0k7XMBNqM |title=IBM Power port |quote=I am hoping we can have beta support from the 0.5 release onwards for sequential julia. We were able to do this work due to some small support from IBM.}}</ref>
Line 297: Line 297:
An unofficial Julia-lite,<ref>https://github.com/ScottPJones/julia/tree/spj/lite</ref>a trimmed down fork (by now outdated) is a available. Officially Julia has been dropping dependencies and features from the standard library, to make GPL-free (one left), so it's also the official plan.
An unofficial Julia-lite,<ref>https://github.com/ScottPJones/julia/tree/spj/lite</ref>a trimmed down fork (by now outdated) is a available. Officially Julia has been dropping dependencies and features from the standard library, to make GPL-free (one left), so it's also the official plan.
-->
-->
Julia can compile to ARM; thus in theory [[Android app]]s can be made, but for now only Julia itself (and most packages) has been made to run under [[Android (operating system)|Android]] indirectly, i.e. in Ubuntu on Android.<ref>{{Cite web|url=https://discourse.julialang.org/t/using-julia-on-android/8086/7|title=Using Julia on Android?|date=2019-09-27|website=JuliaLang|language=en-US|access-date=2019-10-02}}</ref>
Julia can compile to ARM; thus, in theory, [[Android app]]s can be made, but for now only Julia (and most packages) has been made to run under [[Android (operating system)|Android]] indirectly, ''i.e.'', in Ubuntu on Android.<ref>{{Cite web|url=https://discourse.julialang.org/t/using-julia-on-android/8086/7|title=Using Julia on Android?|date=2019-09-27|website=JuliaLang|language=en-US|access-date=2019-10-02}}</ref>


==See also==
==See also==
Line 315: Line 315:


==External links==
==External links==
{{wikibook|Introducing Julia}}
{{Wikibooks|Introducing Julia}}
* {{Official website|https://julialang.org}}
* {{Official website|https://julialang.org}}
* [https://github.com/JuliaLang/julia Source code]
* [https://github.com/JuliaLang/julia Source code]
Line 360: Line 360:
[[Category:Homoiconic programming languages]]
[[Category:Homoiconic programming languages]]
[[Category:Articles with example Julia code]]
[[Category:Articles with example Julia code]]
[[Category:Free software programmed in Julia]] <!--Julia is written, mostly, in Julia itself-->
[[Category:Free software programmed in Julia]] <!-- Julia is written, mostly, in Julia -->

Revision as of 17:33, 13 April 2020

Julia
ParadigmMulti-paradigm: multiple dispatch (core), procedural, functional, meta, multistaged[1]
Designed byJeff Bezanson, Alan Edelman, Stefan Karpinski, Viral B. Shah
DeveloperJeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors[2][3]
First appeared2012; 12 years ago (2012)[4]
Stable release
1.4.0[5] / 21 March 2020; 4 years ago (2020-03-21)
Preview release
1.5.0-DEV with daily updates (and 1.4.1 worked on[6])
Typing disciplineDynamic, nominative, parametric, optional
Implementation languageJulia, C, C++, Scheme, LLVM[7]
PlatformTier 1: x86-64, IA-32, CUDA
Tier 2: ARM (both 32- and 64-bit)
Tier 3: PowerPC
Also has web browser support (for JavaScript and WebAssembly)[8] and works in Android.
OSLinux, macOS, Windows and FreeBSD
LicenseMIT (core),[2] GPL v2;[7][9] a makefile option omits GPL libraries[10]
Filename extensions.jl
WebsiteJuliaLang.org
Influenced by

Julia is a high-level, high-performance, dynamic programming language. While it is a general purpose language and can be used to write any application, many of its features are well-suited for high-performance numerical analysis and computational science.[14][15][16][17]

Distinctive aspects of Julia's design include a type system with parametric polymorphism in a dynamic programming language; with multiple dispatch as its core programming paradigm. Julia supports concurrent, (composable) parallel and distributed computing (with or without using MPI[18] and/or the built-in corresponding[19] to "OpenMP-style" threads[20]), and direct calling of C and Fortran libraries without glue code. A just-in-time compiler that is referred to as "just-ahead-of-time"[21] in the Julia community is used.

Julia is garbage-collected,[22] uses eager evaluation, and includes efficient libraries for floating-point calculations, linear algebra, random number generation, and regular expression matching. Many libraries are available, including some (e.g., for fast Fourier transforms) that were previously bundled with Julia and are now separate.[23]

Tools available for Julia include, not just many widely used editors, such as Vim and Emacs, but also IDEs (e.g. Juno, and Microsoft's Visual Studio Code, with extensions adding Julia support, both providing debugging support); with integrated tools, e.g. a linter,[24] profiler (and flame graph support available[25][26] for the built-in one), debugger,[27] and the Rebugger.jl package "supports repeated-execution debugging"[a] and more.[29]

History

Work on Julia was started in 2009, by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and Alan Edelman, who set out to create a free language that was both high-level and fast. On 14 February 2012, the team launched a website with a blog post explaining the language's mission.[30] In an interview with InfoWorld in April 2012, Karpinski said of the name "Julia": "There's no good reason, really. It just seemed like a pretty name."[31] Bezanson said he chose the name on the recommendation of a friend.[32]

Since the 2012 launch, the Julia community has grown, with over 13,000,000 downloads as of March 2020 (and is used at more than 1,500 universities),[33][34][35] The Official Julia Docker images, at Docker Hub, have seen over 4,000,000 downloads as of January 2019.[36][37] The JuliaCon[38] academic conference for Julia users and developers has been held annually since 2014.

Version 0.3 was released in August 2014, version 0.4 in October 2015, version 0.5 in October 2016,[39] and version 0.6 in June 2017.[40] Both Julia 0.7 (a useful release for testing packages, and for knowing how to upgrade them for 1.0[41]) and version 1.0 were released on 8 August 2018. Work on Julia 0.7 was a "huge undertaking" (e.g., because of "entirely new optimizer"), and some changes were made to semantics, e.g. the iteration interface was simplified;[42] and the syntax changed a little (with the syntax now stable, and same for 1.x and 0.7).

The release candidate for Julia 1.0 (Julia 1.0.0-rc1) was released on 7 August 2018, and the final version a day later (and by now, Julia 1.0.x are the oldest versions still supported, having long-term support; for at least a year). Julia 1.1 was released in January 2019 with, e.g., a new "exception stack" language feature. Bugfix releases are expected roughly monthly, for 1.4.x and 1.0.x and Julia 1.0.1 up to 1.0.5 have followed that schedule. Julia 1.2 was released in August 2019, and it has e.g. some built-in support for web browsers (for testing if running in JavaScript VM),[43] and Julia 1.4 in March 2020 (and with it Julia 1.3.x, 1.2.x and Julia 1.1.x releases are no longer maintained). Julia 1.3 added e.g. composable multi-threaded parallelism and a binary artifacts system for Julia packages.[44]

Julia 1.4 allowed better syntax for array indexing to handle e.g. 0-based arrays, with A[begin+1] for second element of array A.[45] It also changed the memory model.[46]

Most packages that work in Julia 1.0.x also work in 1.1.x or newer, enabled by the forward compatible syntax guarantee. A major exception was, for interacting with non-Julia code, the JavaCall.jl package (however calling other languages, e.g. R language works, with the package for R fixed[47]) to call Java, Scala etc. This was fixed by Java 11,[48] or alternatively to use those languages with Julia (on older JVM), for e.g. JDBC.jl or Apache Spark (through Spark.jl), users could choose to stay with the LTS version of Julia.[49] Julia 1.4 had a milestone set for 15 December 2019 and for Julia 1.5 the due date is 15 April 2020. Milestones for Julia 2.0 (and later, e.g. 3.0) currently have no set due dates.[50]

Notable uses

Julia has attracted some high-profile users, from investment manager BlackRock, which uses it for time-series analytics, to the British insurer Aviva, which uses it for risk calculations. In 2015, the Federal Reserve Bank of New York used Julia to make models of the United States economy, noting that the language made model estimation "about 10 times faster" than its previous MATLAB implementation. Julia's co-founders established Julia Computing in 2015 to provide paid support, training, and consulting services to clients, though Julia remains free to use. At the 2017 JuliaCon[51] conference, Jeffrey Regier, Keno Fischer and others announced[52] that the Celeste project[53] used Julia to achieve "peak performance of 1.54 petaFLOPS using 1.3 million threads"[54] on 9300 Knights Landing (KNL) nodes of the Cori II (Cray XC40) supercomputer (then 6th fastest computer in the world).[55] Julia thus joins C, C++, and Fortran as high-level languages in which petaFLOPS computations have been achieved.

Three of the Julia co-creators are the recipients of the 2019 James H. Wilkinson Prize for Numerical Software (awarded every four years) "for the creation of Julia, an innovative environment for the creation of high-performance tools that enable the analysis and solution of computational science problems."[56] Also, Alan Edelman, professor of applied mathematics at MIT, has been selected to receive the 2019 IEEE Computer Society Sidney Fernbach Award "for outstanding breakthroughs in high-performance computing, linear algebra, and computational science and for contributions to the Julia programming language."[57]

Julia Computing and NVIDIA announce "the availability of the Julia programming language as a pre-packaged container on the NVIDIA GPU Cloud (NGC) container registry"[58] with NVIDIA stating "Easily Deploy Julia on x86 and Arm [..] Julia offers a package for a comprehensive HPC ecosystem covering machine learning, data science, various scientific domains and visualization."[59]

Additionally, "Julia was selected by the Climate Modeling Alliance as the sole implementation language for their next generation global climate model. This multi-million dollar project aims to build an earth-scale climate model providing insight into the effects and challenges of climate change."[58]

Sponsors

Julia has received contributions from over 870 developers worldwide.[60] Dr. Jeremy Kepner at MIT Lincoln Laboratory was the founding sponsor of the Julia project in its early days. In addition, funds from the Gordon and Betty Moore Foundation, the Alfred P. Sloan Foundation, Intel, and agencies such as NSF, DARPA, NIH, NASA, and FAA have been essential to the development of Julia.[61] In addition Mozilla, the maker of Firefox web browser, with its research grants for H1 2019, sponsored "a member of the official Julia team" for the project "Bringing Julia to the Browser",[62] meaning to Firefox and other web browsers.[63][64][65][66]

Julia Computing

Julia Computing, Inc. was founded in 2015 by Viral B. Shah, Deepak Vinchhi, Alan Edelman, Jeff Bezanson, Stefan Karpinski and Keno Fischer.[67]

In June 2017, Julia Computing raised $4.6M in seed funding from General Catalyst and Founder Collective.[68]

Language features

Though designed for numerical computing, Julia is a general-purpose programming language.[69] It is also useful for low-level systems programming,[70] as a specification language,[71] and for web programming at both server[72][73] and client[74][8] side.

According to the official website, the main features of the language are:

  • Multiple dispatch: providing ability to define function behavior across many combinations of argument types
  • Dynamic type system: types for documentation, optimization, and dispatch
  • Good performance, approaching that of statically-typed languages like C
  • A built-in package manager
  • Lisp-like macros and other metaprogramming facilities
  • Call Python functions: use the PyCall package[b]
  • Call C functions directly: no wrappers or special APIs
  • Powerful shell-like abilities to manage other processes
  • Designed for parallel and distributed computing
  • Coroutines: lightweight green threading
  • User-defined types are as fast and compact as built-ins
  • Automatic generation of efficient, specialized code for different argument types
  • Elegant and extensible conversions and promotions for numeric and other types
  • Efficient support for Unicode, including but not limited to UTF-8

Multiple dispatch (also termed multimethods in Lisp) is a generalization of single dispatch — the polymorphic mechanism used in common object-oriented programming (OOP) languages — that uses inheritance. In Julia, all concrete types are subtypes of abstract types, directly or indirectly subtypes of the Any type, which is the top of the type hierarchy. Concrete types can not themselves be subtyped the way they can in other languages; composition is used instead (see also inheritance vs subtyping).

Julia draws significant inspiration from various dialects of Lisp, including Scheme and Common Lisp, and it shares many features with Dylan, also a multiple-dispatch-oriented dynamic language (which features an ALGOL-like free-form infix syntax rather than a Lisp-like prefix syntax, while in Julia "everything"[78] is an expression), and with Fortress, another numerical programming language (which features multiple dispatch and a sophisticated parametric type system). While Common Lisp Object System (CLOS) adds multiple dispatch to Common Lisp, not all functions are generic functions.

In Julia, Dylan, and Fortress extensibility is the default, and the system's built-in functions are all generic and extensible. In Dylan, multiple dispatch is as fundamental as it is in Julia: all user-defined functions and even basic built-in operations like + are generic. Dylan's type system, however, does not fully support parametric types, which are more typical of the ML lineage of languages. By default, CLOS does not allow for dispatch on Common Lisp's parametric types; such extended dispatch semantics can only be added as an extension through the CLOS Metaobject Protocol. By convergent design, Fortress also features multiple dispatch on parametric types; unlike Julia, however, Fortress is statically rather than dynamically typed, with separate compiling and executing phases. The language features are summarized in the following table:

Language Type system Generic functions Parametric types
Julia Dynamic Default Yes
Common Lisp Dynamic Opt-in Yes (but no dispatch)
Dylan Dynamic Default Partial (no dispatch)
Fortress Static Default Yes

By default, the Julia runtime must be pre-installed as user-provided source code is run. Alternatively, a standalone executable that needs no Julia source code can be built with ApplicationBuilder.jl[79] and PackageCompiler.jl.[80]

Julia's syntactic macros (used for metaprogramming), like Lisp macros, are more powerful than text-substitution macros used in the preprocessor of some other languages such as C, because they work at the level of abstract syntax trees (ASTs). Julia's macro system is hygienic, but also supports deliberate capture when desired (like for anaphoric macros) using the esc construct.

Interaction

The Julia official distribution includes a "full-featured interactive command-line REPL" (read–eval–print loop),[81] with a searchable history, tab-completion, many helpful keybindings, and dedicated help and shell modes;[82] which can be used to experiment and test code quickly.[83] The following fragment represents a sample session example where strings are concatenated automatically by println:[84]

julia> p(x) = 2x^2 + 1; f(x, y) = 1 + 2p(x)y
julia> println("Hello world!", " I'm on cloud ", f(0, 4), " as Julia supports recognizable syntax!")
Hello world! I'm on cloud 9 as Julia supports recognizable syntax!

The REPL gives user access to the system shell and to help mode, by pressing ; or ? after the prompt (preceding each command), respectively. It also keeps the history of commands, including between sessions.[85] Code that can be tested inside the Julia's interactive section or saved into a file with a .jl extension and run from the command line by typing:[78]

 $ julia <filename>

Julia is supported by Jupyter, an online interactive "notebooks" environment.[86]

Use with other languages

Julia is in practice interoperable with many languages. Julia's ccall keyword is used to call C-exported or Fortran shared library functions individually.

Julia has support for Unicode 12.1 (support for current Unicode 13.0 has been implemented[87] for Julia 1.5), which added only one letter since Unicode 12.0[88], with UTF-8 used for strings (by default) and for Julia source code (only allowing legal UTF-8 in latest version), meaning also allowing as an option common math symbols for many operators, such as ∈ for the in operator.

Julia has packages supporting markup languages such as HTML (and also for HTTP), XML, JSON and BSON, and for databases and web use in general.

Usage

Libraries such as Flux and Knet implement complete machine-learning frameworks written completely in Julia. Apache MXNet and TensorFlow are also available through wrapper libraries. Turing and Gen implement general-purpose probabilistic programming languages into Julia. Pharmacokinetic modeling and simulations are made available through the Pumas suite.

Implementation

Julia's core is implemented in Julia and C, together with C++ for the LLVM dependency. The parsing and code-lowering are implemented in FemtoLisp, a Scheme dialect.[89] The LLVM compiler infrastructure project is used as the back end for generation of 64-bit or 32-bit optimized machine code depending on the platform Julia runs on. With some exceptions (e.g., PCRE), the standard library is implemented in Julia. The most notable aspect of Julia's implementation is its speed, which is often within a factor of two relative to fully optimized C code (and thus often an order of magnitude faster than Python or R).[90][91][92] Development of Julia began in 2009 and an open-source version was publicized in February 2012.[4][93]

Current and future platforms

While Julia uses JIT, Julia generates native machine code directly, before a function is first run (not bytecodes that are run on a virtual machine (VM) or translated as the bytecode is running, as with, e.g., Java; the JVM or Dalvik in Android).

Julia has four support tiers,[94] and currently supports all x86-64 processors, that are 64-bit (and is more optimized for the latest generations) and all IA-32 ("x86") processors except for decades old ones, i.e., in 32-bit mode ("i686", excepting CPUs from the pre-Pentium 4-era); and supports more in lower tiers, e.g., ARM has tier 2 support: Julia "fully supports ARMv8 (AArch64) processors, and supports ARMv7 and ARMv6 (AArch32) with some caveats."[95] CUDA (i.e. Nvidia GPUs; implementing PTX) has tier 1 support, with the help of an external package. There are also additionally packages supporting other accelerators, such as Google's TPUs,[96] and AMD's GPUs also have support with e.g. OpenCL. Julia's downloads page provides executables (and source) for all the officially supported platforms.

On some platforms, Julia may need to be compiled from source code (e.g., the original Raspberry Pi), with specific build options. Julia has been "successfully built" on several ARM platforms, up to, e.g., "ARMv8 Data Center & Cloud Processors", such as Cavium ThunderX (first ARM with 48 cores). PowerPC (64-bit) has tier 3 support meaning "may or may not build". Julia is now supported in Raspbian[97] while support is better for newer Pis, e.g. those with ARMv7 or newer; the Julia support is promoted by the Raspberry Pi Foundation.[98] There's also support for web browsers/JavaScript through JSExpr.jl;[74] and the alternative language of web browsers, WebAssembly, has support[8] through minimal support in Julia, that supports several upcoming external Julia projects. Julia can compile to ARM; thus, in theory, Android apps can be made, but for now only Julia (and most packages) has been made to run under Android indirectly, i.e., in Ubuntu on Android.[99]

See also

Notes

  1. ^ [With Rebugger.jl] you can:
    • test different modifications to the code or arguments as many times as you want; you are never forced to exit “debug mode” and save your file
    • run the same chosen block of code repeatedly (perhaps trying out different ways of fixing a bug) without needing to repeat any of the “setup” work that might have been necessary to get to some deeply nested method in the original call stack.[28]
  2. ^ For calling the newer Python 3 (the older default to call Python 2, is also still supported)[75][76] and calling in the other direction, from Python to Julia, is also supported with pyjulia.[77]

References

  1. ^ "Smoothing data with Julia's @generated functions". 5 November 2015. Retrieved 9 December 2015. Julia's generated functions are closely related to the multistaged programming (MSP) paradigm popularized by Taha and Sheard, which generalizes the compile time/run time stages of program execution by allowing for multiple stages of delayed code execution.
  2. ^ a b "LICENSE.md". GitHub.
  3. ^ "Contributors to JuliaLang/julia". GitHub.
  4. ^ a b c d e f g h "Why We Created Julia". Julia website. February 2012. Retrieved 7 February 2013.
  5. ^ "v1.4.0". Github.com. 21 March 2020. Retrieved 21 March 2020.
  6. ^ https://github.com/JuliaLang/julia/pull/35229
  7. ^ a b "Julia". Julia. NumFocus project. Retrieved 9 December 2016. Julia's Base library, largely written in Julia itself, also integrates mature, best-of-breed open source C and Fortran libraries for ...
  8. ^ a b c Fischer, Keno (22 July 2019). "Running julia on wasm". Retrieved 25 July 2019.
  9. ^ "Non-GPL Julia?". Groups.google.com. Retrieved 31 May 2017.
  10. ^ "Introduce USE_GPL_LIBS Makefile flag to build Julia without GPL libraries". Note that this commit does not remove GPL utilities such as git and busybox that are included in the Julia binary installers on Mac and Windows. It allows building from source with no GPL library dependencies.
  11. ^ a b c d "Home · The Julia Language". docs.julialang.org. Retrieved 15 August 2018.
  12. ^ "Programming Language Network". GitHub. Retrieved 6 December 2016.
  13. ^ "JuliaCon 2016". JuliaCon. Retrieved 6 December 2016. He has co-designed the programming language Scheme, which has greatly influenced the design of Julia
  14. ^ Bryant, Avi (15 October 2012). "Matlab, R, and Julia: Languages for data analysis". O'Reilly Strata. Archived from the original on 26 April 2014.
  15. ^ Singh, Vicky (23 August 2015). "Julia Programming Language – A True Python Alternative". Technotification.
  16. ^ Krill, Paul (18 April 2012). "New Julia language seeks to be the C for scientists". InfoWorld.
  17. ^ Finley, Klint (3 February 2014). "Out in the Open: Man Creates One Programming Language to Rule Them All". Wired.
  18. ^ "GitHub - JuliaParallel/MPI.jl: MPI wrappers for Julia". Parallel Julia. Retrieved 22 September 2019.
  19. ^ "Questions about getting started with parallel computing". JuliaLang. 16 June 2019. Retrieved 8 October 2019.
  20. ^ "Julia and Concurrency". JuliaLang. 24 June 2019. Retrieved 22 September 2019.
  21. ^ Fischer, Keno; Nash, Jameson. "Growing a Compiler - Getting to Machine Learning from a General Purpose Compiler". Julia Computing Blog. Retrieved 11 April 2019.
  22. ^ "Suspending Garbage Collection for Performance...good idea or bad idea?". Groups.google.com. Retrieved 31 May 2017.
  23. ^ now available with using FFTW in current versions (That dependency, is one of many which, was moved out of the standard library to a package because it is GPL licensed, and thus is not included in Julia 1.0 by default.) "Remove the FFTW bindings from Base by ararslan · Pull Request #21956 · JuliaLang/julia". GitHub. Retrieved 1 March 2018.
  24. ^ "ANN: linter-julia plugin for Atom / Juno". JuliaLang. 15 February 2017. Retrieved 10 April 2019.
  25. ^ Holy, Tim (13 September 2019), GitHub - timholy/ProfileView.jl: Visualization of Julia profiling data., retrieved 22 September 2019
  26. ^ Gregg, Brendan (20 September 2019), GitHub - brendangregg/FlameGraph: Stack trace visualizer., retrieved 22 September 2019
  27. ^ "A Julia interpreter and debugger". julialang.org. Retrieved 10 April 2019.
  28. ^ "[ANN] Rebugger: interactive debugging for Julia 0.7/1.0". JuliaLang. 21 August 2018. Retrieved 10 April 2019.
  29. ^ "Home · Rebugger.jl". timholy.github.io. Retrieved 10 April 2019.
  30. ^ Jeff Bezanson, Stefan Karpinski, Viral Shah, Alan Edelman. "Why We Created Julia". JuliaLang.org. Retrieved 5 June 2017.{{cite web}}: CS1 maint: multiple names: authors list (link)
  31. ^ Stefan Karpinski, New Julia language seeks to be the C for scientists, InfoWorld, 18 April 2012
  32. ^ Torre, Charles. "Stefan Karpinski and Jeff Bezanson on Julia". Channel 9. MSDN. Retrieved 4 December 2018.
  33. ^ "Julia Computing". juliacomputing.com. Retrieved 5 April 2020. {{cite web}}: Cite has empty unknown parameter: |1= (help)
  34. ^ "Newsletter November 2019". juliacomputing.com. 7 November 2019. Retrieved 29 November 2019.
  35. ^ "Julia Computing Newsletter, Growth Metrics". juliacomputing.com. Retrieved 11 February 2019.
  36. ^ "Newsletter January 2019". juliacomputing.com. 4 January 2019. Retrieved 20 August 2019.
  37. ^ https://hub.docker.com/_/julia
  38. ^ "JuliaCon website". juliacon.org. Retrieved 10 May 2018.
  39. ^ The Julia Blog
  40. ^ https://julialang.org/blog/2017/06/julia-0.6-release
  41. ^ "What is Julia 0.7? How does it relate to 1.0?". JuliaLang. Retrieved 17 October 2018.
  42. ^ "Writing Iterators in Julia 0.7". julialang.org. Retrieved 5 August 2018. {{cite web}}: Unknown parameter |authors= ignored (help)
  43. ^ "Sys.isjsvm([os])". The Julia Language. 20 August 2019. Retrieved 20 August 2019. Predicate for testing if Julia is running in a JavaScript VM (JSVM), including e.g. a WebAssembly JavaScript embedding in a web browser.
  44. ^ "The Julia Language". julialang.org. Jeff Bezanson, Stefan Karpinski, Viral Shah, Alan Edelman, et al. Retrieved 13 December 2019.{{cite web}}: CS1 maint: others (link)
  45. ^ "support a[begin] for a[firstindex(a)] by stevengj · Pull Request #33946 · JuliaLang/julia". GitHub. Retrieved 7 April 2020.
  46. ^ quinnj. "For structs with all isbits or isbitsunion fields, allow them to be stored inline in arrays · Pull Request #32448 · JuliaLang/julia". GitHub. Retrieved 7 April 2020. I still keep running into problems that this causes internally because it was a breaking change that changes assumptions made by some users and inference/codegen.
  47. ^ "Fix for C stack checking issues on 1.1 by simonbyrne · Pull Request #293 · JuliaInterop/RCall.jl". GitHub. Retrieved 10 August 2019.
  48. ^ "StackOverflowError in `JavaCall.init` for Julia 1.1.0 · Issue #96 · JuliaInterop/JavaCall.jl". GitHub. Retrieved 21 October 2019.
  49. ^ "JVM fails to load in 1.1 (JavaCall.jl) · Issue #31104 · JuliaLang/julia". GitHub. Retrieved 18 August 2019. JeffBezanson modified the milestones: 1.3, 1.4
  50. ^ "Milestones - JuliaLang/julia". The Julia Language. Retrieved 13 December 2019.
  51. ^ "JuliaCon 2017". juliacon.org. Retrieved 4 June 2017.
  52. ^ Fisher, Keno. "The Celeste Project". juliacon.org. Retrieved 24 June 2017.
  53. ^ Regier, Jeffrey; Pamnany, Kiran; Giordano, Ryan; Thomas, Rollin; Schlegel, David; McAulife, Jon; Prabat (2016). "Learning an Astronomical Catalog of the Visible Universe through Scalable Bayesian Inference". arXiv:1611.03404 [cs.DC].
  54. ^ Claster, Andrew (12 September 2017). "Julia Joins Petaflop Club". Julia Computing (Press release). Celeste is written entirely in Julia, and the Celeste team loaded an aggregate of 178 terabytes of image data to produce the most accurate catalog of 188 million astronomical objects in just 14.6 minutes [..] a performance improvement of 1,000x in single-threaded execution.
  55. ^ Shah, Viral B. (15 November 2017). ". @KenoFischer is speaking on Celeste in the @Intel theatre at @Supercomputing. 0.65M cores, 56 TB of data, Cori - world's 6th largest supecomputer.pic.twitter.com/21nLHo1qty". @Viral_B_Shah. Retrieved 15 September 2019.
  56. ^ "Julia language co-creators win James H. Wilkinson Prize for Numerical Software". MIT News. Retrieved 22 January 2019.
  57. ^ "Alan Edelman of MIT Recognized with Prestigious 2019 IEEE Computer Society Sidney Fernbach Award | IEEE Computer Society" (Press release). 1 October 2019. Retrieved 9 October 2019.
  58. ^ a b "Julia Computing and NVIDIA Bring Julia GPU Computing to Arm". juliacomputing.com. 3 December 2019. Retrieved 3 December 2019.
  59. ^ Patel, Chintan (19 November 2019). "NVIDIA Expands Support for Arm with HPC, AI, Visualization Containers on NGC | NVIDIA Blog". The Official NVIDIA Blog. Retrieved 3 December 2019.
  60. ^ "JuliaLang/julia: The Julia Language: A fresh approach to technical computing". The Julia Language. 26 January 2019. Retrieved 26 January 2019.
  61. ^ "The Julia Language". julialang.org. Retrieved 22 September 2019.
  62. ^ Cimpanu, Catalin. "Mozilla is funding a way to support Julia in Firefox". ZDNet. Retrieved 22 September 2019.
  63. ^ "Julia in Iodide". alpha.iodide.io. Retrieved 22 September 2019.
  64. ^ "Language plugins - Iodide Documentation". iodide-project.github.io. Retrieved 22 September 2019.
  65. ^ "Mozilla Research Grants 2019H1". Mozilla. Retrieved 22 September 2019. running language interpreters in WebAssembly. To further increase access to leading data science tools, we're looking for someone to port R or Julia to WebAssembly and to attempt to provide a level 3 language plugin for Iodide: automatic conversion of data basic types between R/Julia and Javascript, and the ability to share class instances between R/Julia and Javascript.
  66. ^ "Literate scientific computing and communication for the web: iodide-project/iodide". iodide. 20 September 2019. Retrieved 22 September 2019. We envision a future workflow that allows you to do your data munging in Python, fit a quick model in R or JAGS, solve some differential equations in Julia, and then display your results with a live interactive d3+JavaScript visualization... and all that within within a single, portable, sharable, and hackable file.
  67. ^ "About Us – Julia Computing". juliacomputing.com. Retrieved 12 September 2017.
  68. ^ https://juliacomputing.com/communication/2017/06/19/seed-funding.html
  69. ^ "The Julia Language" (official website). General Purpose [..] Julia lets you write UIs, statically compile your code, or even deploy it on a webserver.
  70. ^ Green, Todd (10 August 2018). "Low-Level Systems Programming in High-Level Julia". Archived from the original on 5 November 2018. Retrieved 5 November 2018.
  71. ^ Moss, Robert (26 June 2015). "Using Julia as a Specification Language for the Next-Generation Airborne Collision Avoidance System". Archived from the original on 1 July 2015. Retrieved 29 June 2015. Airborne collision avoidance system
  72. ^ Anaya, Richard (28 April 2019). "How to create a multi-threaded HTTP server in Julia". Medium. Retrieved 25 July 2019. In summary, even though Julia lacks a multi-threaded server solution currently out of box, we can easily take advantage of its process distribution features and a highly popular load balancing tech to get full CPU utilization for HTTP handling.
  73. ^ Anthoff, David (1 June 2019). "Node.js installation for julia". Retrieved 25 July 2019.
  74. ^ a b "Translate Julia to JavaScript". JuliaGizmos. 7 July 2019. Retrieved 25 July 2019.
  75. ^ "PyCall.jl". stevengj. github.com.
  76. ^ "Using PyCall in julia on Ubuntu with python3". julia-users at Google Groups. to import modules (e.g., python3-numpy)
  77. ^ "python interface to julia".
  78. ^ a b "Learn Julia in Y Minutes". Learnxinyminutes.com. Retrieved 31 May 2017.
  79. ^ Daly, Nathan (13 February 2019). "GitHub - NHDaly/ApplicationBuilder.jl: Compile, bundle, and release julia software". Retrieved 15 February 2019.
  80. ^ "GitHub - JuliaLang/PackageCompiler.jl: Compile your Julia Package". The Julia Language. 14 February 2019. Retrieved 15 February 2019.
  81. ^ "The Julia REPL · The Julia Language". docs.julialang.org. Retrieved 22 September 2019.
  82. ^ "Introducing Julia/The REPL - Wikibooks, open books for an open world". en.wikibooks.org. Retrieved 22 September 2019. you can install the Julia package OhMyREPL.jl (https://github.com/KristofferC/OhMyREPL.jl) which lets you customize the REPL's appearance and behaviour {{cite web}}: External link in |quote= (help)
  83. ^ "Getting Started · The Julia Language". docs.julialang.org. Retrieved 15 August 2018.
  84. ^ See also: https://docs.julialang.org/en/v1/manual/strings/ for string interpolation and the string(greet, ", ", whom, ".\n") example for preferred ways to concatenate strings. Julia has the println and print functions, but also a @printf macro (i.e., not in function form) to eliminate run-time overhead of formatting (unlike the same function in C).
  85. ^ "Julia Documentation". JuliaLang.org. Retrieved 18 November 2014.
  86. ^ "Project Jupyter".
  87. ^ "Unicode 13 support by stevengj · Pull Request #179 · JuliaStrings/utf8proc". GitHub. Retrieved 29 March 2020.
  88. ^ "support for Unicode 12.1.0 by stevengj · Pull Request #32002 · JuliaLang/julia". GitHub. Retrieved 12 May 2019.
  89. ^ JeffBezanson (6 June 2019). "JeffBezanson/femtolisp". GitHub. Retrieved 16 June 2019.
  90. ^ "Julia: A Fast Dynamic Language for Technical Computing" (PDF). 2012.
  91. ^ "How To Make Python Run As Fast As Julia". 2015.
  92. ^ "Basic Comparison of Python, Julia, R, Matlab and IDL". 2015.
  93. ^ Gibbs, Mark (9 January 2013). "Pure and Julia are cool languages worth checking out". Network World (column). Retrieved 7 February 2013.
  94. ^ "Julia Downloads". julialang.org. Retrieved 17 May 2019.
  95. ^ "julia/arm.md". The Julia Language. 29 November 2019. Retrieved 29 November 2019. A list of known issues for ARM is available. {{cite web}}: External link in |quote= (help)
  96. ^ Julia on TPUs, JuliaTPU, 26 November 2019, retrieved 29 November 2019
  97. ^ "Julia available in Raspbian on the Raspberry Pi". Julia works on all the Pi variants, we recommend using the Pi 3.
  98. ^ "Julia language for Raspberry Pi". Raspberry Pi Foundation.
  99. ^ "Using Julia on Android?". JuliaLang. 27 September 2019. Retrieved 2 October 2019.

Further reading

  • Nagar, Sandeep (2017). Beginning Julia Programming-For Engineers and Scientists. Springer.
  • Bezanson, J; Edelman, A; Karpinski, S; Shah, V. B (2017). "Julia: A fresh approach to numerical computing". 59 (1). SIAM Review: 65–98. {{cite journal}}: Cite journal requires |journal= (help)
  • Joshi, Anshul (2016). Julia for Data Science - Explore the world of data science from scratch with Julia by your side. Packt Publishing.