5 ms·
no - they first mentioned plans for cross platform go-style single binary compilation at connect (one of the videos here I believe: https://channel9.msdn.com/Ev
by math 11y ago
no - they first mentioned plans for cross platform go-style single binary compilation at connect (one of the videos here I believe: https://channel9.msdn.com/Events/Visual-Studio/Connect-event-2015/ https://channel9.msdn.com/Events/Visual-Studio/Connect-event...) and I'm pretty sure they've subsequently talked about it in more detail in one of the community standups.
- mintplant 11y agoWhat's the difference between a "go-style" binary and any other statically-linked binary?
- pjmlp 11y agoNone, but apparently many seem to only ever seen static linked binaries in Go. So many write "go-style" as if it was something that was just invented by the Go team. So is the knowledge in our industry.
- iheartmemcache 11y agoNow now, there are plenty of people in our industry who would cringe at even the term "go-style" as a description for statically linking libs in, though most of them have long since left HN by now. Finally got around to reading that PARC/Cedar doc you linked out a while back, last weekend. Interesting stuff. Thanks again.
- pjmlp 11y agoGlad you liked it.
- rayiner 11y agoI imagine even grognards would describe many things as C/UNIX-style that actually have their roots in earlier systems.
- qwertyuiop924 11y agoJust ask pjlmp about it. He seems to still be bitter that the lispm and wirth's stuff lost to C and unix.
- qwertyuiop924 11y agoEDIT: pjmlp. I don't make a habit of getting people's usernames wrong, but that one's hard to read.
- pjmlp 11y agoNo problem. :)
- math 11y agoI wrote go-like because I think of C#/.NET and go as somewhat comparable and I'm not aware of any other language in a similar class that produces statically-linked binaries. However I'm pretty ignorant, so would not be surprised if there are many ... examples?
- pjmlp 11y agoAny programming language that has AOT compilation to native code among its implementation choices. There are plenty to choose from, but if you want a list: PL/I, Algol, PL/M, Quick Basic, Turbo Basic, Quick Pascal, Turbo Pascal, C, C++, Ada, Eiffel, Haskell, Objective-C, OCaml, Delphi, Oberon, Oberon-2, Component Pascal, Mesa, Modula-2, Modula-2+, Modula-3,...
- qwertyuiop924 11y agoDo all of those support static linking with the default tooling? (That is to say, not just hypothetical support, but actual support) Jeez.
- pjmlp 11y agoOf course, once upon a time static linking was the only way. It is dynamic linking that is hard to implement, not the other way around.
- qwertyuiop924 11y agoI KNOW that. I just wanted to know if the native compilers for the languages you mentioned supported static compilation either through a switch or by default, or if it's something that somebody else would have to write.
- pjmlp 11y agoInitially by default, many of them are older than OSes with dynamic linking support. The ones with compilers that also support dynamic linking, either via a switch or via explicit dynamic modules.
- nolok 11y agoA lot of today's developer have never done it with another language before and so knows it as "the thing that go does".