Live data from Hacker News

I learned seven programming languages

mode80.github.io

51–52 of 52 posts

Re: I learned seven programming languages

#51

Earlier quoted context omitted.

Also, you can precompile a whole package and just ship the binary. We do this all of the time. https://github.com/JuliaLang/PackageCompiler.jl And getting things precompiled: https://sciml.ai/news/2022/09/21/compile_time/

How well does this work? I've seen this library but never used it. Julia is really slow from a cold start, which limits its utility for scripting. About a year ago I was very off-put by someone on Reddit who sort of scolded me for wanting to use Julia as a general-purpose scripting language at the CLI. The Redditor said this wasn't as idiomatic usage of Julia. Idk how representative this is of the community at large.

PackageCompiler is one of the 6 projects pinned in the JuliaLang repo, along with Pkg (the package manager), the juliaup installer, IJulia Jupyter kernels, the Julialang.org website, and Julia itself.

https://github.com/JuliaLang

It's not "idiomatic usage of Julia". What the hell? It's literally given by the language developers as first class as the package manager and put on the website right next to it.

Re: I learned seven programming languages

#52

> I like named parameters for self-documenting code. Julia allows named parameters but naming them doesn't provide any flexibility with regard to their position when calling the function. I don't understand this complaint? "Named parameters" i.e. keyword arguments in functions work great in Julia! julia> foo(;x = 1, y = 2, z = 3) = x + y + z foo (generic function with 1 method) julia> foo(; z = 4, y = 0) 5 Perhaps th…

> I've gotten SO many quizzical looks over the years, it is not even funny.

May I ask what's your involvement in the Nim community, I don't recognize your username? Also sorry to say but if your colleagues look you like that maybe they don't respect you?

Post reply on HN