Click here to Skip to main content
15,892,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Building your own? Pin
CPallini13-Feb-20 23:16
mveCPallini13-Feb-20 23:16 
GeneralRe: Building your own? Pin
Sander Rossel13-Feb-20 23:38
professionalSander Rossel13-Feb-20 23:38 
GeneralRe: Building your own? Pin
k505413-Feb-20 23:47
mvek505413-Feb-20 23:47 
GeneralRe: Building your own? Pin
BillWoodruff14-Feb-20 0:35
professionalBillWoodruff14-Feb-20 0:35 
GeneralRe: Building your own? Pin
Mark_Wallace14-Feb-20 7:18
Mark_Wallace14-Feb-20 7:18 
AnswerRe: Building your own? Pin
lopatir13-Feb-20 23:36
lopatir13-Feb-20 23:36 
GeneralRe: Building your own? Pin
Sander Rossel13-Feb-20 23:41
professionalSander Rossel13-Feb-20 23:41 
GeneralRe: Building your own? Pin
kalberts14-Feb-20 2:29
kalberts14-Feb-20 2:29 
Nowadays, there are lots of naive peope cheering "Containers! Docker! Hallelujah!", believing that once you have put the stuff into a container, it is "build once, run anywhere!" Sure...! The interface between host and the running container is, at the functional level, reasonably simple; it is realistic to implment it on "any" architecture. But inbetween the host/container interactions, the container is on its own - together with the CPU, of course.

When Apple jumped from 68K to x86, they developed an emulator for running 68K code on the x86 that was surprisingly efficient. There is nothing like that in the Docker container. If the machine code inside the container is x86, the CPU better be x86, too! "Run anywhere, provided that you are on an x86" is sort of "You can have the T-Ford in any color you want, as long as you want it it black". Lots of Docker affectionados haven't realized that yet.

Obviously, the host may - outside the container - provide an emulated CPU by having, say, a PPC cpu interpret in software every x86 instruction code. You could hardly describe that as "lightweight" virtualization! And for it to be universally "run anywhere", every Docker host would have to be able to emulate any instruction set that might be found within a container.

I wonder if MS is working on containerization where the code inside consists of dotNet assemblies, compiled on-the-fly to the native code of the host. That could be (part of) a solution for truly build once, run everywhere. (The CLR sort of provides (parts of) this, but without the container protection.) I think that Docker containers will live for many years, but it is certainly not the last word in container technology. My guess is that the container/host interface in future techologies may include some JIT code generating, so that the container at startup (/JIT) deliver something like an assembly to host and get the native binary code back for execution in the containerized enviromment. That will probably be in a container framework different from today's Docker, though.
AnswerRe: Building your own? Pin
Daniel Pfeffer13-Feb-20 23:41
professionalDaniel Pfeffer13-Feb-20 23:41 
GeneralRe: Building your own? Pin
Sander Rossel13-Feb-20 23:44
professionalSander Rossel13-Feb-20 23:44 
GeneralRe: Building your own? Pin
BillWoodruff14-Feb-20 0:33
professionalBillWoodruff14-Feb-20 0:33 
GeneralRe: Building your own? Pin
Sander Rossel14-Feb-20 1:38
professionalSander Rossel14-Feb-20 1:38 
GeneralRe: Building your own? Pin
User 991608014-Feb-20 3:30
professionalUser 991608014-Feb-20 3:30 
GeneralRe: Building your own? Pin
BillWoodruff14-Feb-20 14:35
professionalBillWoodruff14-Feb-20 14:35 
GeneralRe: Building your own? Pin
W Balboos, GHB14-Feb-20 4:24
W Balboos, GHB14-Feb-20 4:24 
GeneralRe: Building your own? Pin
den2k8814-Feb-20 0:33
professionalden2k8814-Feb-20 0:33 
AnswerRe: Building your own? Pin
OriginalGriff13-Feb-20 23:45
mveOriginalGriff13-Feb-20 23:45 
GeneralRe: Building your own? Pin
CPallini13-Feb-20 23:50
mveCPallini13-Feb-20 23:50 
GeneralRe: Building your own? Pin
glennPattonWork314-Feb-20 0:31
professionalglennPattonWork314-Feb-20 0:31 
GeneralRe: Building your own? Pin
CPallini14-Feb-20 0:44
mveCPallini14-Feb-20 0:44 
GeneralRe: Building your own? Pin
glennPattonWork314-Feb-20 0:53
professionalglennPattonWork314-Feb-20 0:53 
GeneralRe: Building your own? Pin
CPallini14-Feb-20 0:59
mveCPallini14-Feb-20 0:59 
GeneralRe: Building your own? Pin
glennPattonWork314-Feb-20 1:15
professionalglennPattonWork314-Feb-20 1:15 
AnswerRe: Building your own? Pin
den2k8814-Feb-20 0:32
professionalden2k8814-Feb-20 0:32 
AnswerRe: Building your own? Pin
ZurdoDev14-Feb-20 0:55
professionalZurdoDev14-Feb-20 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.