fuzion icon indicating copy to clipboard operation
fuzion copied to clipboard

what to move to modules from base lib?

Open michaellilltokiwa opened this issue 1 year ago • 2 comments

Things that are potentially better moved to separate modules:

  • pipes
  • bitset
  • container.sorted_array
  • container.hash_map
  • container.Mutable_Linked_List
  • container.mutable_tree_map
  • container.ps_map
  • container.ps_set
  • num.fraction
  • num.complex
  • composition
  • oneway_monad, state, handles etc.

@tokiwa-software/developers Your opinions?

michaellilltokiwa avatar Apr 15 '24 07:04 michaellilltokiwa

I think the base module could still grow quite a bit, the module files are designed to be accessible efficiently even if large parts of the code are not used. I would like to see basic arithmetic, basic ADTs, threads and synchronization as part of the base lib. What I would split off are more complex functionalities, maybe network, security, graphics, json, xml, database, etc.

fridis avatar Apr 15 '24 10:04 fridis

I think the primitives for doing networking etc. the rely on intrinsics should still be in base-lib. Other stuff that builds on top of this can be moved to modules.

michaellilltokiwa avatar Apr 15 '24 12:04 michaellilltokiwa