Zig Building Apps For Windows - What to expect

  Рет қаралды 876

Joseph Montanez

Joseph Montanez

Күн бұрын

Cross platform project - github.com/jos...

Пікірлер: 4
@joseph-montanez
@joseph-montanez 7 күн бұрын
Minor correction with GNU vs MSVC C ABIs you can make calls into Microsoft dlls for things like encryption, but you cannot link against when compiling it if you are using GNU, instead you'd load the DLL dynamically (std.DynLib.open), and hand rolling your own Zig wrapper to make calls, losing some safety. This is specifically an issue with Clang GNU on Windows. MingW GNU can link to Windows libraries, but Zig uses LLVM thus Clang i.e `zig cc`.
@EightSixx
@EightSixx 7 күн бұрын
You tried raylib?
@joseph-montanez
@joseph-montanez 7 күн бұрын
Gah, I left out game development! Raylib-Zig has a powershell script for windows to setup everything. However there is a problem with Windows 11 on Arm. Windows does not support OpenGL on Windows 11 for ARM64, the OpenGL drivers (dlls) are x64/x86. So I cannot compile Raylib and thus Raylib Zig out of the box for ARM64, well... at all. There are MESA OpenGL drivers I was trying to setup as that has ARM64 versions, but I was running out of steam. On x86_64, or just x64 all this just works and no issues. I can even compile to WASM (given the limitations around allocators). If I wanted to do "native" game development in Zig on Windows 11 on Arm64, I need an directx support, so Zig SDL2/3, BGFX, Mach Engine should work. Vulkan would be an option for a true Arm64 windows PC i.e Snapdragon PC's, but VMWare Fusion does not support Vulkan. That said, Zig in game development is the good part. I've been doing all this crap with PHP because I want to make a game engine in Zig and hook in PHP as the scripting engine. I had a version working in C++ with PHP which ran everywhere (iOS, Android, Mac/Linux/Window) except WASM/Web, using BGFX as the backend.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 46 М.
Zig Update On ESP32-C6 - More Wrong ;_;
12:08
Joseph Montanez
Рет қаралды 132
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
What's new in WinUI and Windows App SDK 1.6
25:17
dotnet
Рет қаралды 3,2 М.
I hated Zig's build system when I first started learning Zig
8:03
Code With Cypert
Рет қаралды 4,8 М.
Gamedev in Zig is actually pretty good...
16:28
Coding with Sphere
Рет қаралды 26 М.
Why Applications Are Operating-System Specific
13:09
Core Dumped
Рет қаралды 168 М.
Why Ghostty is written in Zig (not Rust or Go)
3:42
Changelog
Рет қаралды 54 М.
The Windows Source Code Revealed: Task Manager (E01)
27:11
Dave's Garage
Рет қаралды 459 М.
The File Explorer Replacement - The Files App for Windows!
11:33
Productive Tech
Рет қаралды 38 М.
Another Day, Another Zig Rewrite
9:14
Code With Cypert
Рет қаралды 4,2 М.
Integrating C Libraries Into Zig - What To Expect
23:13
Joseph Montanez
Рет қаралды 579
НЕ ДАМ ЕЁ В ОБИДУ😡 #shorts
0:24
Паша Осадчий
Рет қаралды 1,6 МЛН
When the PHONE CASE can be your BEST FRIEND! #shorts
0:33
One More
Рет қаралды 18 МЛН
три кошака и ростелеком
0:26
Мистер Денала
Рет қаралды 2,4 МЛН
ТЕЛЕФОН МЕНЯЕТ ЦВЕТ😅 #upx
0:34
RanF
Рет қаралды 639 М.
Таким раствором работать одно удовольствие
1:00
Профессия созидатели
Рет қаралды 954 М.
В Европе заставят Apple сделать в айфонах USB Type-C
0:18
Короче, новости
Рет қаралды 1,1 МЛН