tree: 4fe98fcdd10a5b4be1188ea15df796505ddd58d0 [path history] [tgz]
  1. testdata/
  2. .gitignore
  3. allocator.cc
  4. allocator.h
  5. BUILD.gn
  6. first_fit_reuse_allocator.cc
  7. first_fit_reuse_allocator.h
  8. first_fit_reuse_allocator_test.cc
  9. fixed_no_free_allocator.cc
  10. fixed_no_free_allocator.h
  11. fixed_no_free_allocator_test.cc
  12. memory_pool.h
  13. pointer_arithmetic.h
  14. README.md
  15. reuse_allocator_base.cc
  16. reuse_allocator_base.h
  17. reuse_allocator_benchmark.cc
  18. run_all_unittests.cc
nb/README.md

Nanobase

Nanobase is essentially a minified/lightweight version of Chromium‘s base library, though it does include utility classes that Chromium’s base does not.

Its usefulness is found in the fact that its only dependency is starboard, making it very portable and easy to include in projects that don‘t want to depend on Chromium’s base (which currently would require the Chromium repository to be available and that may not be desirable).

An example project that depends on nb is glimp, which was the project that initiated the creation of nb. We wanted glimp to be portable alongside Starboard, and so in order to enable that, we wanted to avoid a dependency on Chromium's base.