Hacker GitHub

← All repos

BeastyBlacksmith/ProtoStructs.jl

View on GitHub ↗ ★ 98 Julia

Easy prototyping of structs

6 mentions on Hacker News by 5 people: 0 stories, 6 comments · first 2021-05-26 · latest 2022-08-18

Mentions per year 6 mentions · busiest year 2022 (5)
20082026
  1. There is RedefStructs: https://juliahub.com/ui/Packages/RedefStructs/nrk8Q/0.1.2 and ProtoStructs: https://github.com/BeastyBlacksmith/ProtoStructs.jl I’ve never tried them, but they’re advertised as doing the job.
    comment by leephillips · 2022-08-18 · in Julia 1.8
  2. Yes and no. There are ways around that for development like https://github.com/BeastyBlacksmith/ProtoStructs.jl . But changing the definition of actual structs isn't very feasable because what happens with the structs that use the old…
    comment by borodi · 2022-08-18 · in Julia 1.8
  3. …About your issue, things you can do: - Put the struct inside another module. - Use this package: https://github.com/BeastyBlacksmith/ProtoStructs.jl . It gives you a simple @proto macro that you can prepend to the struct definition and…
    comment by amval · 2022-08-18 · in Julia 1.8
  4. There's ProtoStructs.jl https://github.com/BeastyBlacksmith/ProtoStructs.jl
    comment by UncleOxidant · 2022-02-14 · in Why We Use Julia, 10 Years Later
  5. > But the REPL lacks the ability to redefine structs on the go ProtoStructs.jl: https://github.com/BeastyBlacksmith/ProtoStructs.jl
    comment by UncleOxidant · 2022-02-14 · in Why We Use Julia, 10 Years Later
  6. …is an important limitation of Revise that I hope goes away. Until then, consider this work-around: https://github.com/BeastyBlacksmith/ProtoStructs.jl
    comment by gugagore · 2021-05-26 · in Julia 1.6 addresses latency issues