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

Build with Zig #6267

Open
sjomae opened this issue Apr 24, 2024 · 1 comment
Open

Build with Zig #6267

sjomae opened this issue Apr 24, 2024 · 1 comment
Labels
comp: build CMake build system enhancement

Comments

@sjomae
Copy link

sjomae commented Apr 24, 2024

This is music for the future, but might be already good for consideration, also when thinking about the solution for 'standalone` (meaning, distribution of SC in a custom made ready to share and install package #311).

Zig build system promises to make crossplatform building more easy and faster. This could potentially make it more easy to distribute SC on any platform and lower the barrier for users to get access to SC or derived systems like Tidal Cycles.

Zig has it's own package manager for dependencies. The company Uber is already using it for it's crossplatform compiling capabilities, but it's probably to early to make this as a dependency at the moment.

More info:

https://ziglang.org/

https://kristoff.it/blog/maintain-it-with-zig/

https://youtu.be/wFlyUzUVFhw?t=1776

@JordanHendersonMusic
Copy link
Contributor

Just thought I'd pop in some more info for when the point about zig dropping llvm inevitably comes up.

The gh issue:
ziglang/zig#16270

A comment from Andrew clarifying — probably the most important for this conversation.
ziglang/zig#16270 (comment)

@JordanHendersonMusic JordanHendersonMusic added the comp: build CMake build system label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: build CMake build system enhancement
Projects
None yet
Development

No branches or pull requests

2 participants