-
Notifications
You must be signed in to change notification settings - Fork 14
Reducing compilation times & reducing dependency on parity repo #5
Comments
@0x7CFE is doing an amazing work on the ethcore refactoring in openethereum/parity-ethereum#7038 |
That work is great, will be happy to coordinate with @0x7CFE on strategy. ~~~Think it may still be safe to get started on~~~ Will hold for now on creating a new / splitting off unnecessary components from |
FYI, |
I think the real question is what we want to achieve, we have couple of goals, but with a completely different scopes and timelines. Main pain points currently: long compilation, large repo to fetch, no way to release to crates.io. Long term solution (perfect world)Solaris is using small crates referenced from Mid term solution (soonish)Solaris is using medium crates referenced from Parity repository or smaller repositories. - fast compilation speed, no need to download the whole Parity repo while building. Short term solution (something that we should aim for)Improving compilation time, but getting rid of unnecessary stuff in
|
@rphmeier, I did not realize this was a thing. Perhaps a new name entirely for the components we need would be better than a confusing modification of
@tomusdrw, compilation time was my main pain point. Will start working on stripping out the unnecessary parts of Since |
@tomusdrw is there something that comes to mind that would require little/medium work but should give us a big reduction in ethabi compilation time? |
ethcore
is at the heart of both Parity and Solaris. It is also the largest single dependency required by Solaris.This issue is to track discussion and strategy for minimizing
ethcore
into a manageable, modular crate. The goal of minimizing / splitting apartethcore
is to decrease compilation times, and enable other tools to select whichethcore
components they would like to use.After discussion with @tomusdrw and @kirushik, there are a few different strategies to pursue:
ethcore
--no-default
when building Solarisethcore
modules into sub-cratesethcore-light
with only necessary featuresThe above ideas are starting points, and subject to change. Personally, would prefer the last option of creating a new
ethcore-light
, having the long-term vision of replacing the currentethcore
with a sub-crate architecture.Refactoring such a critical piece of Parity must obviously be done with care, and starting a new
ethcore-light
greatly reduces the impact to / from other Parity components while it's under development.The text was updated successfully, but these errors were encountered: