<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/docs/design/coding-conventions.md, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2024-11-29T07:02:19+00:00</updated>
<entry>
<title>docs: Reduce typo count (#5671)</title>
<updated>2024-11-29T07:02:19+00:00</updated>
<author>
<name>Bruce Mitchener</name>
<email>bruce.mitchener@gmail.com</email>
</author>
<published>2024-11-29T07:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c3557978cf0184aaf75c27c309bc87e84fd6ab79'/>
<id>urn:sha1:c3557978cf0184aaf75c27c309bc87e84fd6ab79</id>
<content type='text'>
Co-authored-by: Ellie Hermaszewska &lt;ellieh@nvidia.com&gt;</content>
</entry>
<entry>
<title>mention code formatting in contribution guidelines (#5514)</title>
<updated>2024-11-11T18:19:43+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2024-11-11T18:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=98dab05e80a90ddf64c9d31420a3b49ec49e31d1'/>
<id>urn:sha1:98dab05e80a90ddf64c9d31420a3b49ec49e31d1</id>
<content type='text'>
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Swap the term StdLib with Core-Module or Standard-Module in documents (#5414)</title>
<updated>2024-10-26T04:12:37+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2024-10-26T04:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a508b264eda4bc3c99ba1f44eab1dec6e5ce06c0'/>
<id>urn:sha1:a508b264eda4bc3c99ba1f44eab1dec6e5ce06c0</id>
<content type='text'>
This PR is limited to documents.
All use of "Standard library" or "StdLib" are replaced with either "core module" or "standard modules", depending on the context.</content>
</entry>
<entry>
<title>Fix a few documentation typos (#5396)</title>
<updated>2024-10-24T03:34:49+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-10-24T03:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=fb50c032959d0f21579e8a6e1a0ab7141c7fbb97'/>
<id>urn:sha1:fb50c032959d0f21579e8a6e1a0ab7141c7fbb97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the coding convention document. (#4498)</title>
<updated>2024-06-28T03:08:53+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2024-06-28T03:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=fd32b1879c8a4de7e97a99be7e0e8093ade8b340'/>
<id>urn:sha1:fd32b1879c8a4de7e97a99be7e0e8093ade8b340</id>
<content type='text'>
Put space between control-flow and `(`. This is a default formatting
setting of Visual Studio 2019 and 2022. And we have been writing the
code in this style for a while.</content>
</entry>
<entry>
<title>Fix typos in the docs (#4322)</title>
<updated>2024-06-10T12:15:02+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-06-10T12:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0974463daf0982626cb2b8c8bb6f494f3e6c9e52'/>
<id>urn:sha1:0974463daf0982626cb2b8c8bb6f494f3e6c9e52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some small fixes with Windows/DX usage (#2797)</title>
<updated>2023-04-14T09:08:18+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2023-04-14T09:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4c9c8a7a4d9b97fec6041a562638fbea521533ed'/>
<id>urn:sha1:4c9c8a7a4d9b97fec6041a562638fbea521533ed</id>
<content type='text'>
* Correct case of windows.h includes

* Use Slang::SharedLibrary to load directx dlls

* s/max/std::max/

* Factor common OS code in calcHasApi

* Add DXIL test for compute/simple

* s/false/FALSE for calls to WinAPI functions

* Factor common OS code in gfxGetAdapters

* 2 missing headers

d3d12sdklayers for ID3DDebug

climits for UINT_MAX

* Define out unused function on Linux

* Only try to load Vulkan and CUDA on Windows or Linux

* simplify D3DUtil::getDxgiModule

* Remove WIN32_LEAN_AND_MEAN &amp;co from source files

Add a global define

* Set WIN32_LEAN_AND_MEAN &amp;friends in headers

Restore previous state also

* regenerate vs projects</content>
</entry>
<entry>
<title>Tweak coding conventions (#747)</title>
<updated>2018-12-10T17:13:20+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2018-12-10T17:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=32f57c30cfce1681f5fe617e4fe230e88eb7b840'/>
<id>urn:sha1:32f57c30cfce1681f5fe617e4fe230e88eb7b840</id>
<content type='text'>
After a lot of discussion, I'm backpedaling and making this document what the (main) conventions of the codebase *are* rather than trying to prescribe what I think they should be. In particular:

* Go back to `m_` for implementation-details member names, since that is the main convention in place for them

* Put the `k` prefix back on C-style `enum` types since that is how they are currently being defined.

My inclination is to just stick with what we have for now to avoid extended debates. Its a bit of an inconsistent mess, but its enough for getting work done.</content>
</entry>
<entry>
<title>Add more design documents (#742)</title>
<updated>2018-12-06T21:30:34+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2018-12-06T21:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b0c2423f00b910f2f4d5010e6a04114112e294fd'/>
<id>urn:sha1:b0c2423f00b910f2f4d5010e6a04114112e294fd</id>
<content type='text'>
* Add more design documents

This change adds a set of documents about the design/implementation of the Slang compiler intended for helping to onboard new contributors, explain some of the choices that go into the current implementation, and outline the broad strokes of some of our future feature goals.

As explained in the `README` for these docs, I don't expect them to be kept in sync with the code in the long run; there is no expectation that people making a PR for code changes also go and fix up these documents.
The purpose of these is to add a bit of a "historical record" of design choices and project goals to the project itself, so they can be browsed in a way that is more convenient than the issue tracker or source control history.

The "Coding Conventions" document is very much a first attempt, and I'm not 100% wedded to any of the decisions in there.
We haven't enforced consistent conventions so far, but the importance of having something in place will only grow with the number of contributors.

* Edits based on review

* Fix many typos (thanks @jsmall-nvidia)

* Change up some language in coding conventions based on discussions since when it was originally written. I'm still not 100% sure about some of the choices in there, but we need to get *something* established.
</content>
</entry>
</feed>
