Use a serialization library that is bidirectional between julia versions
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the current uses of Julia's standard-library Serialization and the compatibility requirements described in the issue. Compare JLD2.jl and BSON.jl against those requirements; the work is complete only once a library choice and an implementation scope have been agreed.
Written by the indexing model from the issue text.
Description
It would be nice to move away from the standard library Serialization, as it only guarantees that newer julia versions can read files written by older ones, and not the other way. Bi-directionality is needed.
Based on the recommendations in https://fluxml.ai/Flux.jl/stable/saving/, options are https://github.com/JuliaIO/JLD2.jl and https://github.com/JuliaIO/BSON.jl. Perhaps lightweightness should be a priority. On my system, in a temp environment, I get
julia> @time using JLD2
0.312673 seconds (316.65 k allocations: 18.135 MiB)
julia> @time using BSON
0.002721 seconds (3.12 k allocations: 288.133 KiB)
Also, BSON.jl has no dependencies, so I guess there is less that can go wrong there? It seems appropriate to use a minimal low-dependency library for serialization in the context of RemoteREPL, so I suggest BSON.jl. Is this a direction that can be agreed on?
- Dominant language
- Julia
- Stars
- 148
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaWeb/RemoteREPL.jl
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaWeb/RemoteREPL.jl#82 ·
-
good first issue
Difficulty 3/5 1-2 days Newbie friendliness 45/100
JuliaWeb/RemoteREPL.jl#80 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
JuliaWeb/RemoteREPL.jl#69 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaWeb/RemoteREPL.jl#67 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
JuliaWeb/RemoteREPL.jl#66 ·
All issues in JuliaWeb/RemoteREPL.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FluxML/Metalhead.jl#407 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
SciML/ModelingToolkit.jl#5371 ·
Maintainers usually reply within 2 days