Hi,
Worried by the growing size of freenet-ext, I had an idea : What
about moving the CPUID code to the installer? We would provide several
"extended libraries" for each supported OSes and CPU type.
Assets would be :
- less code in the node
- "very small" startup time improvement => It won't
auto-detect the cpu type using JNI at statup
- Smaller files to download => bandwidth usage friendly and
less time consuming
- We might compile dynamicly linked libraries insteed of
statical ones.
Caveats :
- why changing working things ?
- would mean that people won't be able to "move" their
freenet directory from one box to an other and expect it
to work on the first try.
- setting up a node without the help of the installer will be
harder as you'll have to choose/download/rename the right
file.
Some facts now :
current freenet-ext is 2.3M big : each library is 200K
uncompressed and we have 22 libraries for now.
current alpha-node is smaller than 800K.
Most of x86_32 optimizations are supported on both windows and linux.
We have a PowerPC lib for MacOS and a x86_64 lib. for linux.
Any feedback will be highly appreciated.
NextGen$