Merhaba:

ALT
---

SoftwareFreedom project is using 'alt' module name prefix and 'alt' namespace 
for ALL its projects.

C++
module name    alt.
namespace      alt::

PERL
package prefix alt
package name   alt::util

C
prefix name    alt_

SHELL
prefix name    alt_


IMPLEMENTATION
---

In effect we are using "two-level" naming hierarchy for ALL the code that we 
write.

eg.

C++ namespace
alt::hash
alt::hash::sha256
alt::types

C++ module name
alt.hash
alt.hash.sha256

PERL
alt::util
alt::hash::sha256

C
alt_hash_sha256

SHELL
alt_hash_sha256


IMPACT
---

- Legacy free approach.
- ALT implies ALTernative.
- SoftwareFreedom project coding standard.
- Contributor can expect the code layout to be as documented above.
- 'tmp' and 'test' are two scopes that are strongly associated with 'alt' 
namespace or package name.
- 'Demir' tool will enforce this at three places
   - module name     alt.module
   - directory name  alt.module
   - file name       alt.module.cc file name
                     alt.module_test.cc file
- single cache root node '/opt/mod'

Initial prototype exploration has been very encouraging.

SoftwareFreedom project goal is to write 'legacy-free' code that is baselined 
for 'glibc-linux-gcc' on x86_64 AMD64 (CPU, GPU and AI).


warm regards
Saifi.

Reply via email to