# Internals & Design

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

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

**Page:** 4

---

## [Does Julia BLAS DGEMV use multithreading?](https://discourse.julialang.org/t/does-julia-blas-dgemv-use-multithreading/133025)

<div class="topic-metadata">

**Author:** [@freestatelabs](https://discourse.julialang.org/u/freestatelabs)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 2:21am UTC](https://discourse.julialang.org/t/does-julia-blas-dgemv-use-multithreading/133025 "2025-10-10T02:21:14Z")

</div>

Question about DGEMV called via Julia’s BLAS link: I’m teaching myself some performance programming practices in C. I wanted to use Julia’s BLAS to benchmark my work against, for convenience. I’m developing on MacOS (M1…

---

## [Add Random.seed!(0) with block to standard library](https://discourse.julialang.org/t/add-random-seed-0-with-block-to-standard-library/132908)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 6\
**Last updated:** [October 6, 2025, 9:48am UTC](https://discourse.julialang.org/t/add-random-seed-0-with-block-to-standard-library/132908 "2025-10-06T09:48:38Z")

</div>

Useful in writing deterministic tests @testset "SkewT fit\_mle" begin Random.seed!(0) do x = rand(SkewT(1.0, 2.0, 5.0, 0.5), 10\_000); (; μ, σ, ν, λ) = fit\_mle(SkewT, x) @test \[μ, σ, ν, λ\] ≈ \[1.0, 2.0, 5.0, …

---

## [Nested do blocks?](https://discourse.julialang.org/t/nested-do-blocks/132883)

<div class="topic-metadata">

**Author:** [@mraic1](https://discourse.julialang.org/u/mraic1)\
**Replies:** 2\
**Last updated:** [October 5, 2025, 10:17am UTC](https://discourse.julialang.org/t/nested-do-blocks/132883 "2025-10-05T10:17:56Z")

</div>

Dear developers, While learning Julia, one of the constructions that I found particularly marvellous is the do block. As comprehensions and where expressions can be nested, wouldn’t it make sense also to allow it for th…

---

## [What is the status of type inference of recursive calls? Odd statefulness?](https://discourse.julialang.org/t/what-is-the-status-of-type-inference-of-recursive-calls-odd-statefulness/132545)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [September 26, 2025, 7:09pm UTC](https://discourse.julialang.org/t/what-is-the-status-of-type-inference-of-recursive-calls-odd-statefulness/132545 "2025-09-26T19:09:15Z")

</div>

Evidently, the situation has improved from v1.10.10 because the examples from the links below on v1.11.7 are inferred with concrete return types and pass JET.@report\_opt. Note that type instabilities that don’t cause int…

---

## [Generate multiple temp name in once](https://discourse.julialang.org/t/generate-multiple-temp-name-in-once/132577)

<div class="topic-metadata">

**Author:** [@XLin0mu](https://discourse.julialang.org/u/XLin0mu)\
**Replies:** 4\
**Last updated:** [September 23, 2025, 3:28pm UTC](https://discourse.julialang.org/t/generate-multiple-temp-name-in-once/132577 "2025-09-23T15:28:35Z")

</div>

This is a feature request. I’m not sure whether this request suit, but as for my personal needs, this method is convenient. Expected: julia\> tempnames(3) 3-element Vector{String}: "C:\\\\Users\\\\Xlin0\\\\AppData\\\\Local\\\\Te…

---

## [Multiple dispatch and type hierarchies](https://discourse.julialang.org/t/multiple-dispatch-and-type-hierarchies/132536)

<div class="topic-metadata">

**Author:** [@damiansimon2](https://discourse.julialang.org/u/damiansimon2)\
**Replies:** 2\
**Last updated:** [September 21, 2025, 9:50pm UTC](https://discourse.julialang.org/t/multiple-dispatch-and-type-hierarchies/132536 "2025-09-21T21:50:27Z")

</div>

Dear Julia community, i have been thinking about why multiple dispatch and julias type system works so well (often times) and why it doesnt sometimes. Correct me if i am wrong, but as i see it this system only works wel…

---

## [Trusted libraries/packages - "package managers are evil"](https://discourse.julialang.org/t/trusted-libraries-packages-package-managers-are-evil/132320)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 12\
**Last updated:** [September 18, 2025, 8:23am UTC](https://discourse.julialang.org/t/trusted-libraries-packages-package-managers-are-evil/132320 "2025-09-18T08:23:55Z")

</div>

We implicitly trust all packages we use, for security (and bugs). I realized maybe we shouldn’t and packages should be untrusted by default. How could you do it? I see two ways. you could do: using trusted \<package\> …

---

## [Can I notify a generated function to recompile if called again](https://discourse.julialang.org/t/can-i-notify-a-generated-function-to-recompile-if-called-again/132271)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 4\
**Last updated:** [September 11, 2025, 1:22pm UTC](https://discourse.julialang.org/t/can-i-notify-a-generated-function-to-recompile-if-called-again/132271 "2025-09-11T13:22:10Z")

</div>

Let’s say I have a @generated function of some kind which already triggered compilation at some point given the types of some arguments. Say that something changes in those arguments (fields), and I can catch that this h…

---

## [Determining if UnionAll corresponds to a single type + Union{}](https://discourse.julialang.org/t/determining-if-unionall-corresponds-to-a-single-type-union/132088)

<div class="topic-metadata">

**Author:** [@willtebbutt](https://discourse.julialang.org/u/willtebbutt)\
**Replies:** 14\
**Last updated:** [September 10, 2025, 7:27am UTC](https://discourse.julialang.org/t/determining-if-unionall-corresponds-to-a-single-type-union/132088 "2025-09-10T07:27:29Z")

</div>

A UnionAll such as Type{T} where {T\<:Tuple{typeof(sin),Float64}} is a union containing a single type: Type{Tuple{typeof(sin),Float64}} On the other hand, Type{T} where {T\<:Tuple{typeof(sin),Real}} is a union over many t…

---

## [What type union (\`Union\`) is equivalent to an iterated union (\`UnionAll\`) with a concrete type bound?](https://discourse.julialang.org/t/what-type-union-union-is-equivalent-to-an-iterated-union-unionall-with-a-concrete-type-bound/132140)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 5\
**Last updated:** [September 7, 2025, 5:32pm UTC](https://discourse.julialang.org/t/what-type-union-union-is-equivalent-to-an-iterated-union-unionall-with-a-concrete-type-bound/132140 "2025-09-07T17:32:40Z")

</div>

As far as I know and have read, the only subtypes of a concrete type that isn’t DataType are itself and the bottom type Union{}. However, that doesn’t seem to be the case as type parameters: julia\> let T = Vector, P = I…

---

## [TPDE-LLVM for 10-20x faster -O1 compilation](https://discourse.julialang.org/t/tpde-llvm-for-10-20x-faster-o1-compilation/132074)

<div class="topic-metadata">

**Author:** [@RomeoV](https://discourse.julialang.org/u/RomeoV)\
**Replies:** 2\
**Last updated:** [September 3, 2025, 2:15pm UTC](https://discourse.julialang.org/t/tpde-llvm-for-10-20x-faster-o1-compilation/132074 "2025-09-03T14:15:30Z")

</div>

I just saw this post on hackernews, where an LLVM compiler backend (github) was posted that claims to get 10-20x compile time speedup compared to an LLVM 19 baseline. Quoting from the linked LLVM-Discourse thread: How…

---

## [Use and define free\_aligned\_sized, aligned\_alloc (and free\_sized)](https://discourse.julialang.org/t/use-and-define-free-aligned-sized-aligned-alloc-and-free-sized/131967)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 11:01am UTC](https://discourse.julialang.org/t/use-and-define-free-aligned-sized-aligned-alloc-and-free-sized/131967 "2025-09-01T11:01:01Z")

</div>

E.g. for Libc. Currently Julia uses posix\_memalign (except on Windows) for itself (sometimes) and corresponding free, not special free for aligned, as needed on Windows, but we likely should everywhere: Several heap…

---

## [AI error messages, and solutions/code fixes](https://discourse.julialang.org/t/ai-error-messages-and-solutions-code-fixes/131979)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 3\
**Last updated:** [August 31, 2025, 1:44pm UTC](https://discourse.julialang.org/t/ai-error-messages-and-solutions-code-fixes/131979 "2025-08-31T13:44:05Z")

</div>

@tecosaur I was starting to read: With many compilers you get a location like program.x:43:22 that you have to decipher. Where is that file? Which one is the line? Which is the column? Okay, let me scan through my c…

---

## [Deadlock when joining external threads, jl\_enter\_threaded\_region, dynamic threading](https://discourse.julialang.org/t/deadlock-when-joining-external-threads-jl-enter-threaded-region-dynamic-threading/131833)

<div class="topic-metadata">

**Author:** [@green.nsk](https://discourse.julialang.org/u/green.nsk)\
**Replies:** 4\
**Last updated:** [August 25, 2025, 1:11pm UTC](https://discourse.julialang.org/t/deadlock-when-joining-external-threads-jl-enter-threaded-region-dynamic-threading/131833 "2025-08-25T13:11:22Z")

</div>

I’m trying to wrap my head around using Julia with some dynamic threading. Ability to handle externally-launched threads was introduced in 1.9 with jl\_adopt\_thread(). The main documentation seems limited to the release n…

---

## [IronJulia - Mini Julia Runtime Attempt in .NET](https://discourse.julialang.org/t/ironjulia-mini-julia-runtime-attempt-in-net/130872)

<div class="topic-metadata">

**Author:** [@HyperSphereStudio](https://discourse.julialang.org/u/HyperSphereStudio)\
**Replies:** 6\
**Last updated:** [August 25, 2025, 8:06am UTC](https://discourse.julialang.org/t/ironjulia-mini-julia-runtime-attempt-in-net/130872 "2025-08-25T08:06:52Z")

</div>

Several years back I began writing a Julia ↔ C# interop library with some success (I had abandoned it) Recently I have been trying to actually build a mini julia runtime in .NET 11. It’s obviously a massive undertaking …

---

## [Would it make sense for Julia to adopt refinement types?](https://discourse.julialang.org/t/would-it-make-sense-for-julia-to-adopt-refinement-types/113586)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 22\
**Last updated:** [August 12, 2025, 4:55pm UTC](https://discourse.julialang.org/t/would-it-make-sense-for-julia-to-adopt-refinement-types/113586 "2025-08-12T16:55:47Z")

</div>

Refinement types enrich a language’s type system with logical predicates that circumscribe the set of values described by the type, thereby providing software developers a tunable knob with which to inform the type syst…

---

## [A bot to detect code duplication](https://discourse.julialang.org/t/a-bot-to-detect-code-duplication/14154)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 5\
**Last updated:** [August 31, 2018, 4:00pm UTC](https://discourse.julialang.org/t/a-bot-to-detect-code-duplication/14154 "2018-08-31T16:00:28Z")

</div>

This might seem like a naive suggestion (it really is), but wouldn’t it be cool if there was a bot that could scan a list of packages and identify “code duplicity”? The main aim of such a bot would be to detect if multip…

---

## [Cannot convert DocStr in Julia 1.11](https://discourse.julialang.org/t/cannot-convert-docstr-in-julia-1-11/131172)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 1\
**Last updated:** [July 29, 2025, 9:29pm UTC](https://discourse.julialang.org/t/cannot-convert-docstr-in-julia-1-11/131172 "2025-07-29T21:29:03Z")

</div>

This only happens in Julia 1.11 and only before REPL is loaded: method comments require \_\_init\_\_: Test Failed at K:\\DevDocuments\\Raven\_Inherit\\test\\PkgTest1\\test\\runtests.jl:45 Expression: strip(string(#= K:\\DevDocume…

---

## [Determinant of a square random matrix using juliac](https://discourse.julialang.org/t/determinant-of-a-square-random-matrix-using-juliac/131144)

<div class="topic-metadata">

**Author:** [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Replies:** 5\
**Last updated:** [July 29, 2025, 7:57pm UTC](https://discourse.julialang.org/t/determinant-of-a-square-random-matrix-using-juliac/131144 "2025-07-29T19:57:35Z")

</div>

The Julia code is using LinearAlgebra function (@main)(args::Vector{String})::Cint m = rand(Float64, 3, 3) for i in 1:3 for j in 1:3 print(Core.stdout, m\[i, j\], " ") end println(Core.stdout) end res…

---

## [Partial world-splitting](https://discourse.julialang.org/t/partial-world-splitting/131114)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 8\
**Last updated:** [July 29, 2025, 3:40pm UTC](https://discourse.julialang.org/t/partial-world-splitting/131114 "2025-07-29T15:40:36Z")

</div>

@topolarity’s talk, Can we achieve “invalidation freedom” for Julia? :: JuliaCon 2025 :: pretalx made me think some more about world-splitting. If I understand correctly, a call that infers to foo(::String, ::Any), where…

---

## [Compile time memory management](https://discourse.julialang.org/t/compile-time-memory-management/39139)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 0\
**Last updated:** [May 8, 2020, 9:06pm UTC](https://discourse.julialang.org/t/compile-time-memory-management/39139 "2020-05-08T21:06:26Z")

</div>

There was some talk of compile time memory management to help with GPU etc allocations. In a similar vein: GitHub - doctorn/micro-mitten: You might not need your garbage collector " Like Rust, micro-mitten offers a s…

---

## [Memory leaks from compiled functions: Solved](https://discourse.julialang.org/t/memory-leaks-from-compiled-functions-solved/130886)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 18\
**Last updated:** [July 22, 2025, 4:45pm UTC](https://discourse.julialang.org/t/memory-leaks-from-compiled-functions-solved/130886 "2025-07-22T16:45:06Z")

</div>

I have been told about one known issue with Julia, compiled function doesn’t get garbage collected. So since I wanted to dynamically create functions for objects in my game engine, it was a big problem and I had to solve…

---

## [Allow use of named-argument syntax for positional arguments?](https://discourse.julialang.org/t/allow-use-of-named-argument-syntax-for-positional-arguments/5287)

<div class="topic-metadata">

**Author:** [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Replies:** 54\
**Last updated:** [July 12, 2025, 5:59am UTC](https://discourse.julialang.org/t/allow-use-of-named-argument-syntax-for-positional-arguments/5287 "2025-07-12T05:59:22Z")

</div>

I’m fond of naming my arguments for readability. Is there a structural reason that one cannot use the names of arguments when the function defines they as positional? In other words, is there a technical reason I can’t d…

---

## [Will the latency issues with Julia 1.12-beta4 be fixed before the release?](https://discourse.julialang.org/t/will-the-latency-issues-with-julia-1-12-beta4-be-fixed-before-the-release/130634)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 11, 2025, 9:09am UTC](https://discourse.julialang.org/t/will-the-latency-issues-with-julia-1-12-beta4-be-fixed-before-the-release/130634 "2025-07-11T09:09:52Z")

</div>

The load time for packages increased a lot from Julia 1.10 to 1.11 to 1.12-beta4. See: Package load time regressions in 1.12 · Issue #57436 · JuliaLang/julia · GitHub I think this problem has mostly be fixed in two PRs: …

---

## [Localization package - I18n - Resource Bundles](https://discourse.julialang.org/t/localization-package-i18n-resource-bundles/7150)

<div class="topic-metadata">

**Author:** [@klacru](https://discourse.julialang.org/u/klacru)\
**Replies:** 8\
**Last updated:** [July 8, 2025, 2:18pm UTC](https://discourse.julialang.org/t/localization-package-i18n-resource-bundles/7150 "2025-07-08T14:18:31Z")

</div>

I want to propose the development of a new package, which covers the I18n topics. Recently I made a working prototype, which treats locales, resource bundles (these are the Java terms), and string translations like gett…

---

## [Version-named manifests by default?](https://discourse.julialang.org/t/version-named-manifests-by-default/123618)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 10\
**Last updated:** [July 7, 2025, 4:55am UTC](https://discourse.julialang.org/t/version-named-manifests-by-default/123618 "2025-07-07T04:55:45Z")

</div>

Julia 1.11 supports versioning by manifests, but one has first to manually rename the manifest to use this feature. Should not all newly created manifests be created with the versioned name?

---

## [State of currying-PR](https://discourse.julialang.org/t/state-of-currying-pr/71885)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 18\
**Last updated:** [June 30, 2025, 7:44am UTC](https://discourse.julialang.org/t/state-of-currying-pr/71885 "2025-06-30T07:44:20Z")

</div>

I have found this PR from years ago: https://github.com/JuliaLang/julia/pull/24990 I would love this feature, and I am not alone. Does anyone have a status/summary on this? The discussion is too technical at several po…

---

## [Should Julia use MLIR in the future?](https://discourse.julialang.org/t/should-julia-use-mlir-in-the-future/110459)

<div class="topic-metadata">

**Author:** [@dafmdev](https://discourse.julialang.org/u/dafmdev)\
**Replies:** 20\
**Last updated:** [November 27, 2025, 9:08pm UTC](https://discourse.julialang.org/t/should-julia-use-mlir-in-the-future/110459 "2025-11-27T21:08:28Z")

</div>

I saw that MLIR technology is already driving a new programming language called MOJO with the ability to be very fast, make difficult-to-do optimizations and give instructions to many types of hardware such as CPU, GPU, …

---

## [Are modules intended to work as type parameters?](https://discourse.julialang.org/t/are-modules-intended-to-work-as-type-parameters/130267)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 2\
**Last updated:** [June 27, 2025, 3:45am UTC](https://discourse.julialang.org/t/are-modules-intended-to-work-as-type-parameters/130267 "2025-06-27T03:45:30Z")

</div>

Currently these are documented as valid type parameters: Both abstract and concrete types can be parameterized by other types. They can also be parameterized by symbols, by values of any type for which isbits returns t…

---

## [Regression in 1.12.\*? conflicting functions using libjulia](https://discourse.julialang.org/t/regression-in-1-12-conflicting-functions-using-libjulia/130257)

<div class="topic-metadata">

**Author:** [@gvanuxem](https://discourse.julialang.org/u/gvanuxem)\
**Replies:** 1\
**Last updated:** [June 26, 2025, 9:03pm UTC](https://discourse.julialang.org/t/regression-in-1-12-conflicting-functions-using-libjulia/130257 "2025-06-26T21:03:37Z")

</div>

Hello, I am trying Julia-1.12.\* and when I use a module which has conflicting function names it used in the past to show conflicting names. My solution was to use first the prior function and later package call them if …

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

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