5 ms·
Llgo on Go 1.1
- brunoqc 13y agollgo is a compiler for Go, written in Go, and using the LLVM compiler infrastructure. llgo is a fledgling, and is being developed primarily as an educational exercise. It is not presently useful for real work. Progress will be reported at http://blog.awilkins.id.au. https://github.com/axw/llgo https://github.com/axw/llgo
- pepijndevos 13y agoThank you. Always briefly describe the thing you're writing about.
- Zarel 13y agoOr at least link to a description.
- axw 13y agoAuthor here. Fair enough. I wrote that post for a much smaller audience (namely, people already following the llgo project), and certainly didn't expect it to be posted to HN. You're right of course, I should always consider people unfamiliar with the project stumbling across my posts.
- james4k 13y agoPersonally, my hope is that we'll be able to target the browser through this effort via emscripten (asm.js) and PNaCl.
- jared314 13y agoThere is an earlier post about that. http://blog.awilkins.id.au/2012/12/go-in-browser-llgo-does-pnacl.html http://blog.awilkins.id.au/2012/12/go-in-browser-llgo-does-p...
- trentmb 13y agoI can't wait for my favorite web browser to be implemented in my favorite web browser to run on my favorite operating system...
- james4k 13y agoYeah.. well, native developers want to target the latest platforms, too. :(
- bluehex 13y agoWould this make embedding a go runtime in a C program possible, maybe even on iOS?
- axw 13y agoI haven't even thought about that to be honest, but there's not currently anything that would preclude embedding code generated by llgo in a C program. This might change in the future, with the introduction of goroutine scheduler and segmented stacks. I don't know the first thing about iOS development, so can't comment there.
- axaxs 13y agoI'd like to help test and even help code this thing. Axw, do you maintain any "does not work" or todo list?
- axw 13y agoThere's a wiki page on the GitHub repo: https://github.com/axw/llgo/wiki/Unimplemented-and-incomplete-features https://github.com/axw/llgo/wiki/Unimplemented-and-incomplet... If you'd like to work on a feature, please let us know on the llgo-dev group: https://groups.google.com/forum/?fromgroups#!forum/llgo-dev https://groups.google.com/forum/?fromgroups#!forum/llgo-dev Please be aware that this is still fairly rough around the edges, and I'm new to this game (compilers/language implementation, beyond toys). Thanks!