Click here to Skip to main content
14,837,944 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.
 
GeneralRe: An idea I just had to get out there before it dies Pin
Greg Utas27-Jul-20 7:35
mvaGreg Utas27-Jul-20 7:35 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:38
mvahoney the codewitch27-Jul-20 7:38 
GeneralRe: An idea I just had to get out there before it dies Pin
Marc Clifton27-Jul-20 7:18
mvaMarc Clifton27-Jul-20 7:18 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:23
mvahoney the codewitch27-Jul-20 7:23 
QuestionRe: An idea I just had to get out there before it dies Pin
Eddy Vluggen27-Jul-20 7:47
professionalEddy Vluggen27-Jul-20 7:47 
AnswerRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:51
mvahoney the codewitch27-Jul-20 7:51 
GeneralRe: An idea I just had to get out there before it dies Pin
Member 1330167927-Jul-20 21:26
MemberMember 1330167927-Jul-20 21:26 
GeneralRe: An idea I just had to get out there before it dies Pin
NelsonGoncalves27-Jul-20 21:30
MemberNelsonGoncalves27-Jul-20 21:30 
I think it is great idea, because... I have also thought of it Big Grin | :-D
I don think it is useful for replacing message passing in general, but in specific cases where you don't know beforehand what types (e.g. structure and contents) of messages you will need.

An example is debugging, where you would need to query the state of the program and optionally change the value of some variables. Its probably easier to write a small program for the debugging actions you need, than to add support for all of the possible messages you think you might need in the future. Security wise, they are both risky, though.

Another example is to use the replace communication protocols. Instead of adapting an existing protocol to your needs, or worse creating your own, you can use the VM to implement a domain specific language (DSL) suitable for your needs. So instead of "byte zero is the header, byte two is type of message, bytes 2 to 10 are optional and if present ...." you could simply have "write this octet string to memory address X, set variable Z to 42, restart thread W".

I think SQL is a good example of what it could become of passing programs instead of messages. SQL has made it very easy to interact with databases, no matter the underlying implementation. But there also security dangers in using it (<obligatory "boby="" drop="" tables;"="" reference="">)
GeneralRe: An idea I just had to get out there before it dies Pin
AReady28-Jul-20 1:12
MemberAReady28-Jul-20 1:12 
GeneralRe: An idea I just had to get out there before it dies Pin
DerekT-P28-Jul-20 1:48
professionalDerekT-P28-Jul-20 1:48 
GeneralRe: An idea I just had to get out there before it dies Pin
DidiKunz28-Jul-20 3:10
MemberDidiKunz28-Jul-20 3:10 
GeneralRe: An idea I just had to get out there before it dies Pin
patbob28-Jul-20 5:33
Memberpatbob28-Jul-20 5:33 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch28-Jul-20 5:44
mvahoney the codewitch28-Jul-20 5:44 
GeneralRe: An idea I just had to get out there before it dies Pin
patbob28-Jul-20 5:53
Memberpatbob28-Jul-20 5:53 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch28-Jul-20 6:41
mvahoney the codewitch28-Jul-20 6:41 
GeneralRe: An idea I just had to get out there before it dies Pin
Dan Sutton28-Jul-20 5:45
MemberDan Sutton28-Jul-20 5:45 
GeneralRe: An idea I just had to get out there before it dies Pin
Sr_Dogmeat29-Jul-20 10:17
professionalSr_Dogmeat29-Jul-20 10:17 
GeneralRe: An idea I just had to get out there before it dies Pin
Mark Starr29-Jul-20 12:49
professionalMark Starr29-Jul-20 12:49 
GeneralThought of the Day Pin
OriginalGriff27-Jul-20 4:48
mveOriginalGriff27-Jul-20 4:48 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Jul-20 5:06
mveW Balboos, GHB27-Jul-20 5:06 
GeneralRe: Thought of the Day Pin
jeron127-Jul-20 5:47
Memberjeron127-Jul-20 5:47 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer27-Jul-20 6:37
professionalDaniel Pfeffer27-Jul-20 6:37 
GeneralMy wife and I have decided we don't want children. Pin
OriginalGriff27-Jul-20 4:15
mveOriginalGriff27-Jul-20 4:15 
GeneralRe: My wife and I have decided we don't want children. Pin
rnbergren27-Jul-20 4:17
Memberrnbergren27-Jul-20 4:17 
GeneralRe: My wife and I have decided we don't want children. Pin
musefan27-Jul-20 4:37
Membermusefan27-Jul-20 4:37 

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.