Turing.jl: Refactoring: move `trace/tarray.jl` and `taskcopy.jl` to `TuringLang/Libtask`

Created on 4 Sep 2018  路  1Comment  路  Source: TuringLang/Turing.jl

discussion refactoring

Most helpful comment

For code organisation purpose, I think we can

  • turn TuringLang:Libtask into a Julia package
  • move move trace/tarray.jl and trace/taskcopy.jl to TuringLang/Libtask
  • clean up code in trace/tarray.jl and taskcopy.jl
  • move related tests from Turing to Libtask
  • make Turing depend on Libtask (e.g. install Libtask via deps/build.jl)

This allows Libtask to be maintained as a separate package. This makes sense since these codes are not Turing specific and can be shared with other packages. Also, Libtask features can be tested in a simpler environment (no more complex Turing interactions), which will be a lot easier to debug and maintain.

@trappmartin @hessammehr @xukai92 what do you think?

>All comments

For code organisation purpose, I think we can

  • turn TuringLang:Libtask into a Julia package
  • move move trace/tarray.jl and trace/taskcopy.jl to TuringLang/Libtask
  • clean up code in trace/tarray.jl and taskcopy.jl
  • move related tests from Turing to Libtask
  • make Turing depend on Libtask (e.g. install Libtask via deps/build.jl)

This allows Libtask to be maintained as a separate package. This makes sense since these codes are not Turing specific and can be shared with other packages. Also, Libtask features can be tested in a simpler environment (no more complex Turing interactions), which will be a lot easier to debug and maintain.

@trappmartin @hessammehr @xukai92 what do you think?

Was this page helpful?
0 / 5 - 0 ratings