Green-Software-Foundation / patterns

An online open-source database of software patterns reviewed and curated by the Green Software Foundation across a wide range of categories.
https://patterns.greensoftware.foundation/
Other
71 stars 29 forks source link

Create a design category for coding practices. #91

Open tmcclell opened 1 year ago

tmcclell commented 1 year ago

I'd like to submit some coding practices and it would be great to have this area for devs to submit good practices.

dubrie commented 1 year ago

Hi @tmcclell -- Does it make sense to use the programming-language tag for these? If you can provide some examples we can see where it makes sense to map in the existing tags or create new ones if needed.

dubrie commented 1 year ago
jawache commented 1 year ago

Spoke to people at Intel, this seems like it is hardware more than software, getting a list of other coding patterns which are more performant.

markus-gsf-seidl commented 1 year ago

Adding my 2ct, from recent experience: Coding patterns are far more complicated as they are highly compiler specific. The compiler is running some "pattern recognition" on the code, if it finds a specific pattern it might produce highly optimized code (for example using special processor features like AVX, ...) or not. This "pattern recognition" can easily thrown off, unfortunately.