Click here to Skip to main content
15,887,328 members

Survey Results

Would you prefer to work in one programming language only, or many languages?

Survey period: 19 Aug 2013 to 26 Aug 2013

Suppose your favourite language was made available everywhere: it creates client apps, mobile apps, it powers web pages, does the database calls, handle UI layouts, or embedded development. Everything. And it was fast and efficient. Would you want just one language?

OptionVotes% 
Yes, I would prefer to do everything in the same language everywhere89144.13
No, I prefer to use the language that best suits the specific task1,02950.97
Undecided994.90



 
GeneralRe: I just see four main subjects: Pin
irneb20-Aug-13 21:26
irneb20-Aug-13 21:26 
GeneralRe: I just see four main subjects: Pin
vl220-Aug-13 21:34
vl220-Aug-13 21:34 
GeneralRe: I just see four main subjects: Pin
Alexandro Ramos Rodríguez21-Aug-13 4:07
Alexandro Ramos Rodríguez21-Aug-13 4:07 
GeneralRe: I just see four main subjects: Pin
vl221-Aug-13 11:01
vl221-Aug-13 11:01 
GeneralCompilers issue Pin
Alexandro Ramos Rodríguez19-Aug-13 7:25
Alexandro Ramos Rodríguez19-Aug-13 7:25 
GeneralRe: Compilers issue Pin
irneb20-Aug-13 0:32
irneb20-Aug-13 0:32 
GeneralRe: Compilers issue Pin
Alexandro Ramos Rodríguez20-Aug-13 8:53
Alexandro Ramos Rodríguez20-Aug-13 8:53 
GeneralRe: Compilers issue Pin
irneb20-Aug-13 19:40
irneb20-Aug-13 19:40 
It's mostly possible to do that sure. The issue is that some languages use certain concepts which don't fit well with a straight-forward translation.

One such example is GC. If you're writing in Python (or another lang which uses garbage collection), there's no way you can specify when which variable can be released from RAM. Thus the entire GC needs to be contained inside your executable binary, or you have to package a VM with it simply to run memory management. So not only is the file itself larger, it will require more RAM too.

It's one of the "tricks" used in naive Lisp compilers: They simply package the entire lisp engine inside the EXE file together with your actual program - i.e. it statically links the entire Lisp interpreter/VM with your code. Slightly better is the way ECL does it, by converting the LSP source to byte-codes which it then converts to C source and finally compiles - unfortunately it still needs to incorporate the GC code. Some of the commercial Lisps do compile directly to machine code (no such intermediate steps and no static linking), but I still see they leave the GC.
GeneralWhy not? Pin
S Houghtelin19-Aug-13 5:27
professionalS Houghtelin19-Aug-13 5:27 
GeneralRe: Why not? Pin
Colin Mullikin19-Aug-13 7:26
professionalColin Mullikin19-Aug-13 7:26 
GeneralRe: Why not? Pin
S Houghtelin19-Aug-13 7:31
professionalS Houghtelin19-Aug-13 7:31 
GeneralRe: Why not? Pin
PIEBALDconsult19-Aug-13 9:05
mvePIEBALDconsult19-Aug-13 9:05 
GeneralRe: Why not? Pin
irneb20-Aug-13 1:10
irneb20-Aug-13 1:10 
GeneralRe: Why not? Pin
S Houghtelin20-Aug-13 2:14
professionalS Houghtelin20-Aug-13 2:14 
GeneralRe: Why not? Pin
irneb20-Aug-13 4:11
irneb20-Aug-13 4:11 
GeneralRe: Why not? Pin
Super Lloyd20-Aug-13 15:03
Super Lloyd20-Aug-13 15:03 
GeneralHypothetical Situations Pin
Colin Mullikin19-Aug-13 3:41
professionalColin Mullikin19-Aug-13 3:41 
GeneralRe: Hypothetical Situations Pin
R. Giskard Reventlov19-Aug-13 5:21
R. Giskard Reventlov19-Aug-13 5:21 
GeneralRe: Hypothetical Situations Pin
PIEBALDconsult19-Aug-13 5:27
mvePIEBALDconsult19-Aug-13 5:27 
GeneralRe: Hypothetical Situations Pin
OriginalGriff19-Aug-13 5:21
mveOriginalGriff19-Aug-13 5:21 
GeneralRe: Hypothetical Situations Pin
Alexandro Ramos Rodríguez19-Aug-13 6:45
Alexandro Ramos Rodríguez19-Aug-13 6:45 
GeneralRe: Hypothetical Situations Pin
PIEBALDconsult19-Aug-13 5:24
mvePIEBALDconsult19-Aug-13 5:24 
GeneralRe: Hypothetical Situations Pin
irneb20-Aug-13 0:38
irneb20-Aug-13 0:38 
GeneralFun factor Pin
Nemanja Trifunovic19-Aug-13 2:26
Nemanja Trifunovic19-Aug-13 2:26 
GeneralRe: Fun factor Pin
Alexandro Ramos Rodríguez19-Aug-13 6:38
Alexandro Ramos Rodríguez19-Aug-13 6:38 

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.