Page 1 of 1

Handler in another programming language

PostPosted: Wed Mar 01, 2017 11:58 am
by ThinkingMan
I am wondering if this is theoretically possible:
Code the gui browser component in C++, but then for the renderer use another language like GoLang

OR must the entire application be written in one language...

Would be neat to have a kickass C++ or Delphi GUI program, but then use your other favorite language for other parts of the program (sub processes ? and callbacks)

Re: Handler in another programming language

PostPosted: Wed Mar 01, 2017 12:14 pm
by magreenblatt
Anything is possible.

Re: Handler in another programming language

PostPosted: Wed Mar 01, 2017 12:38 pm
by ThinkingMan
Hahaha I've heard that one before...

I think only certain things are possible ;-)

http://wiki.c2.com/?AnythingIsNotPossible

But would there be any issues that you could see with using a GoLang or any language that can interface with the API as the renderer subprocess while the main cef application is C++

Seems like the best route may be the subprocess route - if it is a separate process, why would the C++ gui app ever care or know what language the subprocess was written in.

As I am a newbie to CEF, I do not know if this is a good idea (but in the spirit of Anything is possible: http://wiki.c2.com/?AnythingIsPossible )

Re: Handler in another programming language

PostPosted: Wed Mar 01, 2017 12:43 pm
by magreenblatt
Any limitations would be with the specific binding implementation or language runtime. There is no inherent limitation in the idea itself.

Re: Handler in another programming language

PostPosted: Thu Mar 02, 2017 3:46 am
by salvadordf
There are already several applications written in a different language than the language used in the CEF3 libraries.

Take a look at the wikipedia page about CEF3 :
https://en.wikipedia.org/wiki/Chromium_ ... _Framework