A Foray into Go Assembly Programming
blog.sgmansfield.com
A Foray into Go Assembly Programming
1–10 of 21 posts
Re: A Foray into Go Assembly Programming
#2Thank you for the time put in the post about this.
Re: A Foray into Go Assembly Programming
#3Any way of using a more normal assembler with a non-GNU Go compiler?
Re: A Foray into Go Assembly Programming
#4Wait, so the Go assembler allows generating invalid opcodes? Any way of using a more normal assembler with a non-GNU Go compiler?
For your second question: I don't believe there is a way to use a separate assembler.
Re: A Foray into Go Assembly Programming
#5Re: A Foray into Go Assembly Programming
#6FYI, blog layout breaks down completely when trying to zoom text on an iPad, making it impossible to read.
Re: A Foray into Go Assembly Programming
#7Spoiler: they're nearly to the point (maybe now they've achieved it fully) of autogenerating a new language backend from ISA documentation PDFs! Bring that up next time someone complains about Go not using LLVM.
Re: A Foray into Go Assembly Programming
#8FYI, blog layout breaks down completely when trying to zoom text on an iPad, making it impossible to read.
Thanks for letting me know, I'll see if I can fix it. If I could trouble you to do so, can you provide a screenshot?
http://instantshare.virtivia.com:27080/1eikl92n5jtyc.PNG - default view
http://instantshare.virtivia.com:27080/o1wn6nbthvuu.PNG - after zooming in unsuccessfully, OR just scrolling to the right
http://instantshare.virtivia.com:27080/eiw3z2u1n52h.PNG - fully zoomed out
http://instantshare.virtivia.com:27080/1jsmbx8km815h.PNG - the culprit causing this, a long URL which isn't being wrapped by your CSS rules
To be honest, the same issue happens on desktop browsers, it's just not as noticeable because the default zoom kinda matches what you'd expect. But you can still scroll to the side, in a desktop browser. See:
http://instantshare.virtivia.com:27080/b69zdjyzbvfo.png
I think the CSS fix can be something like this:
word-wrap: break-word;
http://instantshare.virtivia.com:27080/1l8rbeisu9a2a.pngHowever, different browsers behave differently™, so you may need to also add:
word-wrap: break-word;
white-space: pre-wrap;
To make it work in Firefox (but you might need to adjust other things, also play with word-break CSS property, and test in all browsers). I've dealt with this previously at https://github.com/shurcooL/play/issues/4 and other places that deal with displaying user generated content.Re: A Foray into Go Assembly Programming
#9Here's a good talk about the Go assembler backend: https://www.youtube.com/watch?v=KINIAgRpkDA Spoiler: they're nearly to the point (maybe now they've achieved it fully) of autogenerating a new language backend from ISA documentation PDFs! Bring that up next time someone complains about Go not using LLVM.
Re: A Foray into Go Assembly Programming
#10Disclosure: I'm the author of PeachPy