Live data from Hacker News

Build your own X: project-based programming tutorials

github.com

21–28 of 28 posts

Re: Build your own X: project-based programming tutorials

#21

Something that I've been trying to learn how to do, but haven't found any information on and that seems missing from this tutorial, is how to write a 3D game in Vulkan. There are many entries in here about using OpenGL but nothing in here, it seems, about Vulkan. This seems like a common pattern online. Does anyone have any recommendations for a tutorial that could also be contributed to the master list?

This tutorial seems to be what you're looking for: https://www.fasterthan.life/blog/2017/7/11/i-am-graphics-and...

Re: Build your own X: project-based programming tutorials

#22
post #2

Went into this thinking it was about the X Window System[1]. Pleasantly surprised! Lots of cool stuff here. [1] https://en.wikipedia.org/wiki/X_Window_System

I agree, it would have been such an unpleasant surprise to see another implementation of X-Windows! ;) https://medium.com/@donhopkins/the-x-windows-disaster-128d39...

On a tangent, the NSA put out a paper long long ago on X Windows security. (I don't think it was this on but it might have been: "Securing The X Window System With SELinux" [1]) Do you happen to know the one?

I'd also like to thank you for turning me on to NeWS et. al. ages ago in another forum. Blew my mind because at the time I only really knew about MS Windows and X. Cheers!

[1] https://www.nsa.gov/resources/everyone/digital-media-center/...

https://en.wikipedia.org/wiki/NeWS

Re: Build your own X: project-based programming tutorials

#23
post #21

Something that I've been trying to learn how to do, but haven't found any information on and that seems missing from this tutorial, is how to write a 3D game in Vulkan. There are many entries in here about using OpenGL but nothing in here, it seems, about Vulkan. This seems like a common pattern online. Does anyone have any recommendations for a tutorial that could also be contributed to the master list?

This tutorial seems to be what you're looking for: https://www.fasterthan.life/blog/2017/7/11/i-am-graphics-and...

Amazing tutorial! I'll be reading this over many times. Thanks!

Re: Build your own X: project-based programming tutorials

#24
post #2

Went into this thinking it was about the X Window System[1]. Pleasantly surprised! Lots of cool stuff here. [1] https://en.wikipedia.org/wiki/X_Window_System

I recall reading something from one of the Xorg maintainers saying, "There's maybe three people in the entire world who really understand how X works."

So that might go some ways to explaining why building your own isn't a walk in the park.

Re: Build your own X: project-based programming tutorials

#27
post #12

Earlier quoted context omitted.

I agree, it would have been such an unpleasant surprise to see another implementation of X-Windows! ;) https://medium.com/@donhopkins/the-x-windows-disaster-128d39...

Actually a less unwieldy implementation of X11 would be nice. Preferably in Go or Rust.

Why go _OR_ rust? Those are completely different languages with completely different goals and almost nothing in common.

Re: Build your own X: project-based programming tutorials

#28

I love this idea. I always, take a famous open source project and try to re-create or go through the source of it. Its very tough, but when you do so the learning is very immense. Thanks for the link.

Late comment but a good way to do this when you're digging through the source and look at the early commits to see where it started. I remember going through Linux 0.0.1 to boil down the essentials of the kernel for example.
Post reply on HN