Julia programming language: Difference between revisions

From annawiki
Line 35: Line 35:
indeed, since Hello != hi
indeed, since Hello != hi


===WebIO===
===WebIO.jl===
#https://github.com/JuliaGizmos/WebIO.jl
#https://github.com/JuliaGizmos/WebIO.jl
##https://travis-ci.org/JuliaGizmos/WebIO.jl build failing ...
##https://travis-ci.org/JuliaGizmos/WebIO.jl build failing ...
===Dance===
===Dance.jl===
#https://github.com/DanceJL/Dance.jl
#https://github.com/DanceJL/Dance.jl
##2020-05-01 https://discourse.julialang.org/t/dance-jl-python-flask-equivalent-web-framework/38560
##2020-05-01 https://discourse.julialang.org/t/dance-jl-python-flask-equivalent-web-framework/38560

Revision as of 2020-06-22T03:55:55

Speed

Speed comparison

Popularity

Redmonk

  1. https://redmonk.com/sogrady/2018/08/10/language-rankings-6-18/ #36
  2. https://redmonk.com/sogrady/2020/02/28/language-rankings-1-20/ only top 20, julia not in top 20

TIOBE

https://www.tiobe.com/tiobe-index/

  1. 2016-09 : Julia enters the Top 50 - http://silvaetechnologies.eu/blg/223/julia-enters-tiobe-index-top-50-for-the-first-time
  2. 2018-08 : 50 Julia 0.156% , "Julia re-entered the top 50"
  3. 2020-06 : 33 Julia 0.41%

PYPL

http://pypl.github.io/PYPL.html

  1. 20??- not in Top 22
  2. 2020-06-22 ("© Pierre Carbonnelle, 2019") 25 0.39%

Web

  1. https://discourse.julialang.org/tag/web

HTTP.jl

  1. https://github.com/JuliaWeb/HTTP.jl
    1. 2017-02-12 ANN https://discourse.julialang.org/t/ann-new-http-jl-package/2048

Mux.jl

  1. https://github.com/JuliaWeb/Mux.jl

function myapp(req) return "<h1>Hello, $(req[:params][:user])!</h1>" end In principle this should say "hi" to our lovely user. But we have a problem indeed, since Hello != hi

WebIO.jl

  1. https://github.com/JuliaGizmos/WebIO.jl
    1. https://travis-ci.org/JuliaGizmos/WebIO.jl build failing ...

Dance.jl

  1. https://github.com/DanceJL/Dance.jl
    1. 2020-05-01 https://discourse.julialang.org/t/dance-jl-python-flask-equivalent-web-framework/38560

Manual

https://docs.julialang.org/en/stable/manual/strings/

  • Input of Unicode character in single quotes
    • \u followed by up to four hexadecimal digits or
    • \U followed by up to eight hexadecimal digits


Cc: Other, control
Cn: Other, not assigned
In: Invalid, too high
Ll: Letter, lowercase
Lu: Letter, uppercase
Ma: Malformed, bad data
Po: Punctuation, other
Sm: Symbol, math
Zs: Separator, space

Not in the doc: the classes are from https://www.unicode.org/versions/Unicode11.0.0/ch04.pdf#G134153

https://docs.julialang.org/en/stable/manual/variables/#Allowed-Variable-Names-1

  • must begin with a letter (A-Z or a-z), underscore, or a subset of Unicode code points greater than 00A0; in particular, Unicode character categories Lu/Ll/Lt/Lm/Lo/Nl (letters), Sc/So (currency and other symbols), and a few other letter-like characters (e.g. a subset of the Sm math symbols) are allowed. [WHICH?]
  • Subsequent characters may also include ! and digits (0-9 and other [WHICH?] characters in categories Nd/No), as well as other Unicode code points: diacritics and other modifying marks (categories Mn/Mc/Me/Sk), some punctuation connectors (category Pc), primes, and a few other [WHICH?] characters.

Criticism

Comparison