Hacker Newsnew | past | comments | ask | show | jobs | submit | Encounter's commentslogin

From https://asahilinux.org/about/

> Apple allows booting unsigned/custom kernels on Apple Silicon Macs without a jailbreak! This isn’t a hack or an omission, but an actual feature that Apple built into these devices. That means that, unlike iOS devices, Apple does not intend to lock down what OS you can use on Macs (though they probably won’t help with the development).


Yes, it installs into a separate partition and you choose whether to boot into macOS or Linux.



WebGPU has a (mostly) standardized C API: https://github.com/webgpu-native/webgpu-headers


wgpu supports WebGPU: https://github.com/gfx-rs/wgpu :

> While WebGPU does not support any shading language other than WGSL, we will automatically convert your non-WGSL shaders if you're running on WebGPU.


That’s just for the shading language


The Rust wgpu project has an alternative C API which is identical (or at least closely matches, I haven't looked in detail at it yet) the official webgpu.h header. For instance all examples in here are written in C:

https://github.com/gfx-rs/wgpu-native/tree/trunk/examples

There's definitely also people using wgpu from Zig via the C bindings.


I found:

shlomnissan/sdl-wasm: https://github.com/shlomnissan/sdl-wasm :

> A simple example of compiling C/SDL to WebAssembly and binding it to an HTML5 canvas.

erik-larsen/emscripten-sdl2-ogles2: https://github.com/erik-larsen/emscripten-sdl2-ogles2 :

> C++/SDL2/OpenGLES2 samples running in the browser via Emscripten

IDK how much work there is to migrate these to SDL3?

Are there WASM compilation advantages to SDL3 vs SDL2?


As someone with diagnosed & medicated ADHD, it genuinely, truly affects my every day life. After medication, I remember thinking “oh, this is how normal people’s brains work”. I’ve been playing most of my life on hard mode. I won’t debate whether it’s over-diagnosed, but it’s 100% a real thing and it’s incredibly discouraging to see people dismiss it.




Think about how much worse PDF exploits would be if they did!


OpenGL still works on the M1 (Apple designed their own GL-over-Metal driver), albeit with the OpenGL version limitations from modern macOS in general. Vulkan works over MoltenVK.

Other than old games, I'm not sure why 64-bit only is an issue.

I've not hit any Docker-on-macOS issues with what I've used it for, at least.


Is MoltenVK usable right now? I was under the impression that it's a loooooooong ways behind DXVK in it's current state.


I've seen plenty of projects that use MoltenVK as a drop-in backend for macOS. It seems complete enough for general use, but I haven't used it directly so I'm not sure what's missing.


Metal is by far a much friendlier API than Vulkan. Its approach with opt-in complexity is arguably the correct one. (Ever tried writing a Vulkan "Hello triangle" from scratch?)

It's also gaining some nice features that are usable out of the gate, rather than waiting on Vulkan extension standardization and adoption. It simply makes the most sense for Apple.


> Metal is by far a much friendlier API than Vulkan

Sure, but that was hardly the point of Vulkan in the first place. The point is to have cross-platform 3D grahipcs, but since Apple never gave a shit about anything cross-platform, they chose to write their own stuff.

And if they actually did care, they could have modeled the same API as they have with Metal, but over Vulkan, so the engine is the same but the API is "much friendlier".

It simply makes the most business sense for Apple, but as is tradition, the whole software ecosystem is worse off because of their choices.


Well you can use Vulkan over Metal with MoltenVK, so that point is a bit moot.

Opinion time: WebGPU will become the standard graphics API to target for cross-platform. gfx-rs/wgpu already works over Vulkan/Metal/D3D12/D3D11/OpenGL/WebGL & WebGPU in browsers. Much better than simply Vulkan, unless performance is your primary sticking point.


First they have to sort out what that frankenstein merge of C++, HLSL and Rust named WGSL is supposed to look like.


How is the point of Apple pushing Metal instead of Vulkan when the change request submitted to Blender is not using the MoltenVK stuff you're talking about? If anything it proves my point


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: