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

Implement language support for compiled languages ( C / Go / Haxe / etc ) #142

Closed
Marak opened this issue Sep 25, 2015 · 5 comments
Closed

Comments

@Marak
Copy link
Collaborator

Marak commented Sep 25, 2015

There's no real reason why we can't also support languages which require a compile step.

Users would upload the static source code to hook.io and we would intelligently compile / cache / distribute the binary to our worker pool until the user changed it's source again.

It would be really neat to write microservices in C. All HTTP req data can be passed in via ARGV and STDOUT will pipe to HTTP response. Would make for some really fast microservices.

@joshgillies
Copy link
Contributor

👍

@Marak Marak mentioned this issue Oct 1, 2015
@pyhedgehog
Copy link

You can use ccache for speedup.

@rockymadden
Copy link

Would love to see Rust on this list 😄. Really excited for this one!

@Marak
Copy link
Collaborator Author

Marak commented Mar 16, 2016

@rockymadden - Could do perform any work to help get rust implemented? I've never used Rust. Adding new languages to hook.io should be easy!

Specifically, could you create a run-rust binary which is capable of mapping arguments and processing STDIN / STDOUT?

I've detailed the process of adding a new language a bit here

As a proof of concept, we could have the run-rust re-compile source code on every request ( until I implement a binary cache system ).

@Marak
Copy link
Collaborator Author

Marak commented Sep 30, 2016

Closing issue.

This is no longer applicable, as all core spawning logic has been moved to: https://github.com/stackvana/stack

If anyone is interested in adding additional language support, please file a new issue at: https://github.com/stackvana/stack/issues/new

Any changes to stack will propagate down-stream to hook.io

@Marak Marak closed this as completed Sep 30, 2016
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

4 participants