jemc has quit [Read error: Connection reset by peer]
aturley has joined #ponylang
nisanharamati has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
jemc has joined #ponylang
inara has quit [Quit: Leaving]
acarrico has quit [Ping timeout: 248 seconds]
inoas has quit [Quit: inoas]
acarrico has joined #ponylang
inara has joined #ponylang
aturley has quit [Quit: aturley]
acarrico has quit [Ping timeout: 256 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
acarrico has joined #ponylang
jemc has quit [Quit: WeeChat 2.0.1]
jemc has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
SenasOzys has quit [Remote host closed the connection]
khan has joined #ponylang
khan has quit [Quit: khan]
SenasOzys has joined #ponylang
jemc has quit [Quit: WeeChat 2.0.1]
jemc has joined #ponylang
khan has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
khan has quit [Client Quit]
khan has joined #ponylang
user10032 has joined #ponylang
SenasOzys has joined #ponylang
vaninwagen has joined #ponylang
jemc has quit [Quit: WeeChat 2.0.1]
user10032 has quit [Quit: Leaving]
inoas has joined #ponylang
Praetonus has joined #ponylang
aturley has joined #ponylang
inoas has quit [Ping timeout: 256 seconds]
inoas has joined #ponylang
inoas has quit [Client Quit]
SenasOzys has quit [Remote host closed the connection]
aturley has quit [Quit: aturley]
bimawa1 has joined #ponylang
bimawa has quit [Ping timeout: 260 seconds]
jemc has joined #ponylang
SenasOzys has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
vaninwagen has quit [Quit: WeeChat 2.1]
_andre has quit [Quit: leaving]
khan has quit [Client Quit]
khan has joined #ponylang
kempe has quit [Quit: WeeChat 1.8]
kempe has joined #ponylang
kempe has quit [Client Quit]
kempe has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
nisanharamati has quit []
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
Praetonus has quit [Quit: Leaving]
Schwarzbaer_ is now known as Schwarzbaer
<vassilvk>
jemc: A quick update. I managed to put together a cross-compilation Docker image where one can cross-compile to both Linux and Windows (x86_64).
<jemc>
very cool!
<vassilvk>
The image contains all the necessary libraries for linking to Windows PE/COFF executable.
<vassilvk>
It's still quite rough around the edges -- lots of hardcoded stuff, plus the image is HEAVY (at 2.6 GB!).
<vassilvk>
It's a spike solution at best, but I'm pretty happy to see it compile. Tested with "Hello World" and stdlib - all tests pass.
<jemc>
a windows PE/COFF is like roughly the equivalent of a unix static binary, right?
<vassilvk>
Correct
<jemc>
very cool
<vassilvk>
The approach I took is as follows: ponyc => llvm bitcode => llc (to specific target triple) => object file => lld (to specific target triple) => executable
<jemc>
is it public code already?
<SeanTAllen>
vassilvk: that is awesome.
<vassilvk>
The trick is to find out what parameters to pass to lld for a given target. Everything past ponyc is LLVM 6. Ponyc itself is still running on LLVM 3.9.x
<SeanTAllen>
vassilvk: when its ready to present, can you submit it to Last Week in Pony so more of the community learn about it?
<vassilvk>
Yes, that should be no problem.
<jemc>
I may be able to help you come up with ways to minify the docker image if I take a look
<vassilvk>
Thanks @jemc, I'll let you guys know when this is polished beyond the spike stage :)
<vassilvk>
Currently it is based on the "release" ponyc Docker image (which is xenial - not the smallest image out there) - all that can be rebased on alpine. Also, I'm sure I put in a lot of MSVC libs that are not used. I'm not yet cleaning up after "apt-get update" - there's lots of room to make the image smaller.
<jemc>
yeah
<vassilvk>
I have a cluster of ODROID-C2 (ARM) devices at home -- next up would be to cross-compile to ARMv8.
<vassilvk>
jemc: I just saw your question - not public yet. If everything goes by the plan, I should be able to poublish something this weekend or mid next week.