Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming languages #5

Open
Soveu opened this issue Mar 11, 2021 · 4 comments
Open

Programming languages #5

Soveu opened this issue Mar 11, 2021 · 4 comments

Comments

@Soveu
Copy link
Member

Soveu commented Mar 11, 2021

Do we want to only include Rust (with some asm! snippets) or do we also want C/C++ or other languages?

@AbleTheAbove
Copy link
Member

I think as most/all of us are from the rust discord it would be easier on us if we focused on rust and asm at the moment and if there is need to expand we can do so!

@Evrey
Copy link

Evrey commented Mar 12, 2021

Yeah, we can prepare articles for tabs around code blocks, so new snippets in other proglangs can be added. But ideally we'd be just focussing on memory-mapped register addresses, hardware registers, offsets, all independent of actual code. Especially because many registers contain tightly packed bitfields, and most proglangs don't have these. (Arguably, Zig would be the better language for examples.)

@Stupremee
Copy link

I think it would be relatively easy and very helpful to provide examples in multiple languages. Zig, C, and Rust for example, and then have a small selector on every codeblock

@Evrey
Copy link

Evrey commented Mar 12, 2021

Btw., there should also be a strategy to tell our readers how to report mistakes in articles or provide additional info. Possibly how PhilOpp does it with his blog: Have a readily available issue per article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants