# Internals & Design

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

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

**Page:** 63

---

## [Problem with: Issue: MurmurHash3 has undefined behavior](https://discourse.julialang.org/t/problem-with-issue-murmurhash3-has-undefined-behavior/9807)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 27\
**Last updated:** [March 19, 2018, 6:06pm UTC](https://discourse.julialang.org/t/problem-with-issue-murmurhash3-has-undefined-behavior/9807 "2018-03-19T18:06:36Z")

</div>

@keno: This doesn’t make sense at all to me. Why would you want to use a function to copy bytes, when trying to deal with unaligned access (on only 1 platform! i.e. 32-bit ARM) in a function that normally just loads 6…

---

## [IOStream and Filename Use](https://discourse.julialang.org/t/iostream-and-filename-use/9703)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 18\
**Last updated:** [March 17, 2018, 3:38pm UTC](https://discourse.julialang.org/t/iostream-and-filename-use/9703 "2018-03-17T15:38:52Z")

</div>

would it make sense to be systematic in methods that take IOStream now also to define methods that allow filename use? many functions already do this, like write\* and read\*. others do not, like serialize and deseriali…

---

## [Search Functions With Strings and Regexes](https://discourse.julialang.org/t/search-functions-with-strings-and-regexes/9651)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 8:42am UTC](https://discourse.julialang.org/t/search-functions-with-strings-and-regexes/9651 "2018-03-12T08:42:27Z")

</div>

Not Important. Some functions, like search() work with plain strings or regex strings. Other functions, like match and contains work only with r, other functions like startswith work only with plain. All the functiona…

---

## [GC.@preserve macro equivalent for v0.6.2](https://discourse.julialang.org/t/gc-preserve-macro-equivalent-for-v0-6-2/9647)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 2\
**Last updated:** [March 11, 2018, 8:02pm UTC](https://discourse.julialang.org/t/gc-preserve-macro-equivalent-for-v0-6-2/9647 "2018-03-11T20:02:33Z")

</div>

I’ve been looking all over, and I can’t find any equivalent to the GC.@preserve macro that is in master. Do I just need to make some form of “no-op” macro to make things work on v0.6.2 (I don’t want to give up supportin…

---

## [Plans to move to LLVM 6.0?](https://discourse.julialang.org/t/plans-to-move-to-llvm-6-0/9605)

<div class="topic-metadata">

**Author:** [@Phil\_Tomson](https://discourse.julialang.org/u/Phil_Tomson)\
**Replies:** 3\
**Last updated:** [March 9, 2018, 9:13pm UTC](https://discourse.julialang.org/t/plans-to-move-to-llvm-6-0/9605 "2018-03-09T21:13:16Z")

</div>

Now that LLVM 6.0 is released, are there plans to move Julia to LLVM 6.0?

---

## [Types truncated in v0.6.2 but not in v0.7?](https://discourse.julialang.org/t/types-truncated-in-v0-6-2-but-not-in-v0-7/9541)

<div class="topic-metadata">

**Author:** [@jamii](https://discourse.julialang.org/u/jamii)\
**Replies:** 3\
**Last updated:** [March 6, 2018, 6:56pm UTC](https://discourse.julialang.org/t/types-truncated-in-v0-6-2-but-not-in-v0-7/9541 "2018-03-06T18:56:11Z")

</div>

I’m playing around with using type specialization to turn interpreters into compilers. I ran into this roadblock with the types being truncated when they get too deep, even if they are actual concrete types present in th…

---

## [Query Language extension to Julia](https://discourse.julialang.org/t/query-language-extension-to-julia/9429)

<div class="topic-metadata">

**Author:** [@PythonQL](https://discourse.julialang.org/u/PythonQL)\
**Replies:** 7\
**Last updated:** [March 6, 2018, 10:45am UTC](https://discourse.julialang.org/t/query-language-extension-to-julia/9429 "2018-03-06T10:45:52Z")

</div>

Hello Julia people! I want to ask you if you would like to develop a query language extension to Julia? We have done PythonQL (www.pythonql.org), however the Python community is not too keen on pushing it through. Als…

---

## [Reference String Based on Instance?](https://discourse.julialang.org/t/reference-string-based-on-instance/9368)

<div class="topic-metadata">

**Author:** [@RandomString123](https://discourse.julialang.org/u/RandomString123)\
**Replies:** 5\
**Last updated:** [March 6, 2018, 2:36am UTC](https://discourse.julialang.org/t/reference-string-based-on-instance/9368 "2018-03-06T02:36:44Z")

</div>

I was looking over the TextParse package and I was surprised to find custom code in this file https://github.com/JuliaComputing/TextParse.jl/blob/master/src/util.jl and function nonallocating\_setindex! that keeps a list …

---

## [Previously tested code is already covered](https://discourse.julialang.org/t/previously-tested-code-is-already-covered/9514)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 8\
**Last updated:** [March 5, 2018, 6:48pm UTC](https://discourse.julialang.org/t/previously-tested-code-is-already-covered/9514 "2018-03-05T18:48:13Z")

</div>

Say I wrote a function: f(x::Float64) = sin(x) + 2 In terms of CI and test coverage, the code of this function has already been covered elsewhere (in Base). Shouldn’t it be possible for the CI process to “discover” tha…

---

## [Other CI/testing services like travis-Ci](https://discourse.julialang.org/t/other-ci-testing-services-like-travis-ci/9484)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 3\
**Last updated:** [March 5, 2018, 9:48am UTC](https://discourse.julialang.org/t/other-ci-testing-services-like-travis-ci/9484 "2018-03-05T09:48:25Z")

</div>

(trying to) Maintaining a package with some downstream dependents i get often issues with ‘doesn’t build here’ or ‘doesn’t test here’ and ‘here’ usually is a OS configuration/version that i don’t have locally available o…

---

## [Parsing of :](https://discourse.julialang.org/t/parsing-of/9463)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 7:07am UTC](https://discourse.julialang.org/t/parsing-of/9463 "2018-03-03T07:07:53Z")

</div>

Is this handling of : by Julia parser intentional? julia\> x\[: a\] ERROR: ArgumentError: invalid index: a Stacktrace: \[1\] getindex(::Array{Int64,1}, ::Symbol) at .\\abstractarray.jl:883 julia\> x\[: \] ERROR: …

---

## [AbstractChar (and #26286)](https://discourse.julialang.org/t/abstractchar-and-26286/9435)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 2\
**Last updated:** [March 3, 2018, 12:06am UTC](https://discourse.julialang.org/t/abstractchar-and-26286/9435 "2018-03-03T00:06:07Z")

</div>

https://github.com/JuliaLang/julia/pull/26286#issuecomment-369771199 @stevengj you said that you didn’t understand the need for CodePoint. Take a look at the README and the code where I define CodePoint, it is used thr…

---

## [Pipe closing](https://discourse.julialang.org/t/pipe-closing/9397)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [February 28, 2018, 11:24pm UTC](https://discourse.julialang.org/t/pipe-closing/9397 "2018-02-28T23:24:49Z")

</div>

Consider the 0.6 code: pin = Base.Pipe() ... Base.close\_pipe\_sync(pin.out) This does not work in 0.7: one must pass in pin.out.handle, appropriately converted to either WindowsRawSocket or RawFD. The dependence on the …

---

## [Some experiments with SuiteSparse](https://discourse.julialang.org/t/some-experiments-with-suitesparse/9380)

<div class="topic-metadata">

**Author:** [@CodeLenz](https://discourse.julialang.org/u/CodeLenz)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 11:01pm UTC](https://discourse.julialang.org/t/some-experiments-with-suitesparse/9380 "2018-02-27T23:01:20Z")

</div>

Hi. I would like to share some experiences regarding some modifications on SuiteSparse and its Julia interface. As a disclaimer, I state that I only tested the modifications in a linux machine, with fedora 27, gcc and …

---

## [Compatibility vs Cleaner Slate (Julia 0.7 versions)](https://discourse.julialang.org/t/compatibility-vs-cleaner-slate-julia-0-7-versions/9349)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 4\
**Last updated:** [February 27, 2018, 3:59pm UTC](https://discourse.julialang.org/t/compatibility-vs-cleaner-slate-julia-0-7-versions/9349 "2018-02-27T15:59:34Z")

</div>

I wanted to gather some thoughts on whether projects should develop Julia 0.7 versions of their packages rather than attempt to Compat the development. Many languages do so when they go through a major version upgrade (e…

---

## [Array{T}(initialization,...) syntax](https://discourse.julialang.org/t/array-t-initialization-syntax/9298)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 8\
**Last updated:** [February 26, 2018, 3:55pm UTC](https://discourse.julialang.org/t/array-t-initialization-syntax/9298 "2018-02-26T15:55:20Z")

</div>

Hello, could someone talk about what the future plans are for this syntax in 0.7? It seems there is a very long discussion about it on github, but I don’t have time to dig through hundreds of posts. It would be convenie…

---

## [Tab completion for umlauts, and some musings about unicode characters](https://discourse.julialang.org/t/tab-completion-for-umlauts-and-some-musings-about-unicode-characters/9324)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 6\
**Last updated:** [February 26, 2018, 6:42am UTC](https://discourse.julialang.org/t/tab-completion-for-umlauts-and-some-musings-about-unicode-characters/9324 "2018-02-26T06:42:23Z")

</div>

I’ve found umlauts (ä, ö, ü, etc) to be missing from the tab completions in the REPL, and the associated editor plugins. Other accented Latin characters are available, e.g. \\aa =\> å or \\o =\> ø. The need for umlauts is mo…

---

## [Suggestion: move DataFrames, plotting into standard distribution](https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 45\
**Last updated:** [February 21, 2018, 3:31am UTC](https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115 "2018-02-21T03:31:00Z")

</div>

Dear Development Team—I am not an expert user. I am a professor of finance and economics, teaching medium sophisticated statistics-related analysis. R is our go-to package, and I hate it. I love a lot of what I see in…

---

## [Reliable large integers in C without copyleft](https://discourse.julialang.org/t/reliable-large-integers-in-c-without-copyleft/9202)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 1\
**Last updated:** [February 20, 2018, 2:01pm UTC](https://discourse.julialang.org/t/reliable-large-integers-in-c-without-copyleft/9202 "2018-02-20T14:01:02Z")

</div>

fyi

---

## [Findfirst() with Dict for which nothing is a valid key](https://discourse.julialang.org/t/findfirst-with-dict-for-which-nothing-is-a-valid-key/9141)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 11:17am UTC](https://discourse.julialang.org/t/findfirst-with-dict-for-which-nothing-is-a-valid-key/9141 "2018-02-18T11:17:01Z")

</div>

Well, it does have the slight problem: d=Dict(); d\[1\]=1; d\[nothing\]=2; d #Dict{Any,Any} with 2 entries: # nothing =\> 2 # 1 =\> 1 @show findfirst(equalto(0), d) #findfirst(equalto(0), d) = nothing @show findfirs…

---

## [Changes to LaTeX \\ shortcuts in REPL](https://discourse.julialang.org/t/changes-to-latex-shortcuts-in-repl/9110)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 9:58am UTC](https://discourse.julialang.org/t/changes-to-latex-shortcuts-in-repl/9110 "2018-02-18T09:58:06Z")

</div>

For my LaTeX\_Entities package, I build up the list of LaTeX entity names to use as shortcuts (which I use in my StringLiterals package) programmatically, from 3 sources, Index of /2003/entities/2007xml, https://raw.gith…

---

## [Alternate approach to O(log(N)) integer range hashing](https://discourse.julialang.org/t/alternate-approach-to-o-log-n-integer-range-hashing/9065)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 7\
**Last updated:** [February 16, 2018, 6:00pm UTC](https://discourse.julialang.org/t/alternate-approach-to-o-log-n-integer-range-hashing/9065 "2018-02-16T18:00:52Z")

</div>

The current approach to array hashing and O(1) range hashing is somewhat brittle and complex. The following might be a clean approach for array hashing that should allow O(log(N)) range hashing for integer ranges. Firs…

---

## [Infinite loop after linking against julia.so](https://discourse.julialang.org/t/infinite-loop-after-linking-against-julia-so/9088)

<div class="topic-metadata">

**Author:** [@Arnaldur\_Bjarnason](https://discourse.julialang.org/u/Arnaldur_Bjarnason)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 5:56pm UTC](https://discourse.julialang.org/t/infinite-loop-after-linking-against-julia-so/9088 "2018-02-15T17:56:49Z")

</div>

I have been working on updating the node.js embedded julia library node-julia so that it works with 0.6 and more recent versions of node.js, the last supported versions were 0.5 and 5.x respectively. There are some cave…

---

## [Build trouble on Ubuntu 17.10](https://discourse.julialang.org/t/build-trouble-on-ubuntu-17-10/9076)

<div class="topic-metadata">

**Author:** [@preda](https://discourse.julialang.org/u/preda)\
**Replies:** 5\
**Last updated:** [February 15, 2018, 3:19pm UTC](https://discourse.julialang.org/t/build-trouble-on-ubuntu-17-10/9076 "2018-02-15T15:19:54Z")

</div>

From fresh checked-out master source, “make” produces: test\_potrs.o: In function \_\_ctest\_potrf\_bug\_695\_run': test\_potrs.c:(.text+0xc4): undefined reference to zpotrs\_’ collect2: error: ld returned 1 exit status Makefi…

---

## [Macro & tuple parsing](https://discourse.julialang.org/t/macro-tuple-parsing/9078)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 2:08pm UTC](https://discourse.julialang.org/t/macro-tuple-parsing/9078 "2018-02-15T14:08:30Z")

</div>

I expect that this came up before, but I could not find an issue, so I am asking here. Consider macro greedy(expr) esc(expr) end f(x, y) = x + y then julia\> f(1, 2) 3 julia\> f(@greedy 1, 2) ERROR: MethodError: n…

---

## [Breakage due to changes in \`String\` slicing in v0.7](https://discourse.julialang.org/t/breakage-due-to-changes-in-string-slicing-in-v0-7/8976)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 35\
**Last updated:** [February 12, 2018, 6:27pm UTC](https://discourse.julialang.org/t/breakage-due-to-changes-in-string-slicing-in-v0-7/8976 "2018-02-12T18:27:05Z")

</div>

Previously, str\[i:j\] worked, if j was the index of the last codeunit in an encoded codepoint (UTF-8, in the case of String), however you need to do str\[i:thisind(str,j)\] to make it work, which, besides complicating a lot…

---

## [@test\_warn doesn't work with @warn in 0.7](https://discourse.julialang.org/t/test-warn-doesnt-work-with-warn-in-0-7/9001)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 2\
**Last updated:** [February 12, 2018, 3:28pm UTC](https://discourse.julialang.org/t/test-warn-doesnt-work-with-warn-in-0-7/9001 "2018-02-12T15:28:22Z")

</div>

I’m trying to make a package work on 0.7 but the unit test is failing like this… (I converted warn to @warn per suggestion from the deprecation warnings.) julia\> foo() = @warn("hello") foo (generic function with 1 meth…

---

## [Why does SparseArrays have mul!(α, A, B, β, C)?](https://discourse.julialang.org/t/why-does-sparsearrays-have-mul-a-b-c/8940)

<div class="topic-metadata">

**Author:** [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Replies:** 2\
**Last updated:** [February 11, 2018, 10:28pm UTC](https://discourse.julialang.org/t/why-does-sparsearrays-have-mul-a-b-c/8940 "2018-02-11T22:28:47Z")

</div>

What’s the reason that SparseArrays.jl has a mul!(α, A, B, β, C) function but this type signature isn’t overloaded in LinearAlgebra.jl?

---

## [Base.addprocs() affects other software](https://discourse.julialang.org/t/base-addprocs-affects-other-software/8923)

<div class="topic-metadata">

**Author:** [@mvhulten](https://discourse.julialang.org/u/mvhulten)\
**Replies:** 5\
**Last updated:** [February 9, 2018, 2:41pm UTC](https://discourse.julialang.org/t/base-addprocs-affects-other-software/8923 "2018-02-09T14:41:37Z")

</div>

I tried this don’t do this at home (well, maybe you should try this at home instead of at some place where others would not appreciate this) command on my laptop with 4 processors: addprocs(80) This affected several th…

---

## [Array hashing is complicated](https://discourse.julialang.org/t/array-hashing-is-complicated/8567)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 41\
**Last updated:** [February 8, 2018, 10:19pm UTC](https://discourse.julialang.org/t/array-hashing-is-complicated/8567 "2018-02-08T22:19:02Z")

</div>

Moderator’s note: this post was a response split off from Moving BigFloat to stdlib? - #9 I have a feeling that this is a case of putting the cart before the horse. That PR seems to be a complex way of trying to solve…

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

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