You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/2021/mach-engine-the-future-of-graphics-with-zig.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,15 @@ In the coming months, we'll begin to have truly cross-platform low-level graphic
16
16
17
17
## Mach engine
18
18
19
-
<imgclass="color-inverted"alt="Mach: Game engine & graphics toolkit for the future"src="https://user-images.githubusercontent.com/3173176/137651926-3734c3b2-4875-47de-b42f-0ece854756f7.png">
19
+
<imgclass="color-auto"alt="Mach: Game engine & graphics toolkit for the future"src="https://user-images.githubusercontent.com/3173176/137651926-3734c3b2-4875-47de-b42f-0ece854756f7.png">
20
20
21
21
I've been working on [Mach Engine](https://github.com/hexops/mach) for about 4 months now, although it as a project is many years in the making, and I believe in the next 4-6 months we'll have completion of the first key milestone: truly cross platform graphics and seamless cross compilation.
22
22
23
23
## Vision
24
24
25
25
Today, I share only the first milestone: Mach engine core. I've been working on this for around 1 year now, and we're close (maybe 4-6 months away) from completion:
26
26
27
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137649720-072ff7fe-323d-49c6-ae88-51344e04e3e5.png"><imgclass="color-inverted"alt="Zero fuss installation, out of the box cross compilation, and a truly cross-platform graphics API"src="https://user-images.githubusercontent.com/3173176/137649720-072ff7fe-323d-49c6-ae88-51344e04e3e5.png"></a>
27
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137649720-072ff7fe-323d-49c6-ae88-51344e04e3e5.png"><imgclass="color-auto"alt="Zero fuss installation, out of the box cross compilation, and a truly cross-platform graphics API"src="https://user-images.githubusercontent.com/3173176/137649720-072ff7fe-323d-49c6-ae88-51344e04e3e5.png"></a>
28
28
29
29
## Zero fuss installation & cross compilation
30
30
@@ -41,15 +41,15 @@ We're able to achieve this thanks to two things:
41
41
42
42
Imagine a low-level, little to no overhead graphics API that unifies DirectX, Metal, Vulkan, and OpenGL (if no others are available):
43
43
44
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137646296-72ba698e-c710-4daf-aa75-222f8d717d00.png"><imgclass="color-inverted"alt="Simple, low-level unified graphics API mapping to DirectX 12, Metal, Vulkan, and OpenGL"src="https://user-images.githubusercontent.com/3173176/137646296-72ba698e-c710-4daf-aa75-222f8d717d00.png"></a>
44
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137646296-72ba698e-c710-4daf-aa75-222f8d717d00.png"><imgclass="color-auto"alt="Simple, low-level unified graphics API mapping to DirectX 12, Metal, Vulkan, and OpenGL"src="https://user-images.githubusercontent.com/3173176/137646296-72ba698e-c710-4daf-aa75-222f8d717d00.png"></a>
45
45
46
46
_This isn't anything new:_ all modern engines provide this, Godot has been working towards this for _years_ (and still is), and there exist abstraction layers for Vulkan over most of these APIs as well.
47
47
48
48
### Vendor support
49
49
50
50
**An API is only as good as the momentum behind it.** What modern API can target the largest array of platforms with the most vendor backing?
51
51
52
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137647361-3340e33a-9b2f-4c0d-aba5-6bb99ffd1cd8.png"><imgclass="color-inverted"alt="Google to Vulkan, Microsoft to DirectX, Apple to Metal, AMD and NVidia to everything."src="https://user-images.githubusercontent.com/3173176/137647361-3340e33a-9b2f-4c0d-aba5-6bb99ffd1cd8.png"></a>
52
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137647361-3340e33a-9b2f-4c0d-aba5-6bb99ffd1cd8.png"><imgclass="color-auto"alt="Google to Vulkan, Microsoft to DirectX, Apple to Metal, AMD and NVidia to everything."src="https://user-images.githubusercontent.com/3173176/137647361-3340e33a-9b2f-4c0d-aba5-6bb99ffd1cd8.png"></a>
53
53
54
54
***Microsoft sees DirectX as the future, not Vulkan.** (DirectX 13 is coming by the end of 2022.)
55
55
***Apple sees Metal as the future, not Vulkan.** OpenGL and OpenCL are deprecated, and private legal arguments with Khoronos make it unlikely we'll ever see OpenGL or Vulkan on Apple hardware ever again.
@@ -58,7 +58,7 @@ _This isn't anything new:_ all modern engines provide this, Godot has been worki
58
58
59
59
### One API that Apple, Microsoft, and Google can all agree on
60
60
61
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137647342-abf2bde6-a8bb-4276-b072-95c279c5d92f.png"><imgclass="color-inverted"alt="Mozilla, Google, Microsoft, Apple, and Intel all to WebGPU"src="https://user-images.githubusercontent.com/3173176/137647342-abf2bde6-a8bb-4276-b072-95c279c5d92f.png"></a>
61
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137647342-abf2bde6-a8bb-4276-b072-95c279c5d92f.png"><imgclass="color-auto"alt="Mozilla, Google, Microsoft, Apple, and Intel all to WebGPU"src="https://user-images.githubusercontent.com/3173176/137647342-abf2bde6-a8bb-4276-b072-95c279c5d92f.png"></a>
62
62
63
63
Outside the bounds of traditional graphics APIs there exists an attempt to provide a unified API across all platforms, [WebGPU](https://en.wikipedia.org/wiki/WebGPU) (not to be confused with the much older _WebGL_).
64
64
@@ -68,7 +68,7 @@ The name _WebGPU_ might lead you to believe that this is only for browsers, and
68
68
69
69
### Apple & Google's role is what makes WebGPU unique, and why we chose it
70
70
71
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137648560-e15820d7-6427-4ebd-95bb-c7c9f026477a.png"><imgclass="color-inverted"alt="Khronos group out of the piture in the future"src="https://user-images.githubusercontent.com/3173176/137648560-e15820d7-6427-4ebd-95bb-c7c9f026477a.png"></a>
71
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137648560-e15820d7-6427-4ebd-95bb-c7c9f026477a.png"><imgclass="color-auto"alt="Khronos group out of the piture in the future"src="https://user-images.githubusercontent.com/3173176/137648560-e15820d7-6427-4ebd-95bb-c7c9f026477a.png"></a>
72
72
73
73
What is new about WebGPU in my view is the vendors playing key roles in its development, and the fact that it grew outside the Khronos Group.
74
74
@@ -121,7 +121,7 @@ Although abstraction layers over modern graphics APIs are nothing new - as Apple
121
121
122
122
Today, we have cross-compilation of GLFW on all desktop OSs working out of the box with nothing more than `zig` and `git`:
123
123
124
-
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137650099-cd370046-eb43-4fe4-a72a-f54ebe3153c1.png"><imgclass="color-inverted"alt="Cross compilation from Mac, Linux, and Windows to eachother on all major architectures."src="https://user-images.githubusercontent.com/3173176/137650099-cd370046-eb43-4fe4-a72a-f54ebe3153c1.png"></a>
124
+
<aclass="imglink"href="https://user-images.githubusercontent.com/3173176/137650099-cd370046-eb43-4fe4-a72a-f54ebe3153c1.png"><imgclass="color-auto"alt="Cross compilation from Mac, Linux, and Windows to eachother on all major architectures."src="https://user-images.githubusercontent.com/3173176/137650099-cd370046-eb43-4fe4-a72a-f54ebe3153c1.png"></a>
Copy file name to clipboardExpand all lines: content/2021/terrifying-parallels-between-tech-and-aerospace.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Software engineering is one of the most lucrative careers of our era. Most in ou
21
21
22
22
The sheer scale of money pouring into SV and other tech hubs worldwide is unfathomable even to many making six-figure salaries in tech, there is more money than there are good ideas-and it shows (looking at you, [Juicera](https://www.juicera.com/).)
## How the aviation industry eerily reflects the tech industry
27
27
@@ -33,11 +33,11 @@ This industry-wide push came about because the aerospace industry realized their
33
33
34
34
If you think Boeing’s 747 MAX disaster was the downfall of the aerospace industry, you need to think again. There are things you’re not going to find in the news that happened much earlier according to people that were there.
(Despite my mother’s internship being 30 years ago, she is still hesitant to publicly name the company involved and at her request I redacted the name.)
The stress my father’s job imposed upon him changed him (or rather, brought out another side of him.) Most of my memories with him involved verbal and heavily emotional fights, as well as arguments between him, myself, and family members. Most of the time I spent with him in public, he was making some poor customer service worker’s life a living hell (and he enjoyed it.)
43
43
@@ -51,7 +51,7 @@ When I look at the state of the tech industry today and see pushes for location-
Major economic forces have been pushing the idea that everyone should learn to code for many, many years now, [Gates and Zuckerberg were pushing the idea that every child should learn to code back in 2013](https://www.cnn.com/2013/02/27/tech/innovation/code-video-gates-zuckerberg/index.html) and likely long before that. (Awkward disclaimer, my day job is at a startup focused on this too)
57
57
@@ -69,7 +69,7 @@ We have a representation of what being a coder could look like in the future: th
69
69
70
70
The future of being a coder, I think, looks an awful lot like being a game developer looks like today.
Enter a behemoth organization and hope to achieve anything noteworthy among the swaths of so many other coders that your contributions are nearly worthless, or go to a smaller company because you are young, bubbly-eyed, and believe there is a family to be had there all while it being demanded you achieve unreasonable amounts of work with a high likelihood that the company fails in the end. You get to choose. You wish you could go at it alone, you have dreams and aspirations of doing just that, but you need to pay the bills somehow. Perhaps you’re just out of school, and so you manage Active Directory for a company instead.
75
75
@@ -79,15 +79,15 @@ Maybe you do have a truly good idea, but you don’t have access to investors an
79
79
80
80
The squashing of independent ideas and independent business models creates opportunities for monopolistic enterprises to effectively _own people_ and _own their success_ while divesting risk fully to individuals.
Once the plateau for any of these markets is reached (or if platforms realize that we’re not going to see a winner-take-all market for that area?), then profit extraction should begin and we will see middlemen shift to maximal extraction of taxes from their platform while producers only begin to realize how minute they have become. New platforms will appear, such as the YouTube competitors pushed by creators today, but they’ll mostly be in-vain attempts to regain some control of the customers they now realize they have no untaxed access to.
85
85
86
86
This approach of tech business is accelerating. When we hear “every company is becoming a tech company”, this is a core model being described and it’s not fundamentally different from the outsourcing of manufacturing jobs to third-world countries we did historically-the only difference is we’re seeing the outsourcing the production of _everything_ and instead of it being cheaper because we avoid safety regulations, it’s cheaper because individuals who are their own “companies” and are forced to assume all risk of producing new things or lose out on the market entirely. Reward must be divested to the platform they are beholden to.
87
87
88
88
## Does capitalism necessarily have to be bad for society?
At this point, you probably think I hold deeply anti-capitalistic views. I don’t, I hold more nuanced views than that. But I do despise the monopolistic tendencies of corporations. It’s the lack of distributed opportunity within a capitalist society that I believe is bad.
0 commit comments