# Internals & Design

**URL:** https://discourse.julialang.org/c/dev/5.md?page=43

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 44

---

## [\`@everywhere using\` fails for stdlib functions in distribution binaries](https://discourse.julialang.org/t/everywhere-using-fails-for-stdlib-functions-in-distribution-binaries/30907)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 4\
**Last updated:** [November 10, 2019, 7:15am UTC](https://discourse.julialang.org/t/everywhere-using-fails-for-stdlib-functions-in-distribution-binaries/30907 "2019-11-10T07:15:05Z")

</div>

Is this a bug? julia\> using Distributed julia\> addprocs(4) 4-element Array{Int64,1}: 2 3 4 5 julia\> using Distributed julia\> @everywhere using DistributedArrays ERROR: ArgumentError: Package DistributedArrays …

---

## [Does a Julia official standard (reference) exist?](https://discourse.julialang.org/t/does-a-julia-official-standard-reference-exist/30819)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [November 7, 2019, 6:03pm UTC](https://discourse.julialang.org/t/does-a-julia-official-standard-reference-exist/30819 "2019-11-07T18:03:15Z")

</div>

Just out of curiosity, does an “Official Standard” (or reference) (like the ISO/IEC 14882:2017(E) " C++17" for C++) exists for the Julia language ? Do you think a “standard” would be beneficial? Or, at the opposite, no…

---

## [Intended audience for the manual](https://discourse.julialang.org/t/intended-audience-for-the-manual/30586)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 2\
**Last updated:** [November 1, 2019, 2:31pm UTC](https://discourse.julialang.org/t/intended-audience-for-the-manual/30586 "2019-11-01T14:31:22Z")

</div>

With an increasing number of options for learning Julia—and especially the exciting announcement about the freeing of JuliaAcademy—I wonder if it’s worth having a discussion about the intended audience for any “official”…

---

## [End keyword in creating CartesianIndex](https://discourse.julialang.org/t/end-keyword-in-creating-cartesianindex/30461)

<div class="topic-metadata">

**Author:** [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Replies:** 9\
**Last updated:** [October 30, 2019, 7:34pm UTC](https://discourse.julialang.org/t/end-keyword-in-creating-cartesianindex/30461 "2019-10-30T19:34:06Z")

</div>

I created an issue regarding end keyword in creating CartesianIndex in Julia repository a while ago (end keyword in creating CartesianIndex · Issue #33608 · JuliaLang/julia · GitHub): It is not possible to create a Car…

---

## [Check package version](https://discourse.julialang.org/t/check-package-version/30155)

<div class="topic-metadata">

**Author:** [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Replies:** 1\
**Last updated:** [October 30, 2019, 12:09am UTC](https://discourse.julialang.org/t/check-package-version/30155 "2019-10-30T00:09:40Z")

</div>

How can I test, whether a package is on #master? Pkg.API.installed()\[name\] no longer contains a ‘+’ to indicate this. Pkg.API.status(name) only displays (prints) the version information, but doesn’t return anything.

---

## [Julia 1.4 feature freeze: Dec 15th](https://discourse.julialang.org/t/julia-1-4-feature-freeze-dec-15th/30453)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 1\
**Last updated:** [October 29, 2019, 7:23pm UTC](https://discourse.julialang.org/t/julia-1-4-feature-freeze-dec-15th/30453 "2019-10-29T19:23:07Z")

</div>

Heads up: this is to let people know that if they have any PRs that they really want to get into Julia 1.4, the feature freeze for the 1.4 release will be on Sunday, December 15th. If you want something to be in this rel…

---

## [Warning for unused type variables in where](https://discourse.julialang.org/t/warning-for-unused-type-variables-in-where/30360)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 7:21am UTC](https://discourse.julialang.org/t/warning-for-unused-type-variables-in-where/30360 "2019-10-29T07:21:11Z")

</div>

I am wondering whether it would make sense to warn unused extra type variables for cases like foo(a::AbstractVector{T}) where {T,S} = 1 where it is very likely that S is a typo. It is certainly innocuous as long as it…

---

## [How to create embedded modules](https://discourse.julialang.org/t/how-to-create-embedded-modules/30300)

<div class="topic-metadata">

**Author:** [@Denis\_Zaika](https://discourse.julialang.org/u/Denis_Zaika)\
**Replies:** 5\
**Last updated:** [October 26, 2019, 3:17pm UTC](https://discourse.julialang.org/t/how-to-create-embedded-modules/30300 "2019-10-26T15:17:50Z")

</div>

When embedding python, we can create custom module, populate it with objects internal to application, and execute embedded script within this module. How to access internals of hosting application from embedded julia sc…

---

## [Factorize() on Symmetric types does not try cholesky()](https://discourse.julialang.org/t/factorize-on-symmetric-types-does-not-try-cholesky/30177)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 9\
**Last updated:** [October 24, 2019, 5:02am UTC](https://discourse.julialang.org/t/factorize-on-symmetric-types-does-not-try-cholesky/30177 "2019-10-24T05:02:09Z")

</div>

factorize() on a dense matrix tests several properties to find an efficient factorization. If factorize is called on Symmetric or Hermitian types, it does not try cholesky(), but only considers bunchkaufman(): From the s…

---

## [How to do \`select\` on channels like go(\`alts\` in clojure)?](https://discourse.julialang.org/t/how-to-do-select-on-channels-like-go-alts-in-clojure/30176)

<div class="topic-metadata">

**Author:** [@isaactsang](https://discourse.julialang.org/u/isaactsang)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 4:14pm UTC](https://discourse.julialang.org/t/how-to-do-select-on-channels-like-go-alts-in-clojure/30176 "2019-10-23T16:14:25Z")

</div>

And then function take! should have a timeout parameter. take!(channel, timeout=1000)

---

## [Map/pmap and scalar argument](https://discourse.julialang.org/t/map-pmap-and-scalar-argument/30089)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 4\
**Last updated:** [October 22, 2019, 2:30pm UTC](https://discourse.julialang.org/t/map-pmap-and-scalar-argument/30089 "2019-10-22T14:30:31Z")

</div>

Take this code: function foo(arg1, arg2, arg3) arg1 + arg2 + arg3 end map(foo, \[1;2;3\], \[4;5;6\], 5) This code is equivalent to \[foo(1, 4, 5)\], the other values discarded. Is this behavior desired for any reason? I…

---

## [Making views the default indexing behavior in 2.0?](https://discourse.julialang.org/t/making-views-the-default-indexing-behavior-in-2-0/29954)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 11\
**Last updated:** [October 21, 2019, 11:09pm UTC](https://discourse.julialang.org/t/making-views-the-default-indexing-behavior-in-2-0/29954 "2019-10-21T23:09:21Z")

</div>

What would people think about making view default indexing behavior in 2.0? It would be a pretty big change, but given how as of 1.4 views allegedly might be non-allocating, it might make sense.

---

## [Bug? shuffle() breaks normalisation test](https://discourse.julialang.org/t/bug-shuffle-breaks-normalisation-test/29976)

<div class="topic-metadata">

**Author:** [@dcastel](https://discourse.julialang.org/u/dcastel)\
**Replies:** 8\
**Last updated:** [October 21, 2019, 5:53pm UTC](https://discourse.julialang.org/t/bug-shuffle-breaks-normalisation-test/29976 "2019-10-21T17:53:08Z")

</div>

Hi all, I think I found a Julia bug (Version 1.1.0) I stumbled upon when writing a function for checking whether a tensor is normalized. I wrote tests for it and it seems (somewhat, sometimes) reproducible. It comes do…

---

## [Avoiding a Julia version of the Python 2/3 mess](https://discourse.julialang.org/t/avoiding-a-julia-version-of-the-python-2-3-mess/29759)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 21\
**Last updated:** [October 18, 2019, 12:22pm UTC](https://discourse.julialang.org/t/avoiding-a-julia-version-of-the-python-2-3-mess/29759 "2019-10-18T12:22:25Z")

</div>

The Python 3 breaking changes were a big mess for them, because by that time people had built lots of code around Python 2. There seems to be a similar problem happening now with updates to TensorFlow. What areas might …

---

## [New LLVM JIT Features](https://discourse.julialang.org/t/new-llvm-jit-features/22754)

<div class="topic-metadata">

**Author:** [@preejackie](https://discourse.julialang.org/u/preejackie)\
**Replies:** 13\
**Last updated:** [October 15, 2019, 8:26pm UTC](https://discourse.julialang.org/t/new-llvm-jit-features/22754 "2019-10-15T20:26:53Z")

</div>

Hi I’m working on developing a Speculative compilation support in LLVM ORC JIT Infrastructure. As LLVM ORC supports compiling in multiple backend threads, it would be effective if we compile the functions speculatively…

---

## [Optional use of commas](https://discourse.julialang.org/t/optional-use-of-commas/29757)

<div class="topic-metadata">

**Author:** [@TravisA9](https://discourse.julialang.org/u/TravisA9)\
**Replies:** 15\
**Last updated:** [October 15, 2019, 12:40am UTC](https://discourse.julialang.org/t/optional-use-of-commas/29757 "2019-10-15T00:40:26Z")

</div>

I’ve been thinking about the use of commas in code for a long time now, and am curious to see what observations others can make on the matter. The idea is this; commas are mostly (technically) unneeded in various program…

---

## [Generalised CUDA/CPU](https://discourse.julialang.org/t/generalised-cuda-cpu/29633)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 10\
**Last updated:** [October 10, 2019, 2:53pm UTC](https://discourse.julialang.org/t/generalised-cuda-cpu/29633 "2019-10-10T14:53:55Z")

</div>

So this is the old question of using exponents and similar in code that runs on Cuda. I’m wondering what solutions are people using in late 2019. There are answers like this: https://github.com/JuliaGPU/CuArrays.jl/issu…

---

## [Lazy and eager API design](https://discourse.julialang.org/t/lazy-and-eager-api-design/22398)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [October 10, 2019, 5:27am UTC](https://discourse.julialang.org/t/lazy-and-eager-api-design/22398 "2019-10-10T05:27:45Z")

</div>

This is a somewhat general API interface design question and I am still wondering about the idiomatic “Julian” way of formulating it, so I thought I would ask here. Suppose I have a vocabulary of verbs f, g, h, which op…

---

## [Intel Mkl Windows building](https://discourse.julialang.org/t/intel-mkl-windows-building/25033)

<div class="topic-metadata">

**Author:** [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Replies:** 33\
**Last updated:** [October 7, 2019, 4:54am UTC](https://discourse.julialang.org/t/intel-mkl-windows-building/25033 "2019-10-07T04:54:21Z")

</div>

Can anyone give me a step by step tutorial on how I can build Julia to use Intel MKL? Edit: if you read this later follow my steps as I said here: To Install: julia\>\]add https://github.com/JuliaComputing/MKL.jl After…

---

## [Does Julia Need a C++ style \`static\` keyword?](https://discourse.julialang.org/t/does-julia-need-a-c-style-static-keyword/29176)

<div class="topic-metadata">

**Author:** [@dataDiver](https://discourse.julialang.org/u/dataDiver)\
**Replies:** 21\
**Last updated:** [September 27, 2019, 5:01am UTC](https://discourse.julialang.org/t/does-julia-need-a-c-style-static-keyword/29176 "2019-09-27T05:01:28Z")

</div>

I was wandering whether there is currently a way of representing C++ style static variables in Julia. I haven’t found out how and I think they are pretty useful - especially when dealing with lots of object instances tha…

---

## [Built Julia by platform/arch](https://discourse.julialang.org/t/built-julia-by-platform-arch/29144)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://discourse.julialang.org/u/taqtiqa-mark)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 6:27am UTC](https://discourse.julialang.org/t/built-julia-by-platform-arch/29144 "2019-09-25T06:27:31Z")

</div>

Hi, Thank-you for the dev effort that goes into making Julia what it is. Context: Spinning up ephemeral containers/VM’s for running test suites. Linux primarily. That developer effort means Julia is evolving rapidly…

---

## [Type inference with AbstractMatrix](https://discourse.julialang.org/t/type-inference-with-abstractmatrix/29038)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 2\
**Last updated:** [September 22, 2019, 2:21pm UTC](https://discourse.julialang.org/t/type-inference-with-abstractmatrix/29038 "2019-09-22T14:21:57Z")

</div>

In the MixedModels package the bulk of the work fitting a model consists of updating a blocked Cholesky factor to new parameter values. The matrix being factored consists of a square set of blocks of possibly different …

---

## [Executed lines of code per line of written code](https://discourse.julialang.org/t/executed-lines-of-code-per-line-of-written-code/29017)

<div class="topic-metadata">

**Author:** [@eCS](https://discourse.julialang.org/u/eCS)\
**Replies:** 3\
**Last updated:** [September 21, 2019, 5:47am UTC](https://discourse.julialang.org/t/executed-lines-of-code-per-line-of-written-code/29017 "2019-09-21T05:47:48Z")

</div>

I was watching Jim Keller’s talk on Moore’s Law ( https://www.youtube.com/watch?v=oIG9ztQw2Gc&t=29m ) and an interesting measure came up. Is there an estimate for Julia? I think @code\_native could be handy here but …

---

## [Allow syntax like Int32(1:10)?](https://discourse.julialang.org/t/allow-syntax-like-int32-1-10/28905)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 30\
**Last updated:** [September 20, 2019, 5:29pm UTC](https://discourse.julialang.org/t/allow-syntax-like-int32-1-10/28905 "2019-09-20T17:29:04Z")

</div>

basically, Int32(a::UnitRange{T}) = Int32(a.start):Int32(a.stop)

---

## [Functional application, reconciling currying with multiple dispatch](https://discourse.julialang.org/t/functional-application-reconciling-currying-with-multiple-dispatch/28920)

<div class="topic-metadata">

**Author:** [@christophE](https://discourse.julialang.org/u/christophE)\
**Replies:** 6\
**Last updated:** [September 19, 2019, 7:41pm UTC](https://discourse.julialang.org/t/functional-application-reconciling-currying-with-multiple-dispatch/28920 "2019-09-19T19:41:31Z")

</div>

Good evening alltogether! I’m very new to Julia and I read several discussions and I thought about the conflicts and making language usage even more attractive. Unfortunately I could not register in GitHub hence here is…

---

## [Marking more standard library methods as pure to enable LLVM optimizations?](https://discourse.julialang.org/t/marking-more-standard-library-methods-as-pure-to-enable-llvm-optimizations/28732)

<div class="topic-metadata">

**Author:** [@Olof\_Salberger](https://discourse.julialang.org/u/Olof_Salberger)\
**Replies:** 11\
**Last updated:** [September 17, 2019, 9:34pm UTC](https://discourse.julialang.org/t/marking-more-standard-library-methods-as-pure-to-enable-llvm-optimizations/28732 "2019-09-17T21:34:38Z")

</div>

LLVM can apply some amazing optimizations to arithmetic code (including most of the techniques in Hacker’s delight) if it knows that various operands are constant. However, many Julia functions are not marked as pure, wh…

---

## [Inconsistency of NaN](https://discourse.julialang.org/t/inconsistency-of-nan/28671)

<div class="topic-metadata">

**Author:** [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Replies:** 14\
**Last updated:** [September 13, 2019, 2:59pm UTC](https://discourse.julialang.org/t/inconsistency-of-nan/28671 "2019-09-13T14:59:36Z")

</div>

0/0 returns NaN NaN\*false returns 0.0 (0/0)\*false returns -0.0 Isn’t this an inconsistency of NaN? :thinking: Also: julia\> (NaN\*(0/0))\*false 0.0 but: julia\> ((0/0)\*NaN)\*false -0.0 :thinking:

---

## [Customized printing for Struct within Expr](https://discourse.julialang.org/t/customized-printing-for-struct-within-expr/28651)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 5\
**Last updated:** [September 11, 2019, 4:17pm UTC](https://discourse.julialang.org/t/customized-printing-for-struct-within-expr/28651 "2019-09-11T16:17:24Z")

</div>

For Grassmann.jl, I would like to customize the printing similar to the Complex numbers. Consider: julia\> using Grassmann julia\> @basis tangent(ℝ^2,2,2) # 2D Grade, 2nd Order, 2 Variables (⟨++₁₂⟩, v, v₁, v₂, ∂₁, ∂₂, v₁…

---

## [Threaded for loop over arbitrary indexable objects](https://discourse.julialang.org/t/threaded-for-loop-over-arbitrary-indexable-objects/26957)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 16\
**Last updated:** [September 10, 2019, 7:28pm UTC](https://discourse.julialang.org/t/threaded-for-loop-over-arbitrary-indexable-objects/26957 "2019-09-10T19:28:56Z")

</div>

Currently the following code fails: julia\> Threads.@threads for c in "ssf" end Error thrown in threaded loop on thread 0: MethodError(f=typeof(Base.unsafe\_getindex)(), args=("ssf", 1), world=0x000000000000643a) …

---

## [Julia's Release Process](https://discourse.julialang.org/t/julias-release-process/28122)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 19\
**Last updated:** [September 10, 2019, 1:21am UTC](https://discourse.julialang.org/t/julias-release-process/28122 "2019-09-10T01:21:10Z")

</div>

I wrote a blog post explaining Julia’s release process, collecting information from various places: Also being discussed on Hacker News right now if anyone cares to join that conversation.

[Previous page](https://discourse.julialang.org/c/dev/5.md?page=42)

[Next page](https://discourse.julialang.org/c/dev/5.md?page=44)
