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

Static Linking #80

Open
stugol opened this issue Apr 9, 2016 · 10 comments
Open

Static Linking #80

stugol opened this issue Apr 9, 2016 · 10 comments

Comments

@stugol
Copy link
Contributor

stugol commented Apr 9, 2016

[Placeholder issue to ensure that static compilation remains an active high-priority goal]

Crystal does not support static (no dependancies) compilation. Onyx needs to support this. Presumably (due to OS limitations) libc will continue to be dynamically dependant, but everything else must be statically linkable. In fact, I propose that static linking be the default mode!

In this day and age, there is no advantage to dynamic linking; and plenty of disadvantages.

@ozra
Copy link
Owner

ozra commented Apr 9, 2016

dev-build: default to dynamic, release-build: default to static. Much reasonable.

@ozra
Copy link
Owner

ozra commented Apr 22, 2016

I took the liberty to edit out "HIGH PRIORITY: " from title - prioritization is in Roadmap issue.

@ozra ozra changed the title HIGH-PRIORITY: Static Compilation Static Compilation Apr 22, 2016
@Sod-Almighty
Copy link

Sod-Almighty commented Oct 1, 2016

Continued lack of this feature is the single biggest reason why I have not yet written a single line of Onyx. Once this is solved, I will start actively using it.

@ozra
Copy link
Owner

ozra commented Oct 2, 2016

Yes, this is highly desirable! Effort must however go into actually shaping the language so that the loose ends are cut off and the specs stabilize to a predictably usable form (this and that are obviously still changing in rather profound ways). Spending time on architecture level compiler coding must unfortunately come later for me - I only have two hands. Help is highly appreciated! B-)

@Sod-Almighty
Copy link

I'm afraid I would be utterly useless working on the compiler. I can probably help with other stuff though, if there's a need for it. What needs doing besides the compiler?

@ozra
Copy link
Owner

ozra commented Oct 2, 2016

Well, documentation is an obvious candidate. I could focus on finishing the last "core" parts there, so the repo can go public. But first finish the type introspection. Then I'll go for braces after those two.

@Sod-Almighty
Copy link

What needs doing on the documentation? Are we starting from scratch, or tidying up an existing document?

Are we going for a language reference and a brief tutorial? A little bit like the Crystal doc page?

@Sod-Almighty
Copy link

I guess I could just use the Crystal docs as a starting point. What format are we after? A PDF? A bunch of HTML files in the repo? An actual website?

@ozra
Copy link
Owner

ozra commented Oct 6, 2016

Continued in #99

@ozra ozra changed the title Static Compilation Static Linking May 3, 2017
@ozra
Copy link
Owner

ozra commented May 3, 2017

Took the liberty of changing the title, since it's linking we're talking about. Static compilation brings the mind to constexpr-stuff for me ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants